zerinol

bspwmrc

Dec 21st, 2019 (edited)
746
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.98 KB | None | 0 0
  1. #!/usr/bin/env sh
  2.  
  3. data=$(date '+%Y-%m-%d %H:%M:%S')
  4.  
  5. echo "= bspwm =============================" >> "$LOGINLOG"
  6. echo "$data" >> "$LOGINLOG"
  7.  
  8. ## wal colors
  9. . "$HOME/.cache/wal/colors.sh"
  10.  
  11. sxhkd &
  12. xrdb -load .Xresources &
  13. xset r rate 300 50 &
  14. xset +fp /home/zerinol/.local/share/fonts
  15. xset +fp /home/zerinol/.fonts
  16. xset fp rehash
  17. xset -b &
  18.  
  19. # (ps x | grep bspswallow | grep -v grep) || bspswallow &
  20.  
  21. [ -x $HOME/.local/bin/dual_monitor ] && dual_monitor  2>&1 >> "$LOGINLOG"
  22.  
  23. # Set pulseaudio profile saida analogica
  24. pacmd set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo
  25.  
  26. bspc monitor eDP1 -d 1 2 3 4 5
  27. bspc monitor HDMI1 -d 6 7 8 9 0
  28. bspc wm -O eDP1 HDMI1
  29.  
  30. bspc config border_width        2
  31. bspc config window_gap          4
  32.  
  33. bspc config normal_border_color $background
  34. bspc config focused_border_color $color5
  35. bspc config active_border_color $color8
  36. bspc config marked_border_color $color4
  37. bspc config presel_feedback_color $color4
  38.  
  39. bspc config focus_follows_pointer true
  40. bspc config pointer_follows_focus true
  41.  
  42. bspc config split_ratio          0.52
  43. bspc config borderless_monocle   true
  44. bspc config gapless_monocle      true
  45.  
  46. bspc config automatic_scheme spiral
  47. bspc config initial_polarity first_child
  48.  
  49. bspc rule -a Gimp desktop='^8' state=tiled follow=on
  50. bspc rule -a Chromium desktop='^2'
  51. bspc rule -a XCalc state=floating
  52. bspc rule -a Nm-connection-editor state=floating
  53. bspc rule -a Blueman-manager state=floating
  54. bspc rule -a Gedit state=floating
  55. bspc rule -a mpv state=floating rectangle=640x360+50+70
  56. bspc rule -a ncmpcpp:* state=floating rectangle=1300x412+25+183
  57. bspc rule -a *:pad state=floating rectangle=716x356+400+30
  58. bspc rule -a Emacs state=floating rectangle=775x680+350+30
  59. bspc rule -a zoom state=floating
  60. bspc rule -a Ramme state=floating
  61. bspc rule -a Zathura state=tiled
  62. bspc rule -a *:Kunst state=floating
  63.  
  64. $HOME/.config/polybar/launch.sh --grayblocks 2>&1 >> "$LOGINLOG" &
  65. feh --recursive --randomize --bg-fill ~/db/wp
  66.  
Add Comment
Please, Sign In to add comment