New backup 2025-06-30 13:30:02

This commit is contained in:
Penelope Gwen 2025-06-30 13:30:02 -07:00
parent e718def95c
commit 678a7b891e
2 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@
(revealer-on-hover
:revealvar reveal_powermenu
:revealvar-name "reveal_powermenu"
(button :onclick 'sp-powermenu'
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
"")
(powermenu_children)))

View file

@ -4,6 +4,8 @@ action="${1}"
action_icon="${2}"
command="${3}"
yad --image "${action_icon}" --title "Really ${action}?" --button=gtk-yes:0 --button=gtk-no:1 --text "Really ${action}?\n $ ${command} "
#yad --image "${action_icon}" --title "Really ${action}?" --button=gtk-yes:0 --button=gtk-no:1 --text "Really ${action}?\n $ ${command} "
if zenity --question --icon="${action_icon}" --title "Really ${action}?" --text "$ ${command} ";then
bash -c "${command}"
fi
#printf 'test\ntest' | wofi --columns=2 --show dmenu