dotfiles/.config/bspwm/bspwmrc

37 lines
899 B
Plaintext
Raw Normal View History

2021-03-28 17:11:08 +02:00
#!/bin/sh
# MONITORS #
2021-04-19 14:29:07 +02:00
if [ "$(uname -n)" = 'arch-desktop' ]; then
bspc monitor HDMI-0 -d 1 2 3 4 5
bspc monitor HDMI-1 -d 6 7 8 9 10
2021-04-19 11:53:49 +02:00
else
bspc monitor -d 1 2 3 4 5 6 7 8 9
fi
2021-03-28 17:11:08 +02:00
# CONFIGURATION #
bspc config border_width 2
bspc config window_gap 10
bspc config split_ratio 0.50
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
# WINDOW RULES #
2021-04-01 21:04:30 +02:00
bspc rule -a Steam state=floating
2021-04-11 17:49:28 +02:00
bspc rule -a Zathura state=tiled
2021-04-19 19:45:48 +02:00
bspc rule -a Emacs state=tiled
2021-04-11 17:49:28 +02:00
2021-03-28 17:11:08 +02:00
# PROBLEMS WITH JAVA APPLICATIONS #
wmname LG3D
# AUTOSTART #
[[ ! $(pidof -x sxhkd) ]] && sxhkd &
[[ ! $(pidof -x picom) ]] && picom --experimental-backends &
feh --bg-tile ~/Pictures/Wallpapers/avatar.png
kdeconnect-cli --refresh && kdeconnect-cli -l >/dev/null
sh ~/.config/polybar/launch.sh &
2021-04-19 19:45:48 +02:00
[[ ! $(pidof -x cloud-drive-daemon) ]] && synology-drive &
2021-03-28 17:11:08 +02:00