i3: disable CSD in i3 configuration

OK, not a fan of using LD_PRELOAD which may break at some point, may
not apply to Flatpaks, etc. Try a bit the workaround in i3
configuration and we will use preload if it's not enough.
This commit is contained in:
Vincent Bernat 2021-07-28 09:02:48 +02:00
parent 4929b9c61d
commit 772700e7a2
2 changed files with 1 additions and 4 deletions

1
config
View file

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

View file

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