Added power confirmation script
This commit is contained in:
10
config
10
config
@@ -18,7 +18,7 @@
|
||||
"disable-scroll": true,
|
||||
"all-outputs": false,
|
||||
"active-only": false,
|
||||
"show-special": true,
|
||||
"show-special": false,
|
||||
"format": "{name}"
|
||||
},
|
||||
"hyprland/window": {
|
||||
@@ -109,15 +109,15 @@
|
||||
},
|
||||
"modules": [
|
||||
"custom/power", // First element is the "group leader" and won't ever be hidden
|
||||
"custom/exit",
|
||||
"custom/lock",
|
||||
"custom/exit",
|
||||
"custom/reboot",
|
||||
]
|
||||
},
|
||||
"custom/exit": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "hyprctl dispatch exit"
|
||||
"on-click": "bash ~/.config/waybar/scripts/confirm.sh \"hyprctl dispatch exit\""
|
||||
},
|
||||
"custom/lock": {
|
||||
"format": " ",
|
||||
@@ -127,11 +127,11 @@
|
||||
"custom/reboot": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "reboot"
|
||||
"on-click": "bash ~/.config/waybar/scripts/confirm.sh \"reboot\""
|
||||
},
|
||||
"custom/power": {
|
||||
"format": " ",
|
||||
"tooltip": false,
|
||||
"on-click": "shutdown now"
|
||||
"on-click": "bash ~/.config/waybar/scripts/confirm.sh \"shutdown now\""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user