summaryrefslogtreecommitdiff
path: root/config/bspwm/bspwmrc
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-04 02:32:16 +0000
committerdavidovski <david@davidovski.xyz>2023-12-04 02:32:16 +0000
commit6ed4306119355c5f6dbdca7565aa53829868ef8d (patch)
tree465aada95cf158f064ebc13e9e9bb4a85b4f6ccd /config/bspwm/bspwmrc
parent2c23da611288c6415a363c07847c82481763908e (diff)
change background
Diffstat (limited to 'config/bspwm/bspwmrc')
-rwxr-xr-xconfig/bspwm/bspwmrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc
index 29c66a3..fec65c2 100755
--- a/config/bspwm/bspwmrc
+++ b/config/bspwm/bspwmrc
@@ -4,18 +4,20 @@ setup=0
COLOR_BACKGROUND="#282a2e"
COLOR_PRIMARY="#fefefe"
COLOR_SECONDARY="#707880"
-BORDER=2
+BORDER=0
hsetroot -solid $COLOR_BACKGROUND &
xsetroot -cursor_name left_ptr &
xrdb ~/.config/Xdefaults
pgrep -x sxhkd > /dev/null || sxhkd &
-pgrep -x compfy > /dev/null || compfy &
+pgrep -x picom > /dev/null || picom &
pgrep -x xss-lock > /dev/null || xss-lock slock &
pgrep -x bg.sh > /dev/null || $HOME/.scripts/bg.sh > /dev/null &
+#pgrep -x xcompmgr > /dev/null || xcompmgr -c -C -t-5 -l-5 -r4.2 -o.55 &
[ -f "$HOME/.config/xrandr.sh" ] && . $HOME/.config/xrandr.sh
+#xrandr > ~/XRANDR
primary=$(bspc query --monitors -m primary)
set -- a b c d e f g h i j k l m n o
@@ -29,7 +31,6 @@ for m in $(bspc query -M --names); do
bspc monitor $m -d ${m}1 ${m}2 ${m}3 ${m}4 ${m}5 ${m}6 ${m}7 ${m}8 ${m}9
done
-
$HOME/.config/polybar/launch.sh &
bspc config border_width $BORDER
@@ -38,14 +39,16 @@ $HOME/.scripts/toggle-gap.sh
## individual rules
bspc rule -a Zathura state=tiled
-bspc rule -a feh state=floating
+bspc rule -a feh state=fullscreen
bspc config focus_follows_pointer false
bspc config normal_border_color "$COLOR_SECONDARY"
bspc config active_border_color "$COLOR_SECONDARY"
bspc config focused_border_color "$COLOR_PRIMARY"
-wmname bspwm
+
+# fix java programs that get confused on a missing name property
+wmname LG3D
sleep 1