From 72efe134f645a5212f875c153dd8db4a64cbe968 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Tue, 23 Jan 2024 11:13:18 +0100 Subject: changes --- linux/bspwm/bspwmrc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100755 linux/bspwm/bspwmrc (limited to 'linux/bspwm') diff --git a/linux/bspwm/bspwmrc b/linux/bspwm/bspwmrc new file mode 100755 index 0000000..717e1e5 --- /dev/null +++ b/linux/bspwm/bspwmrc @@ -0,0 +1,39 @@ +#! /bin/sh + +pgrep -x sxhkd > /dev/null || sxhkd & + +#compton --backend glx --vsync opengl-swc & +compton & +nitrogen --restore & +polybar & + +bspc monitor -d I II III IV V VI VII VIII IX X + +bspc config border_width 2 +bspc config window_gap 3 + +bspc config split_ratio 0.52 +bspc config borderless_monocle true +bspc config gapless_monocle true + +bspc config focus_follows_pointer true + +bspc config automatic_scheme longest_side +bspc config single_monocle true + +bspc rule -a Gimp desktop='^8' state=floating follow=on +bspc rule -a mplayer2 state=floating +bspc rule -a Kupfer.py focus=on +bspc rule -a Screenkey manage=off + +# Floating Apps +declare -a floatingApps=(xdman-Main Lxappearance Nextcloud Gparted Thunar \ +Viewnior Xarchiver Pavucontrol firefox:Dialog \ +firefox:Pop-up nitrogen Gpick) +for i in ${floatingApps[@]}; do + bspc rule -a $i state=floating focus=on follow=on; done + +declare -a floatingCust=(*:*:Picture-in-picture *:Toolkit:Picture-in-Picture mpv) +for i in ${floatingCust[@]}; do + bspc rule -a $i state=floating sticky=on follow=off focus=on \ + rectangle=500x300+1366+50; done -- cgit v1.2.3