dotfiles/config/bspwm/bspwmrc

54 lines
1.9 KiB
Text
Raw Normal View History

2021-12-17 23:14:15 -05:00
#!/bin/bash
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
bspc config border_width 2
bspc config window_gap 10
bspc config top_padding 74
bspc config bottom_padding 0
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc rule -a Galculator state=floating
bspc rule -a vlc state=floating
bspc rule -a Blueman-manager state=floating
bspc rule -a Bitwarden state=floating
bspc rule -a Leafpad state=floating
bspc rule -a KeePassXC state=floating
2021-12-17 23:14:15 -05:00
bspc rule -a firefox desktop='^1' follow=on
bspc rule -a Chromium desktop='^2' follow=on
bspc rule -a Evince desktop='4' follow=on
bspc rule -a Soffice desktop='^4' follow=on
bspc rule -a Xsane desktop='^4' follow=on state=floating
bspc rule -a kitty desktop='^6' follow=on
bspc rule -a URxvt desktop='^6' follow=on
2021-12-17 23:14:15 -05:00
bspc rule -a URxvt:Ranger desktop='^3' follow=on
2021-12-17 23:14:15 -05:00
bspc rule -a Thunar desktop='3' follow=on
bspc rule -a Steam desktop='^5' follow=on state=floating
bspc rule -a Lutris desktop='^5' follow=on state=floating
bspc rule -a origin.exe desktop='^5' state=floating
bspc rule -a Emacs desktop='^7' follow=on state=tiled
bspc rule -a discord desktop='^8'
bspc rule -a Element desktop='^8'
2021-12-17 23:14:15 -05:00
bspc rule -a Slack desktop='^9'
2022-01-15 13:44:30 -05:00
bspc rule -a teams-for-linux desktop='^9'
2021-12-17 23:14:15 -05:00
bspc rule -a Evolution desktop='^10'
bspc rule -a Thunderbird desktop='^10'
2021-12-17 23:14:15 -05:00
bspc rule -a tutanota-desktop desktop='^10'
### Focus on 1st workspace by default
bspc desktop -f 1
### Autostart
grep -x sxhkd > /dev/null || sxhkd &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
xidlehook --not-when-audio --not-when-fullscreen --timer 120 "xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1" &
sh ~/.fehbg &
2021-12-17 23:14:15 -05:00
$HOME/.local/bin/single-polybar-launcher &
/usr/bin/dunst &
2021-12-17 23:14:15 -05:00
dex -ae bspwm &
2021-12-17 23:14:15 -05:00
/usr/bin/birdtray &