diff --git a/home/config/bspwm/bspwmrc b/home/config/bspwm/bspwmrc index d0febd9..d40308d 100644 --- a/home/config/bspwm/bspwmrc +++ b/home/config/bspwm/bspwmrc @@ -35,7 +35,7 @@ xrandr --output HDMI-2 --auto --right-of HDMI-1 xrandr --output HDMI-1 --mode 1920x1080 --rate 60 # 干掉已经运行的进程 -killall -9 sxhkd picom dunst xsettingsd polybar plank +killall -9 sxhkd picom nm-applet dunst xsettingsd polybar plank xss-lock # 2个显示器, 左显示器配置4个工作区, 右显示器只配置1个工作区 bspc monitor HDMI-1 -d I II III IV @@ -60,7 +60,7 @@ bspc config gapless_monocle true # 工作区只有一个窗口时, 将工作区切为monocle布局 -# bspc config single_monocle true +bspc config single_monocle true @@ -100,13 +100,21 @@ if [[ ! "$(pidof xfce-polkit)" ]]; then fi # 启动配套的服务 + +# 睡眠/休眠时, 自动锁屏 +xss-lock --transfer-sleep-lock -- ~/.local/bin/scripts/xlock.sh & + +# 启动顶栏, 键盘热键, 通知, dock等 polybar main -r & sxhkd & +nm-applet & dunst & plank & ## 一些已经用systemd启动的服务 -# pipewire, mpd, blueman, nm-applet +# pipewire, mpd, blueman +# 每次启动时, 删除该文件 +rm ~/.cxoffice/wechat/.eval picom -b --experimental-backends