diff options
| author | 2026-05-13 13:43:11 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:11 +0100 | |
| commit | 22dbd67b564fcef4b06eab0b62f8551f2ad6ef65 (patch) | |
| tree | 70c498d73c61952b94145bac6d940c1f2edcd5c6 | |
| parent | 5049f392a18ef484570482de1d066faebbb927fd (diff) | |
| download | dotfiles-22dbd67b564fcef4b06eab0b62f8551f2ad6ef65.tar.gz dotfiles-22dbd67b564fcef4b06eab0b62f8551f2ad6ef65.tar.bz2 dotfiles-22dbd67b564fcef4b06eab0b62f8551f2ad6ef65.zip | |
feat(sway): cursor theme + GTK4 dark mode via gsettings
- seat * xcursor_theme Adwaita 24: announces the cursor via
cursor-shape-v1 for Wayland clients and exports XCURSOR_THEME/SIZE
to Xwayland, so Xwayland GTK apps no longer fall back to the bitmap X
cursor.
- exec gsettings color-scheme prefer-dark: GTK4 ignores the settings.ini
gtk-application-prefer-dark-theme key (GTK3 only); it reads the gnome
color-scheme gsetting. This fixes light-mode GTK4 apps (gnome
calculator, nautilus, modern GNOME apps).
| -rw-r--r-- | dot_config/sway/config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config index 966c6ca..405b7b4 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -34,6 +34,7 @@ input type:touchpad { # ── Behavior ────────────────────────────────────────────────────────────────── focus_follows_mouse yes seat * hide_cursor 3000 +seat * xcursor_theme Adwaita 24 # ── Output ──────────────────────────────────────────────────────────────────── output * bg #282828 solid_color @@ -155,3 +156,6 @@ exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CU exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP exec "sleep 2 && ~/.config/sway/display-toggle.sh init" exec systemctl --user start sway-session.target + +# GTK4 reads dark mode from gsettings (settings.ini's prefer-dark is GTK3 only). +exec gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' |
