xinitrc (607B) - raw


      1 /home/oscar/.local/bin/configure-monitors
      2 xrdb ~/.config/Xresources
      3 xwallpaper --zoom "${XDG_DATA_HOME:-$HOME/.local/share}/dwm/wallpaper.png" &
      4 xautolock -detectsleep -corners 0-00 -time 5 \
      5     -locker "slock" \
      6     -notify 30 \
      7     -notifier "notify-send -u critical -t 10000 'Locking screen in 30 seconds'" &
      8 # pulseaudio --start --exit-idle-time=-1
      9 dunst &
     10 setxkbmap -option 'caps:super' us altgr-intl &    # use caps as super
     11 xcape -e 'Super_L=Escape' &         # tap caps for escape (hold down for super)
     12 xsetroot -name " $(date +"%a %d %b, %H:%M")" &
     13 dwmblocks &
     14 nm-applet &
     15 
     16 exec dwm
     17 
     18 # vim: ft=sh