chore: remove old scripts

This commit is contained in:
Ahwx 2025-03-01 22:26:04 +01:00
parent b97daf5acd
commit e539a642a4
2 changed files with 0 additions and 21 deletions

View file

@ -1,6 +0,0 @@
#!/usr/bin/env bash
config_file=~/.config/hypr/hyprland.conf
keybinds=$(grep -oP '(?<=bind=).*' $config_file)
keybinds=$(echo "$keybinds" | sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
wofi -W 750 -dmenu -p "Keybinds" <<< "$keybinds"

View file

@ -1,15 +0,0 @@
#!/usr/bin/env zsh
respond="$(echo "------------- Shutdown --------------\n------------- Restart ---------------\n-------------- Cancel ---------------" | wofi --show dmenu -k /dev/null)"
if [ $respond = '------------- Shutdown --------------' ]
then
echo "shutdown"
shutdown now
elif [ $respond = '------------- Restart ---------------' ]
then
echo "restart"
reboot
else
notify-send "cancel shutdown"
fi