You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

5 years ago
5 years ago
5 years ago
4 years ago
  1. #! /bin/sh
  2. bspc monitor -d I II III IV V VI VII VIII IX X
  3. bspc config border_width 2
  4. bspc config window_gap 5
  5. bspc config split_ratio 0.52
  6. bspc config borderless_monocle true
  7. bspc config gapless_monocle true
  8. # colors
  9. bspc config normal_border_color "#484848"
  10. bspc config focused_border_color "#1F8999"
  11. bspc config urgent_border_color "#B58900"
  12. bspc config presel_border_color "#26E2FF"
  13. # some rules
  14. # to get the name, search WM_CLASS(STRING) in xprop
  15. # and pick the second entry
  16. # e.g. WM_CLASS(STRING) = "zathura", "Zathura"
  17. bspc config external_rules_command "$XDG_CONFIG_HOME/bspwm/external-rules"
  18. bspc rule -a Gimp desktop='^8' state=floating follow=on
  19. bspc rule -a mplayer2 state=floating
  20. bspc rule -a Kupfer.py focus=on
  21. bspc rule -a Screenkey manage=off
  22. bspc rule -a Emulator state=floating
  23. bspc rule -a Emacs state=tiled
  24. bspc rule -a org.remmina.Remmina state=floating rectangle=3440x1370+0+0
  25. bspc rule -a Zathura state=tiled
  26. #autostart stuff
  27. numlockx on &
  28. sxhkd &
  29. picom &
  30. pulseaudio --start &
  31. if [[ $(hostname) == 'laptop' ]]; then
  32. feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/1920x1080/1920x1080_road_marking_evening_clouds_horizon.jpg
  33. else
  34. feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/3440x1440/3440x1440_Sea_Sunset.jpg &
  35. fi
  36. xsetroot -cursor_name left_ptr