tvl-depot/configs/shared/.xsessionrc.shared
William Carroll b6b8611f69 Prefer keynav daemonize
Instead of `keynav &`.
2020-01-25 18:36:24 +00:00

31 lines
697 B
Bash

#!/bin/sh
# Might be unnecessary...
. ~/.profile
export DESKTOP_SESSION=cinnamon # gnome for trusty.
# Desktop background color.
xsetroot -solid "#333333"
# Set fallback cursor.
xsetroot -cursor_name left_ptr
# Start ssh-agent
eval "$(ssh-agent -s)"
# TODO: Prefer `systemctl start docker.service`
dockerd &
# start compton for shadows, transparency, fading, etc.
# TODO: Consider starting this with `systemctl --user enable compton.service`
compton &
# `unclutter` hide the cursor in when it is inactive
unclutter &
# Control X's pointer with the keyboard. Activate by pressing <C-;>
keynav daemonize
# Startup Emacs (and EXWM).
exec dbus-launch --exit-with-session emacs --debug-init