Use .default files
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 7.4 KiB |
3
.gitignore
vendored
|
@ -1 +1,4 @@
|
||||||
colors.*
|
colors.*
|
||||||
|
kitty/kitty.conf
|
||||||
|
mako/config
|
||||||
|
wlogout/*.png
|
||||||
|
|
|
@ -248,6 +248,8 @@ function set_kitty_theme {
|
||||||
[inactive_tab_foreground]="${colors[foreground]}"
|
[inactive_tab_foreground]="${colors[foreground]}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cp "$HOME/.config/kitty/kitty.conf.default" "$HOME/.config/kitty/kitty.conf"
|
||||||
|
|
||||||
for key in "${!kitty_variables[@]}"; do
|
for key in "${!kitty_variables[@]}"; do
|
||||||
value="${kitty_variables[$key]}"
|
value="${kitty_variables[$key]}"
|
||||||
sed -i "s/^$key.*/$key $value/" "$HOME/.config/kitty/kitty.conf"
|
sed -i "s/^$key.*/$key $value/" "$HOME/.config/kitty/kitty.conf"
|
||||||
|
@ -268,6 +270,8 @@ function set_mako_theme {
|
||||||
[border-color]="${colors[accent1]}"
|
[border-color]="${colors[accent1]}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cp "$HOME/.config/mako/config.default" "$HOME/.config/mako/config"
|
||||||
|
|
||||||
for key in "${!mako_variables[@]}"; do
|
for key in "${!mako_variables[@]}"; do
|
||||||
value="${mako_variables[$key]}"
|
value="${mako_variables[$key]}"
|
||||||
sed -i "s/$key=.*/$key=$value/" "$HOME/.config/mako/config"
|
sed -i "s/$key=.*/$key=$value/" "$HOME/.config/mako/config"
|
||||||
|
@ -317,8 +321,8 @@ function set_waybar_theme {
|
||||||
|
|
||||||
function set_wlogout_theme {
|
function set_wlogout_theme {
|
||||||
for img in lock reboot shutdown logout; do
|
for img in lock reboot shutdown logout; do
|
||||||
magick "$HOME/.config/wlogout/$img.png" -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" -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"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|