diff options
author | William Carroll <wpcarro@gmail.com> | 2019-10-09T11·13+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2019-12-24T15·21+0000 |
commit | 6b456c1b7a4f6899f063a6e65355af51901d9c7a (patch) | |
tree | cfc70d74818ae9fabdbbfb0cf16cce092e4c1a09 /configs/shared/.xsessionrc.shared | |
parent | a7c72adb2ebec1e497fc040eaf3551d564d61a5b (diff) |
Massive configuration overhaul
Currently paying the price of months of non-diligent git usage. Here's what has changed. - Theming support in Gvcci and wpgtk - Dropping support for i3 - Supporting EXWM - Many Elisp modules - Collapsed redundant directories in ./configs
Diffstat (limited to 'configs/shared/.xsessionrc.shared')
-rw-r--r-- | configs/shared/.xsessionrc.shared | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/configs/shared/.xsessionrc.shared b/configs/shared/.xsessionrc.shared new file mode 100644 index 000000000000..ed12786be986 --- /dev/null +++ b/configs/shared/.xsessionrc.shared @@ -0,0 +1,52 @@ +#!/bin/sh + +# Might be unnecessary... +. ~/.profile + +export DESKTOP_SESSION=cinnamon # gnome for trusty. + +# NOTE: This may break your compose key. +# See http://g/i3-users/YBexXGbik7E for more details. +# NOTE: IM_MODULE is an "Input Method" module, which I believe affects the way +# keyboard events are processed. `xim` is "X Input Method"; other options +# include: `ibus`, `fcitx`, but I'm unsure what features each offers. +# export GTK_IM_MODULE=xim + +# Desktop background color. +xsetroot -solid "#333333" + +# Set fallback cursor. +xsetroot -cursor_name left_ptr + +# Set KBDs. +xmodmap -e 'remove Lock = Caps_Lock' +xmodmap -e 'keysym Caps_Lock = Escape' + +# set key repeat preferences +# NOTE: This is now being handled with my keyboard.el module in Emacs. +# xset r rate 250 60 + +# start tmux with a few commonly used sessions +# TODO: consider moving this else like ~/.profile, so it doesn't depend on X. +# This might be better for SSH. +tmux new -d -s main + +# Start the Emacs server +# TODO: Consider starting this with `systemctl --user enable emacs.service` +emacs --daemon + +# 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 & + +# Startup Emacs (and EXWM). +exec dbus-launch --exit-with-session emacs |