bspwmrc 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #! /bin/sh
  2. # ] ---- AUTOSTART ---- [
  3. # Start polkit thinggy
  4. lxpolkit &
  5. # Keyboard settings and shortcut daemon
  6. numlockx &
  7. xset r rate 240 40 &
  8. setxkbmap -layout us &
  9. # Startup applications
  10. pgrep -x sxhkd > /dev/null || sxhkd &
  11. pgrep -x xbindkeys || xbindkeys &
  12. killall deadd-notification-center && deadd-notification-center &
  13. pgrep -x conky || /home/az/.conky/conky-startup.sh &
  14. #pgrep -x tint2 || tint2 &
  15. nitrogen --restore &
  16. mount -t davfs https://lilsnoot.hopto.org/remote.php/dav/files/azhar/ &
  17. pgrep bspswallow || bspswallow &
  18. #sleep 5 && /home/az/scripts/start-sfx.sh &
  19. pgrep -x polybar || /home/az/.config/polybar/shapes/launch.sh && polybar -r empty &
  20. pgrep -x polybar || polybar -r empty &
  21. #pgrep -x polybar || polybar -r first &
  22. pgrep -x picom || picom -b &
  23. #killall plank && plank &
  24. killall glava ; sleep 2 && glava -d -a pulseaudio --force-mod=graph &
  25. openrgb --config /home/az/.config/OpenRGB/ -p space-3.orp &
  26. #~/.fehbg
  27. #flameshot &
  28. #nm-applet &
  29. #killall glava; sleep 1 && glava -d -a pulseaudio --force-mod=radial &
  30. # LAYOUT
  31. #bspc config top_padding -24
  32. #bspc config -m DVI-D-0 top_padding 22
  33. bspc config -m DVI-D-0 top_padding 4
  34. bspc config -m DP-0 top_padding 16
  35. bspc config bottom_padding 0
  36. # ] ---- WORKSPACES ---- [
  37. bspc monitor DP-0 -d I II III IV V
  38. bspc monitor DVI-D-0 -d VI VII VIII IX X
  39. # ] ---- WINDOW CONFIG ---- [
  40. bspc config margin top 20
  41. bspc config border_width 1
  42. bspc config window_gap 18
  43. bspc config normal_border_color "#8935ff"
  44. bspc config focused_border_color "#00ff9c"
  45. bspc config split_ratio 0.50
  46. bspc config borderless_monocle false
  47. bspc config gapless_monocle true
  48. bspc rule -a Gimp desktop='^8' state=floating follow=on
  49. bspc rule -a Chromium desktop='^2'
  50. bspc rule -a mplayer2 state=floating
  51. bspc rule -a openrgb state=floating
  52. bspc rule -a TeamViewer state=floating
  53. bspc rule -a pulseaudio-equalizer state=floating
  54. bspc rule -a kitty state=pseudo_tiled
  55. bspc rule -a battle.net.exe state=pseudo_tiled
  56. bspc rule -a qBittorrent state=pseudo_tiled
  57. bspc rule -a Kupfer.py focus=on
  58. bspc rule -a Screenkey manage=off
  59. bspc rule -a tint2 state=floating
  60. bspc rule -a glava state=floating
  61. bspc rule -a polybar state=manage=off