about summary refs log tree commit diff stats
path: root/config/X11/xprofile
diff options
context:
space:
mode:
Diffstat (limited to 'config/X11/xprofile')
-rw-r--r--config/X11/xprofile18
1 files changed, 12 insertions, 6 deletions
diff --git a/config/X11/xprofile b/config/X11/xprofile
index eb89ed0..058f55b 100644
--- a/config/X11/xprofile
+++ b/config/X11/xprofile
@@ -2,25 +2,31 @@
 . $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'
+kbsetup
 ## 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 &
+# setup xnotify
+export XNOTIFY_FIFO="$HOME_CACHE/xnotify$DISPLAY.fifo"
+rm -f $XNOTIFY_FIFO
+mkfifo $XNOTIFY_FIFO
+xnotify 0<>$XNOTIFY_FIFO &
+# start tiramisu
+tiramisu -j | jq --raw-output --unbuffered '.summary + "\t" + .body' > $XNOTIFY_FIFO &
+# status bar
+bar.sh &
 # mouse vanishes when typing
 xbanish &
 # activate mpd scrobbler
 mpdas -c $HOME_ETC/mpdasrc &
-# status bar
-bar.sh &
 # remind user of important tasks
 bother &
+# cleanup tabbed
+rm $HOME_CACHE/catgirl/tabbed-catgirl.xid