From 68da1377a5a8647f0b66e69bd38be39f982e040c Mon Sep 17 00:00:00 2001 From: yutent Date: Sat, 8 Jul 2023 09:32:08 +0000 Subject: [PATCH] fixed bspwmrc --- home/config/bspwm/bspwmrc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/home/config/bspwm/bspwmrc b/home/config/bspwm/bspwmrc index 988297a..e62fe8b 100644 --- a/home/config/bspwm/bspwmrc +++ b/home/config/bspwm/bspwmrc @@ -12,7 +12,7 @@ color_white='#CED6E0' # 干掉已经运行的进程 -killall -9 sxhkd bspc +killall -9 sxhkd bspc picom # bspwm 基础配置 @@ -30,12 +30,13 @@ bspc config presel_feedback_color "$color_blue" bspc rule -r *:* # 终端默认设为浮动 -bspc rule -a Alacritty follow=on focus=on -bspc rule -a Xfce4-terminal follow=on focus=on +bspc rule -a Alacritty state=floating focus=on +bspc rule -a Xfce4-terminal state=floating focus=on # 一些软件, 也设为浮动 -for app_c in Thunar Code Sublime_text Google-chrome Inkscape Gnome-boxes do - bspc rule -a $app_c follow=on focus=on +for app_c in Thunar Code Sublime_text Google-chrome Inkscape Gnome-boxes +do + bspc rule -a "$app_c" state=floating focus=on done @@ -51,3 +52,4 @@ sxhkd & ~/.local/bin/scripts/polybar.sh +picom -b --experimental-backends