[wlogout] Update font family using theme-changer.sh
This commit is contained in:
parent
ffaa4a9e5b
commit
d65c8aad42
2 changed files with 10 additions and 1 deletions
|
@ -9,7 +9,7 @@ window {
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
font-family: "Hack Nerd Font";
|
font-family: 'JetBrainsMono NF';
|
||||||
font-size: 13pt;
|
font-size: 13pt;
|
||||||
color: @foreground;
|
color: @foreground;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
|
|
|
@ -320,6 +320,15 @@ function set_waybar_theme {
|
||||||
|
|
||||||
|
|
||||||
function set_wlogout_theme {
|
function set_wlogout_theme {
|
||||||
|
declare -A wlogout_variables=(
|
||||||
|
[font-family]="${params[font]}"
|
||||||
|
)
|
||||||
|
|
||||||
|
for key in "${!wlogout_variables[@]}"; do
|
||||||
|
value="${wlogout_variables[$key]}"
|
||||||
|
sed -i "s~$key:[^;]*~$key: $value~" "$HOME/.config/wlogout/style.css"
|
||||||
|
done
|
||||||
|
|
||||||
for img in lock reboot shutdown logout; do
|
for img in lock reboot shutdown logout; do
|
||||||
magick "$HOME/.config/wlogout/$img.png.default" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png"
|
magick "$HOME/.config/wlogout/$img.png.default" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png"
|
||||||
magick "$HOME/.config/wlogout/$img-focus.png.default" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png"
|
magick "$HOME/.config/wlogout/$img-focus.png.default" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png"
|
||||||
|
|
Loading…
Reference in a new issue