diff options
author | David Runge <dave@sleepmap.de> | 2018-01-23 00:19:40 +0100 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2018-01-23 00:19:40 +0100 |
commit | 7c59d64cf51bafe1114429b329b7a5fac719cf32 (patch) | |
tree | d2cf573ebe829b79e143c80fbd672ff9547e3b6a | |
parent | a657dd355c4a997c33f0ab3101b7181a7ae03d13 (diff) | |
download | dotfiles-7c59d64cf51bafe1114429b329b7a5fac719cf32.tar.gz dotfiles-7c59d64cf51bafe1114429b329b7a5fac719cf32.tar.bz2 dotfiles-7c59d64cf51bafe1114429b329b7a5fac719cf32.tar.xz dotfiles-7c59d64cf51bafe1114429b329b7a5fac719cf32.zip |
.xprofile: Removing all unneded scripts and calls. Xressources is not used and will be removed.
Compton and conky are started by qtile for better timing.
-rw-r--r-- | .xprofile | 29 |
1 files changed, 3 insertions, 26 deletions
@@ -5,18 +5,10 @@ if [[ -f ~/.Xmodmap ]]; then /usr/bin/xmodmap ~/.Xmodmap & fi -# use .Xresources -if [[ -f ~/.Xresources ]];then - /usr/bin/xrdb ~/.Xresources & -fi - # set X settings if [ -x /usr/bin/xset ]; then # disable bell xset -b - # disable screensaver and dpms - xset s off - xset dpms 0 0 0 fi # start lxpolkit to have polkit authentication @@ -29,24 +21,9 @@ if [ -x "$HOME/bin/setup_screens" ]; then $HOME/bin/setup_screens & fi -# start xautolock -if [ -x /usr/bin/xautolock -a -x /usr/bin/i3lock ]; then - /usr/bin/xautolock -time 10 \ - -corners "0-00" \ - -killtime 10 \ - -killer "/usr/bin/xset dpms force off" \ - -locker "/usr/bin/i3lock -n -e -c 000000 -f" & -fi - -# start compton -if [ -x /usr/bin/compton -a ! -a /sys/kernel/realtime ]; then - /usr/bin/compton -d "$DISPLAY" -CGb & -fi - -# start conky -if [ -x /usr/bin/conky ]; then - /usr/bin/conky -X "$DISPLAY" -c .config/conky/$(hostname)-network.conf & - /usr/bin/conky -X "$DISPLAY" -c .config/conky/$(hostname)-general.conf & +# start automatic lock based on xssstate and i3lock +if [ -x "$HOME/bin/xorg_autolock" ]; then + $HOME/bin/xorg_autolock & fi # start redshift |