]> git.rmz.io Git - dotfiles.git/blobdiff - xprofile
vim: disable last_loc and MyAutoChecktime autocmds in nvim
[dotfiles.git] / xprofile
index 976785e7d469deebf88cb0920ca7a4382d1ebef7..97580b90db6132cd96fa1f8dccb734d56caf3ece 100644 (file)
--- a/xprofile
+++ b/xprofile
@@ -1,25 +1,10 @@
-#!/usr/bin/env bash
+#!/bin/sh
 
-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
+userprofile_d=$XDG_CONFIG_HOME/xprofile.d
 
-urxvtd -q -o &
-start-pulseaudio-x11
-compton --config ~/.config/compton.conf &
-xautolock -detectsleep \
-          -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)
-xkbcomp -I$HOME/.config/xkb $HOME/.config/xkb/$(hostname).xkb $DISPLAY
-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 &
+if [ -d "$userprofile_d" ] ; then
+    for f in $userprofile_d/?*.sh ; do
+        [ -f "$f" ] && source "$f"
+    done
+    unset f
+fi