mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: remove old scripts
This commit is contained in:
parent
b97daf5acd
commit
e539a642a4
2 changed files with 0 additions and 21 deletions
|
|
@ -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"
|
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue