Advertisement
mronetwo

bspwmrc

Dec 26th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.39 KB | None | 0 0
  1. #! /bin/sh
  2. # You might need to fix this file with dos2unix:
  3. #   `dos2unix bspwmrc`
  4. # Do that if running this script tells you that
  5. # /bin/sh is a bad interpreter.
  6. # Also make this file executable.
  7.  
  8. sxhkd -c /home/mc/.config/sxhkd/sxhkdrc >> ~/sxhkd_log &
  9. #bash /home/mc/.screenlayout/onescreen.sh
  10. bash /home/mc/.screenlayout/default.sh
  11. sakura &
  12.  
  13. #bspc monitor -d I II III IV V VI VII VIII IX X
  14.  
  15. i=0
  16. n=`bspc query -M | wc -l`  # count number of lines in bspwm's monitor list
  17. per=$(( 10 / n ))          # number of desktops per monitor
  18. for monitor in `bspc query -M`; do
  19.     bspc monitor $monitor -d `seq $i $(( i + per - 1 ))`
  20.     # seq is end-inclusive; `seq 1 $((1+2))` returns "1 2 3"
  21.     i=$(( i + per ))
  22.   done
  23.  
  24. bspc config border_width         2
  25. bspc config window_gap           12
  26.  
  27. bspc config split_ratio          0.52
  28. bspc config borderless_monocle   true
  29. bspc config gapless_monocle      true
  30. bspc config normal_border_color   "#7A7A7A" # inactive on the same
  31. bspc config active_border_color   "#AAAAAA" # last active on inactive screen
  32. bspc config focused_border_color  "#ED104B" # window you type in
  33. bspc config presel_feedback_color "#7FC4EF"
  34.  
  35. bspc rule -a Gimp desktop='^8' state=floating follow=on
  36. bspc rule -a Chromium desktop='^2'
  37. bspc rule -a mplayer2 state=floating
  38. bspc rule -a Screenkey manage=off
  39.  
  40. feh --bg-scale /home/mc/Pictures/wallhaven-760321_1920x1080.png
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement