This commit is contained in:
Stephan Raabe
2024-05-23 15:42:03 +02:00
parent 004702f450
commit 150616996f
12 changed files with 65 additions and 35 deletions
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
sleep 0.5
killall -9 Hyprland sleep 2
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
sleep 0.5
hyprlock
+43
View File
@@ -0,0 +1,43 @@
#!/bin/bash
# ____
# | _ \ _____ _____ _ __
# | |_) / _ \ \ /\ / / _ \ '__|
# | __/ (_) \ V V / __/ |
# |_| \___/ \_/\_/ \___|_|
#
if [[ "$1" == "exit" ]]; then
echo ":: Exit"
sleep 0.5
killall -9 Hyprland sleep 2
fi
if [[ "$1" == "lock" ]]; then
echo ":: Lock"
sleep 0.5
hyprlock
fi
if [[ "$1" == "reboot" ]]; then
echo ":: Reboot"
sleep 0.5
systemctl reboot
fi
if [[ "$1" == "shutdown" ]]; then
echo ":: Shutdown"
sleep 0.5
systemctl poweroff
fi
if [[ "$1" == "suspend" ]]; then
echo ":: Suspend"
sleep 0.5
systemctl suspend
fi
if [[ "$1" == "hibernate" ]]; then
echo ":: Hibernate"
sleep 1;
systemctl hibernate
fi
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
sleep 0.5
systemctl reboot
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
sleep 0.5
systemctl poweroff
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
sleep 0.5
systemctl suspend
-2
View File
@@ -14,8 +14,6 @@ wallpaper_folder="$HOME/wallpaper"
if [ -f ~/dotfiles/.settings/wallpaper-folder.sh ] ;then
source ~/dotfiles/.settings/wallpaper-folder.sh
fi
echo $wallpaper_folder
cache_file="$HOME/.cache/current_wallpaper"
blurred="$HOME/.cache/blurred_wallpaper.png"
square="$HOME/.cache/square_wallpaper.png"