make mangowc reload after colors change and only execure xrdb when running under x11

This commit is contained in:
lucy 2026-08-26 20:14:48 +02:00
commit 7b51d88ae0
3 changed files with 53 additions and 52 deletions

View file

@ -12,7 +12,7 @@ hook = "cp ~/.local/share/tinted-theming/tinty/tinted-gtk-build-file.css ~/.conf
path = "https://github.com/tinted-theming/tinted-xresources"
name = "tinted-xresources"
themes-dir = "xresources"
hook = "cp -f %f ~/.theme && xrdb -load ~/.Xresources"
hook = '''if [[ "${XDG_SESSION_TYPE}" != "wayland" ]] then $(cp -f %f ~/.theme && xrdb -load ~/.Xresources)& fi'''
supported-systems = ["base16", "base24"]
[[items]]
@ -33,6 +33,7 @@ supported-systems = ["base16", "base24"]
path = "https://git.lucy.rip/lucy/tinted-mangowc/"
name = "tinted-mangowc"
themes-dir = "build"
hook = "mmsg dispatch reload_config"
[[items]]
path = "https://git.lucy.rip/lucy/tinted-fuzzel.git"
@ -45,4 +46,4 @@ path = "https://git.lucy.rip/lucy/tinted-quickshell.git"
revision = "master"
name = "tinted-quickshell"
themes-dir = "build"
hook = "cp ~/.local/share/tinted-theming/tinty/tinted-quickshell-build-file.js ~/.config/quickshell/Colors.js"
hook = "cp ~/.local/share/tinted-theming/tinty/tinted-quickshell-build-file.js ~/.config/quickshell/Colors.js; pkill qs && qs -d"