about summary refs log tree commit diff stats
path: root/config/X11/xprofile
blob: eb89ed0e003b1456db509e7f86952dbfde82ba28 (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
. $HOME/etc/shrc
# set caps to escape when pressed and super when held
# also sets dvorak programmer layout
setxkbmap -option caps:super -layout us -variant dvp && xcape -e 'Super_L=Escape'
## detect if laptop has other display connected, kills builtin if so
#[ $(xrandr -q|grep -cE '^(DP|VGA|HDMI)-[[:digit:]] connected') -gt 0 ] && monitor
# disables the beeper
xset b off
# increases kbd repeat on hold
xset r rate 300 50
# enables x colorscheme
xrdb -load $HOME_ETC/X11/xresources

# set background
xbg &
# notification daemon
dunst &
# mouse vanishes when typing
xbanish &
# activate mpd scrobbler
mpdas -c $HOME_ETC/mpdasrc &
# status bar
bar.sh &
# remind user of important tasks
bother &