Compare commits
3 commits
663f0e5db6
...
bd99d3b247
Author | SHA1 | Date | |
---|---|---|---|
bd99d3b247 | |||
de390e6476 | |||
9588be73d9 |
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
|
|
||||||
albums_dir="$HOME/Images/Wallpapers/Desktop"
|
albums_dir="$HOME/Images/Wallpapers/Desktop"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ EOF
|
||||||
function check_requirements {
|
function check_requirements {
|
||||||
req_satisfied=1
|
req_satisfied=1
|
||||||
|
|
||||||
for executable in convert hyprctl hyprpaper kitty mako pastel wal waybar wlogout wofi; do
|
for executable in hyprctl hyprpaper kitty magick mako pastel wal waybar wlogout wofi; do
|
||||||
if ! which "$executable" > /dev/null; then
|
if ! which "$executable" > /dev/null; then
|
||||||
echo "Executable $executable not found!"
|
echo "Executable $executable not found!"
|
||||||
req_satisfied=0
|
req_satisfied=0
|
||||||
|
@ -136,6 +136,7 @@ function set_theme_variables {
|
||||||
|
|
||||||
|
|
||||||
function set_gtk_css_file {
|
function set_gtk_css_file {
|
||||||
|
mkdir -p "$HOME/.config/gtk-3.0" &> /dev/null
|
||||||
echo -n '' > "$HOME/.config/gtk-3.0/colors.css"
|
echo -n '' > "$HOME/.config/gtk-3.0/colors.css"
|
||||||
|
|
||||||
for key in "${!colors[@]}"; do
|
for key in "${!colors[@]}"; do
|
||||||
|
@ -282,8 +283,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
|
||||||
convert "$HOME/.config/wlogout/$img.png" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png"
|
magick "$HOME/.config/wlogout/$img.png" -fill "${colors[accent1]}" -colorize 100 "$HOME/.config/wlogout/$img.png"
|
||||||
convert "$HOME/.config/wlogout/$img-focus.png" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png"
|
magick "$HOME/.config/wlogout/$img-focus.png" -fill "${colors[accent2]}" -colorize 100 "$HOME/.config/wlogout/$img-focus.png"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue