Compare commits
No commits in common. "bd99d3b247a4939e73d79243f44d9abfbf8fa17c" and "663f0e5db6c41d4bd0ba977668168044aee7afad" have entirely different histories.
bd99d3b247
...
663f0e5db6
1 changed files with 4 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
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 hyprctl hyprpaper kitty magick mako pastel wal waybar wlogout wofi; do
|
for executable in convert hyprctl hyprpaper kitty 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,7 +136,6 @@ 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
|
||||||
|
@ -283,8 +282,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"
|
convert "$HOME/.config/wlogout/$img.png" -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"
|
convert "$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