X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=dwmrc;h=aeebe9a26518290289d8cda0987242b3dcb8f6db;hb=596b0134fd4b1877814ed816ad19bdba1d16bd69;hp=3bcf522294c1401745e1d15337c9339a5b109318;hpb=f01b70cccbb4ad7ce3e8e28fcb55be47deb7fff1;p=smckown%2Fdotfiles.git diff --git a/dwmrc b/dwmrc index 3bcf522..aeebe9a 100755 --- a/dwmrc +++ b/dwmrc @@ -16,7 +16,7 @@ xrdb -merge ~/.Xresources pactl set-sink-volume $(pactl info | grep "Default Sink:" | awk '{ print $3}') '30%' # Default LCD panel brightness -xbacklight -set 50 +xbacklight -set 15 # Set the X background xsetroot -solid black @@ -27,21 +27,20 @@ dispcfg # Screen saver. DPMS standby -> suspend -> off in seconds # xss-lock calls i3lock on no X activity (DPMS standby) xset dpms 300 600 1200 -pgrep -x xss-lock || xss-lock -- i3lock --dpms & +(pgrep -x xss-lock || exec xss-lock -- i3lock --dpms ) & -# Applets, etc -pgrep -x xbindkeys || xbindkeys & -pgrep -x dunst || dunst & -pgrep -x nm-applet || nm-applet & -pgrep -x xfce4-power-manager || xfce4-power-manager & -pgrep -x pidgin || pidgin & -pgrep dwm-i3status || dwm-i3status & +# Turn off touchpad (later use a toggle) +type synclient 2>/dev/null && synclient TouchpadOff=1 -# Get ssh-add out of the way. The ssh-askpass-fullscreen pkg provides a bit -# nicer ssh-askpass than the default X11 version. -SSH_ASKPASS=/usr/bin/ssh-askpass ssh-add & +# Applets, etc +(pgrep -x xbindkeys || exec xbindkeys ) & +(pgrep -x dunst || exec dunst ) & +(pgrep -x nm-applet || exec nm-applet ) & +(pgrep -x xfce4-power-manager || exec xfce4-power-manager ) & +(pgrep -x pidgin || exec pidgin ) & +(pgrep dwm-i3status || exec dwm-i3status ) & # DWM has bindings for screen captures that expects ~/screenshots/ to exist. mkdir -p ~/screenshots -exec dwm.custom +exec dwm-custom