]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
mutt: macro to open youtube mails in mpv
[dotfiles.git] / xprofile
index 405ba3b6beaf76019043a8110b38e203cf77e583..ba632e7e200255e26d9c009d0f76ef147abdc097 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,10 +1,20 @@
+#!/usr/bin/env bash
+
 start-pulseaudio-x11
-compton -b --config ~/.config/compton.conf
+compton --config ~/.config/compton.conf &
 xautolock -detectsleep \
-          -notify  300 -notifier "xset dpms force off" \
-          -time     10 -locker   "i3lock -nc 000000" \
-          -killtime 90 -killer   "systemctl suspend" &
-xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
-xbindkeys
+          -notify  600 -notifier "xset dpms force off" \
+          -time     20 -locker   "i3lock -nc 000000" \
+          -killtime 70 -killer   "systemctl suspend" &
+unclutter --timeout 1 &
+[[ -f "$XDG_CONFIG_HOME/xbindkeys/$(hostname)" ]] && xbindkeys --file $XDG_CONFIG_HOME/xbindkeys/$(hostname)
 xcape -e "Control_L=Escape;Control_R=Escape"
+xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
+
 urxvtd -q -f -o
+hash mopidy  && urxvtc -name mopidy  -icon ~/src/dotfiles/icons/bmp.png           -e ncmpcpp -p 6601
+hash ncmpcpp && urxvtc -name ncmpcpp -icon ~/src/dotfiles/icons/bmp.png           -e ncmpcpp
+hash weechat && urxvtc -name weechat -icon ~/src/dotfiles/icons/im-irc.png        -e weechat
+hash mutt    && urxvtc -name mutt    -icon ~/src/dotfiles/icons/internet-mail.png -e mutt
+
+qutebrowser &