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.

44 lines
1.4 KiB

4 years ago
4 years ago
4 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 based on plastic scheme
  9. bspc config normal_border_color "#21252b"
  10. bspc config focused_border_color "#9ec400"
  11. bspc config urgent_border_color "#ff3334"
  12. bspc config presel_border_color "#9ec400"
  13. bspc config presel_feedback_color "#9ec400"
  14. # some rules
  15. # to get the name, search WM_CLASS(STRING) in xprop
  16. # and pick the second entry
  17. # e.g. WM_CLASS(STRING) = "zathura", "Zathura"
  18. bspc config external_rules_command "$XDG_CONFIG_HOME/bspwm/external-rules"
  19. bspc rule -a Gimp desktop='^8' state=floating follow=on
  20. bspc rule -a mplayer2 state=floating
  21. bspc rule -a Kupfer.py focus=on
  22. bspc rule -a Screenkey manage=off
  23. bspc rule -a Emulator state=floating
  24. bspc rule -a Emacs state=tiled
  25. bspc rule -a org.remmina.Remmina state=floating rectangle=3440x1370+0+0
  26. bspc rule -a Zathura state=tiled
  27. #autostart stuff
  28. numlockx on &
  29. sxhkd &
  30. picom &
  31. pulseaudio --start &
  32. if [[ $(hostname) == 'laptop' ]]; then
  33. feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/1920x1080/1920x1080_road_marking_evening_clouds_horizon.jpg
  34. else
  35. feh --bg-scale /home/marc/Archiv/Bilder/Wallpaper/3440x1440/3440x1440_Sea_Sunset.jpg &
  36. fi
  37. xsetroot -cursor_name left_ptr