]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
zsh: use pinentry-curses when connected over ssh
[dotfiles.git] / xprofile
index 095207ce6c95fe31e22fcebb35c8428f1b2e1505..48d231bebe34500cab029b70d9b7ac8d8c884113 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,5 +1,11 @@
+start-pulseaudio-x11
 compton -b --config ~/.config/compton.conf
-xautolock -time 10 -locker "i3lock -n -c 000000" -detectsleep &
-xmodmap ~/.Xmodmap
-xbindkeys
+xautolock -detectsleep \
+          -notify  600 -notifier "xset dpms force off" \
+          -time     20 -locker   "i3lock -nc 000000" \
+          -killtime 70 -killer   "systemctl suspend" &
+xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
+unclutter --timeout 1 &
+[[ -f "$XDG_CONFIG_HOME/xbindkeys/$(hostname)" ]] && xbindkeys --file $XDG_CONFIG_HOME/xbindkeys/$(hostname)
+xcape -e "Control_L=Escape;Control_R=Escape"
 urxvtd -q -f -o