diff options
author | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2023-05-17 18:44:48 +0100 |
---|---|---|
committer | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2023-10-18 11:16:43 +0100 |
commit | b487984ecc61c6229cf92550030745c192fd3d0b (patch) | |
tree | 937e598c941fc1172467aeeed8ef51cbfceaca62 /home/.config/bspwm/bspwmrc | |
download | dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.tar.gz dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.tar.bz2 dotfiles-b487984ecc61c6229cf92550030745c192fd3d0b.zip |
first commit
Diffstat (limited to 'home/.config/bspwm/bspwmrc')
-rwxr-xr-x | home/.config/bspwm/bspwmrc | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/home/.config/bspwm/bspwmrc b/home/.config/bspwm/bspwmrc new file mode 100755 index 0000000..c0b7ba3 --- /dev/null +++ b/home/.config/bspwm/bspwmrc @@ -0,0 +1,49 @@ +#!/usr/bin/env sh + +# If refreshing bspwm, remove all previous rules to prevent doubling up. +bspc rule -r "*" + +if [ "$(uname -n)" = "garry" ] && xrandr --query | grep "HDMI-0 connected"; then + bspc monitor 'eDP-1-1' --remove + bspc config pointer_motion_interval 7 +elif [ "$(uname -n)" = "hercules" ] && xrandr --query | grep "HDMI-0 connected"; then + bspc monitor 'eDP-1-1' --remove +fi + +bspc config border_width 1 +bspc config window_gap 0 +# top_padding I set equal to polybar's height +bspc config top_padding 24 +bspc config right_padding 0 + +bspc config focus_follows_pointer true +bspc config pointer_follows_focus true +bspc config pointer_follows_monitor true +bspc config borderless_monocle true +bspc config gapless_monocle true +bspc config removal_adjustment true +bspc config remove_disabled_monitors true +bspc config remove_unplugged_monitors true +bspc config merge_overlapping_monitors true +bspc config presel_feedback true + +# bspc rule -a mpv sticky=on +bspc rule -a Zathura state=tiled +bspc rule -a "Tor Browser" state=floating +bspc rule -a "feh" state=floating +# bspc rule -a Steam desktop="9" +# bspc rule -a discord desktop="9" +bspc rule -a csgo_linux64 desktop="10" +bspc rule -a hl2_linux desktop="10" +bspc rule -a "origin.exe" state=floating desktop="10" +bspc rule -a "fifa19_demo.exe" desktop="10" +bspc rule -a "fifa20_demo.exe" desktop="10" +bspc rule -a "fifa19.exe" desktop="10" +bspc rule -a "Wine" state=floating desktop="10" +bspc rule -a "fifaconfig.exe" state=floating desktop="10" +bspc rule -a "launcher.exe" state=floating desktop="10" +bspc rule -a "socialclubhelper.exe" state=floating desktop="10" +bspc rule -a "gta5.exe" desktop="10" +bspc rule -a "*.exe" desktop="10" + +bspc monitor -d 1 2 3 4 5 6 7 8 9 10 |