i3: disable GTK CSD in xsession

This commit is contained in:
Vincent Bernat 2021-07-28 08:53:31 +02:00
parent 546ff41ed2
commit 4ace8ac9a3
2 changed files with 3 additions and 1 deletions

1
config
View file

@ -149,7 +149,6 @@ bindsym $mod+Shift+i nop "workspace-info"
# Random rules # Random rules
no_focus [window_type="splash"] no_focus [window_type="splash"]
for_window [tiling] border pixel 3
for_window [class="Shadow"] fullscreen enable for_window [class="Shadow"] fullscreen enable
for_window [window_role="PictureInPicture"] floating enable for_window [window_role="PictureInPicture"] floating enable
for_window [title="Firefox — Sharing Indicator"] border none, sticky enable, move position 20 ppt -5 px for_window [title="Firefox — Sharing Indicator"] border none, sticky enable, move position 20 ppt -5 px

View file

@ -13,6 +13,9 @@ export QT_QPA_PLATFORMTHEME=qt5ct
# GTK3 apps try to contact org.a11y.Bus. Disable that. # GTK3 apps try to contact org.a11y.Bus. Disable that.
export NO_AT_BRIDGE=1 export NO_AT_BRIDGE=1
# GTK3 apps should not use CSD
export GTK_CSD=0
# Environment variables # Environment variables
unset LC_ALL unset LC_ALL
[ -e ~/.zshenv ] && . ~/.zshenv [ -e ~/.zshenv ] && . ~/.zshenv