Skip to content

Commit 9e304dc

Browse files
committed
fix: 🐛 关闭picom非焦点窗口透明度
个人体验,透明窗口影响专注力,因此关闭
1 parent c51fb17 commit 9e304dc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

i3_polybar/config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ font $default_fonts
2929

3030
# window border settings
3131
# 默认窗口边框设置(有边框才能显示 split indicator)
32-
default_border pixel 2
33-
default_floating_border pixel 2
32+
default_border pixel 1
33+
default_floating_border pixel 1
3434

3535
# hiding borders adjacent to the screen edges
3636
#隐藏窗口边缘

i3_polybar/config.d/local.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ exec_always --no-startup-id ~/.config/polybar_themes/launch.sh zioer > /dev/nul
7171

7272

7373
for_window [class="Variety"] floating enable
74-
# for_window [class="dbus"] floating enable
74+
for_window [class="dbus"] floating enable
7575
for_window [class="KeePass"] floating enable
76-
# for_window [class="konsole"] floating enable
77-
# for_window [class="^Shutter$"] floating enable
76+
for_window [title="设置$"] floating enable
77+
for_window [class="^Shutter$"] floating enable

picom/picom.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fade-exclude = [ ]
5353
#################################
5454
# Opacity
5555

56-
inactive-opacity = 0.93
56+
inactive-opacity = 1.0
5757
# frame-opacity = 1
5858
# Let inactive opacity set by -i override the '_NET_WM_WINDOW_OPACITY' values of windows.
5959
inactive-opacity-override = false

0 commit comments

Comments
 (0)