poetician

bspwmrc in VirtualBox

May 7th, 2020
547
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. #LAUNCHERS
  4. $HOME/.config/bspwm/autostart.sh
  5. #fix for moving spotify to specific workspace
  6. #bspc config external_rules_command ~/.config/bspwm/scripts/external_rules_command
  7.  
  8. #BSPWM configuration
  9. bspc config border_radius 8
  10. bspc config border_width 5
  11. bspc config window_gap 5
  12. bspc config top_padding 30
  13. bspc config bottom_padding 22
  14. bspc config left_padding 5
  15. bspc config right_padding 5
  16. bspc config single_monocle false
  17. #bspc config click_to_focus true
  18. bspc config split_ratio 0.40
  19. bspc config borderless_monocle true
  20. bspc config gapless_monocle true
  21. #bspc config focus_by_distance true
  22. bspc config focus_follows_pointer true
  23. #bspc config history_aware_focus true
  24. bspc config pointer_modifier mod4
  25. bspc config pointer_action1 move
  26. bspc config pointer_action2 resize_side
  27. bspc config pointer_action3 resize_corner
  28. bspc config remove_disabled_monitors true
  29. bspc config merge_overlapping_monitors true
  30.  
  31. #BSPWM coloring
  32. bspc config normal_border_color "#ffbf00"
  33. bspc config active_border_color "#d1bea8"
  34. bspc config focused_border_color "#5e81ac"
  35. bspc config presel_feedback_color "#5e81ac"
  36. #bspc config urgent_border_color "#dd2727"
  37.  
  38.  
  39. #Single monitor
  40. bspc monitor -d 1 2 3 4 5 6 7 8 9 10
  41.  
  42. #Fullscreen applications
  43. bspc rule -a inkscape state=fullscreen
  44. bspc rule -a Spotify state=fullscreen
  45. bspc rule -a Vlc state=fullscreen
  46. bspc rule -a VirtualBox Manager state=fullscreen
  47. bspc rule -a VirtualBox Machine state=fullscreen
  48. #bspc rule -a Gimp state=fullscreen
  49.  
  50. #Floating applications
  51. bspc rule -a Arandr state=floating
  52. bspc rule -a Arcolinux-tweak-tool.py state=floating
  53. bspc rule -a Arcolinux-welcome-app.py state=floating
  54. bspc rule -a feh state=floating
  55. #bspc rule -a mpv state=floating sticky=on
  56. #bspc rule -a Font-manager state=floating
  57. bspc rule -a Galculator state=floating
  58. #bspc rule -a Gpick state=floating sticky=on
  59. #bspc rule -a Nitrogen state=floating
  60. bspc rule -a Oblogout state=floating
  61. #bspc rule -a Pavucontrol state=floating sticky=on
  62. #bspc rule -a Peek state=floating
  63. #bspc rule -a rofi state=floating sticky=on
  64. #bspc rule -a Skype state=floating
  65. #bspc rule -a Stacer state=floating
  66. #bspc rule -a Xfce4-appfinder state=floating sticky=on
  67. bspc rule -a Xfce4-terminal state=floating
  68.  
  69. #Tiled applications
  70. bspc rule -a Gnome-disks state=tiled
  71. bspc rule -a Xfce4-settings-manager state=tiled
  72.  
  73. #open applications on specific workspaces
  74. bspc rule -a Firefox desktop='^1' follow=on
  75. #bspc rule -a Google-chrome desktop='^1' follow=on
  76. #bspc rule -a Chromium desktop='^1' follow=on
  77. #bspc rule -a Subl3 desktop='^2' follow=on
  78. bspc rule -a Atom desktop='^2' follow=on
  79. #bspc rule -a Steam desktop='^5'
  80. #bspc rule -a vlc desktop='^6' follow=on
  81. #bspc rule -a mpv desktop='^6' follow=on
  82. #bspc rule -a Thunar desktop='^8' follow=on
  83. #bspc rule -a discord desktop='^9' follow=on
  84.  
  85. #polybar hidden when fullscreen for vlc, youtube, mpv ...
  86. #find out the name of your monitor with xrandr
  87. #xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DP-1)
  88. #xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI1)
  89. #xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI2)
  90.  
  91. ###External rules
  92. ##Pseudo automatic mode: always splits focused window when opening new window
  93. #bspc config external_rules_command ~/.config/bspwm/scripts/pseudo_automatic_mode
  94. ##Adjust new window: splits biggest windows to keep windows about the same size
  95. #bspc config external_rules_command ~/.config/bspwm/scripts/adjust-new-window
Advertisement
Add Comment
Please, Sign In to add comment