Moves scripts to own folder
This commit is contained in:
parent
36dbfbc689
commit
bcb83fb7be
32 changed files with 69 additions and 645 deletions
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/env sh
|
||||
|
||||
SCRIPTS_DIR="$HOME/.config/hypr/scripts"
|
||||
|
||||
declare -A scripts
|
||||
scripts["Shutdown"]="systemctl poweroff"
|
||||
scripts["Reboot"]="systemctl reboot"
|
||||
scripts["Logout"]="logout terminate-user $USER"
|
||||
scripts["Lock"]="$SCRIPTS_DIR/LockScreen.sh"
|
||||
scripts["Notification Center (SwayNC)"]="swaync-client -t -sw"
|
||||
|
||||
selected=$(printf "%s\n" "${!scripts[@]}" | anyrun --plugins libstdin.so)
|
||||
|
||||
command="${scripts[$selected]}"
|
||||
$command
|
||||
Loading…
Add table
Add a link
Reference in a new issue