fixed bspwmrc

master
yutent 2023-07-08 09:32:08 +00:00
parent bc326874cf
commit 68da1377a5
1 changed files with 7 additions and 5 deletions

View File

@ -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