bspwmrc 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #!/bin/sh
  2. #######################################################
  3. # ██████╗ ███████╗██████╗ ██╗ ██╗███╗ ███╗
  4. # ██╔══██╗██╔════╝██╔══██╗██║ ██║████╗ ████║
  5. # ██████╔╝███████╗██████╔╝██║ █╗ ██║██╔████╔██║
  6. # ██╔══██╗╚════██║██╔═══╝ ██║███╗██║██║╚██╔╝██║
  7. # ██████╔╝███████║██║ ╚███╔███╔╝██║ ╚═╝ ██║
  8. # ╚═════╝ ╚══════╝╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝
  9. #
  10. # By: Anas Elgarhy: @anas-elgarhy or @anaselgarhy
  11. ####################################################
  12. # Terminal
  13. export TERMINAL=kitty
  14. pgrep -x sxhkd > /dev/null || sxhkd &
  15. setxkbmap -model pc101 -layout us,ar -variant ,, -option grp:win_space_toggle &
  16. /bin/stickykeys &
  17. nitrogen --restore &
  18. nm-applet &
  19. copyq &
  20. polybar &
  21. # eww -c $HOME/.config/eww/eww-bar --restart open bar &
  22. bspc monitor -d www dev sys chat img vid mus vbox gfx \;
  23. bspc config border_width 2
  24. bspc config window_gap 2
  25. bspc config split_ratio 0.52
  26. bspc config borderless_monocle true
  27. bspc config single_monocle true
  28. bspc config gapless_monocle false
  29. # Rules
  30. bspc rule -a Gimp desktop='^9' state=floating follow=on
  31. bspc rule -a firefoxdeveloperedition desktop='^1' state=tiling follow=on
  32. bspc rule -a "Tor Browser" desktop='^10' state=tiling follow=off
  33. bspc rule -a "keepassxc" desktop='^10' state=tiling follow=on
  34. bspc rule -a "discord" desktop='^4' state=tiling follow=on
  35. bspc rule -a "jetbrains-idea" desktop='^2' state=tiling follow=on
  36. bspc rule -a "jetbrains-pycharm" desktop='^2' state=tiling follow=on
  37. bspc rule -a "jetbrains-clion" desktop='^2' state=tiling follow=on
  38. bspc rule -a "jetbrains-webstorm" desktop='^2' state=tiling follow=on
  39. bspc rule -a "jetbrains-rubymine" desktop='^2' state=tiling follow=on
  40. bspc rule -a "jetbrains-goland" desktop='^2' state=tiling follow=on