]> git.rmz.io Git - dotfiles.git/blobdiff - xinit/xprofile
xinit: use xss-lock and refactor xprofile into separate files
[dotfiles.git] / xinit / xprofile
diff --git a/xinit/xprofile b/xinit/xprofile
new file mode 100644 (file)
index 0000000..e67b840
--- /dev/null
@@ -0,0 +1,29 @@
+#!/usr/bin/env bash
+
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/autocomplete-ALL-the-things
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/font-size
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls
+URXVT_PERL_LIB=$URXVT_PERL_LIB:$HOME/src/dotfiles/urxvt/perls/deprecated
+export URXVT_PERL_LIB
+
+urxvtd -q -o &
+
+start-pulseaudio-x11
+compton --config ~/.config/compton.conf &
+unclutter --timeout 1 &
+xcape -e "Control_L=Escape;Control_R=Escape"
+
+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 neomutt && urxvtc -name mutt    -icon ~/src/dotfiles/icons/internet-mail.png -e neomutt
+
+qutebrowser &
+
+rc_dir="$XDG_CONFIG_HOME/xinit/xprofile.d"
+if [[ -d "$rc_dir" ]] ; then
+    for f in "$rc_dir"/?*.sh ; do
+        [ -x "$f" ] && source "$f"
+    done
+    unset f
+fi
+unset rc_dir