-
Notifications
You must be signed in to change notification settings - Fork 1
/
.xsession
31 lines (29 loc) · 1.16 KB
/
.xsession
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
27
28
29
30
31
#!/bin/sh
[ -r /etc/profile ] && source /etc/profile
export PATH=$PATH:~/.nix-profile/bin:~/bin
# This can help with java GUI programs.
export _JAVA_AWT_WM_NONREPARENTING=1
xkbcomp -I$HOME/.xkb ~/.xkb/keymap/neo2qwerty $DISPLAY
# Reverse buttons
xmodmap -e "pointer = 3 2 1"
# fake this to make xdg-open work
# export DE=gnome
eval $(gpg-agent --daemon)
eval $(ssh-agent)
export EDITOR=emacsclient
# Without this there will be error messages with git.
unset GNOME_KEYRING_CONTROL
trayer --edge top --align right --SetDockType true --expand true --width 10 --transparent true --tint 0x000000 --height 20 & # --SetPartialStrut false
#~/bin/private_startup
urxvt &
#nm-applet &
#terminator -x selfspy &
keynav &
# Disable touchpad on Thinkpad (from https://github.com/soleblaze/dotfiles/blob/master/xconfigs/xinitrc)
touchpad=$(xinput | grep "SynPS/2 Synaptics TouchPad" | sed 's/.*id=\([0-9]*\).*/\1/')
xinput --disable "$touchpad"
xhost +local:
urxvt -title container-start -e container-start &
systemctl --user import-environment SSH_AUTH_SOCK # For backup service.
systemctl --user import-environment PATH # For backup service. A manually set env would probably be better.
xmonad