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

This commit is contained in:
Penelope Gwen 2025-06-30 13:15:02 -07:00
parent 42cb63afe8
commit e718def95c
2 changed files with 6 additions and 5 deletions

View file

@ -12,11 +12,11 @@
:orientation "h"
:space-evenly false
:halign "center"
(button :onclick 'scripts/bar/powermenu reboot system-reboot-symbolic'
(button :onclick 'scripts/bar/powermenu reboot system-reboot-symbolic "systemctl reboot"'
"")
(button :onclick 'scripts/bar/powermenu suspend weather-clear-night-symbolic'
(button :onclick 'scripts/bar/powermenu suspend weather-clear-night-symbolic "systemctl suspend"'
"")
(button :onclick 'scripts/bar/powermenu lock system-lock-screen-symbolic'
(button :onclick 'scripts/bar/powermenu lock system-lock-screen-symbolic "sp-lock"'
"")
(button :onclick 'scripts/bar/powermenu logout system-log-out-symbolic'
(button :onclick 'scripts/bar/powermenu logout system-log-out-symbolic "swaymsg exit"'
"")))

View file

@ -2,7 +2,8 @@
action="${1}"
action_icon="${2}"
command="${3}"
yad --image "${action_icon}" --title "Really ${action}?" --button=gtk-yes:0 --button=gtk-no:1 --text 'test'
yad --image "${action_icon}" --title "Really ${action}?" --button=gtk-yes:0 --button=gtk-no:1 --text "Really ${action}?\n $ ${command} "
#printf 'test\ntest' | wofi --columns=2 --show dmenu