use zenity for confirm dialog in polybar
This commit is contained in:
parent
681a637d4d
commit
083ca86b62
@ -111,11 +111,11 @@ label-separator = " | "
|
||||
label-padding = 2
|
||||
|
||||
menu-0-0 = %{T2}%{T-}
|
||||
menu-0-0-exec = confirm "Shutdown now?" && shutdown now
|
||||
menu-0-0-exec = zenity --question --text="Shutdown now?" --title="Confirm Shutdown" && shutdown now
|
||||
menu-0-0-foreground = ${colors.alert}
|
||||
|
||||
menu-0-1 = %{T2}%{T-}
|
||||
menu-0-1-exec = confirm "Reboot now?" && reboot
|
||||
menu-0-1-exec = zenity --question --text="Reboot now?" --title="Confirm Reboot" && reboot
|
||||
menu-0-1-foreground = ${colors.yellow}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user