New backup 2025-06-30 13:30:02
This commit is contained in:
parent
e718def95c
commit
678a7b891e
2 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_powermenu
|
:revealvar reveal_powermenu
|
||||||
:revealvar-name "reveal_powermenu"
|
:revealvar-name "reveal_powermenu"
|
||||||
(button :onclick 'sp-powermenu'
|
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
|
||||||
"")
|
"")
|
||||||
(powermenu_children)))
|
(powermenu_children)))
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ action="${1}"
|
||||||
action_icon="${2}"
|
action_icon="${2}"
|
||||||
command="${3}"
|
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
|
#printf 'test\ntest' | wofi --columns=2 --show dmenu
|
||||||
|
|
Loading…
Add table
Reference in a new issue