You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now libadwaita theme is installed only to user config dir. This requires to run ./install.sh -l each time to change theme. Instead - them could be just imported, while located in system per-theme dir like /usr/share/themes/Mojave-.../libadwaita (I noticed - gtk4 themes don't apply to libadwaita).
There's code I used in ebuild for such arrangement (of course, I still need tool to quickly change theme - I guess, it could be daemon, waiting for theme change and updating user's gtk.css to match system theme).
./install.sh --dest "${D}/usr/share/themes" --theme all
(
export HOME="${S}"
mkdir -p "${S}/.config/gtk-4.0"declare -A _str
_str=(
[light]=Light
[dark]=Dark
[standard]=
[solid]=-solid
[alt]=-alt
)
forcolorin light dark;doforopacityin standard solid;doforaltin standard alt;doforthemein blue purple pink red orange yellow green grey;do
./install.sh --libadwaita -o ${opacity} -a ${alt} -c ${color} -t ${theme}
insinto "/usr/share/themes/Mojave-${_str[${color}]}${_str[${opacity}]}${_str[${alt}]}-${theme}/libadwaita"
doins -r '.config/gtk-4.0'/*
rm -r "${S}/.config/gtk-4.0"/*done
./install.sh --libadwaita -o ${opacity} -a ${alt} -c ${color}
insinto "/usr/share/themes/Mojave-${_str[${color}]}${_str[${opacity}]}${_str[${alt}]}/libadwaita"
doins -r '.config/gtk-4.0'/*
rm -r "${S}/.config/gtk-4.0"/*donedonedone
)
The text was updated successfully, but these errors were encountered:
Right now libadwaita theme is installed only to user config dir. This requires to run
./install.sh -l
each time to change theme. Instead - them could be just imported, while located in system per-theme dir like/usr/share/themes/Mojave-.../libadwaita
(I noticed - gtk4 themes don't apply to libadwaita).There's code I used in ebuild for such arrangement (of course, I still need tool to quickly change theme - I guess, it could be daemon, waiting for theme change and updating user's gtk.css to match system theme).
The text was updated successfully, but these errors were encountered: