xprofile

   1 exec 1>&2
   2 
   3 xset m 1 1 &
   4 xinput set-prop \
   5 'pointer:Logitech MX Master 2S' \
   6 'libinput Accel Speed' -0.72
   7 imwheel &
   8 
   9 sxhkd &
  10 setxkbmap us,ru -option \
  11 grp:caps_toggle,grp_led:caps &
  12 
  13 xset -dpms &
  14 xset s off &
  15 redshift -r &
  16 
  17 wall -R &
  18 xrdb -merge <<X
  19 *background: #000000
  20 *foreground: #eeeeee
  21 *color8:  #888888
  22 *color12: #ffffff
  23 
  24 background_rgba: #000000aa
  25 background_argb: #aa000000
  26 
  27 Sxiv.font: Terminus-9
  28 rofi.font: Liberation Sans 11
  29 rofi.cycle: false
  30 X
  31 
  32 polybar $DESKTOP_SESSION &
  33 compton --config ~/.config/compton/$DESKTOP_SESSION &
  34 
  35 case $DESKTOP_SESSION in
  36     *wm|i3|awesome|qtile) ;;
  37     *) return;;
  38 esac
  39 
  40 xfce4-volumed &
  41 xfce4-volumed-pulse &
  42 xautolock -time 60 -locker 'systemctl suspend' &
  43 
  44 while true; do
  45     background='#000000'
  46     foreground='#eeeeee'
  47     color12='#ffffff'
  48     source ~/.cache/wal/colors.sh
  49     dunst \
  50     -lf $foreground -lb $background \
  51     -nf $foreground -nb $background \
  52     -cf $background -cb $color12 || break
  53 done &
  54 
  55 # vim: ft=sh