-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxsession
executable file
·64 lines (47 loc) · 1.34 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#!/bin/sh
if [ -z "$__run_with_own_shell" ]; then
__run_with_own_shell=1 exec "$SHELL" "$0" "$@"
fi
PATH=$HOME/bin:$PATH
HOSTNAME=$(hostname)
case "$HOSTNAME" in
temenos)
xrandr --output DP-2 --rotate left
xmodmap ~/.Xmodmap.modelm
;;
tjur)
xrandr --newmode "1280x1024x60" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync
xrandr --addmode VGA-1 1280x1024x60
xrandr --output VGA-1 --mode 1280x1024x60 --rotate left
#xrandr --output VGA-1 --mode 1280x1024x60
;;
quelaag)
xrandr --output eDP-1 --mode 1360x768
;;
esac
if [ $(uname) = DragonFly -o $(uname) = FreeBSD ]; then
setxkbmap -layout dvorak,apl -option "ctrl:nocaps,compose:ralt,grp:menu_toggle"
eval $(ssh-agent)
fi
xinput set-prop 'SynPS/2 Synaptics TouchPad' 'Device Enabled' 0
xrdb .Xdefaults
#arbtt-capture &
xwrits breaktime=3 +clock +quota after=5 +finger &
redshift -l 45.5:-73.56 &
## -grab for xmonad
unclutter -grab -keystroke &
#xautolock -locker ~/src/mood-tracker/interrogator.tcl -time 10 &
## ibus interacts badly with compose key in emacs or something
XMODIFIERS=@im=none emacs &
if [ -z "${XMODIFIERS+x}" ]; then
export GTK_IM_MODULE='uim'
export QT_IM_MODULE='uim'
uim-xim &
export XMODIFIERS='@im=uim'
fi
if which stterm; then
stterm -f Inconsolata-18 &
else
st -f Inconsolata-18 &
fi
exec dwm