about summary refs log tree commit diff
path: root/configs/.xsessionrc
diff options
context:
space:
mode:
Diffstat (limited to 'configs/.xsessionrc')
-rw-r--r--configs/.xsessionrc22
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/.xsessionrc b/configs/.xsessionrc
new file mode 100644
index 000000000000..2c266af491fc
--- /dev/null
+++ b/configs/.xsessionrc
@@ -0,0 +1,22 @@
+#!/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
+
+# `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