about summary refs log tree commit diff
path: root/configs/shared/.xsessionrc.shared
blob: 6f933be5a65afda9e53ffa9eb36e4a5b483bc87d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/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 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). This is built by calling `make install` from within
# ~/dotfiles/emacs.
dbus-launch --exit-with-session wpcarros-emacs