the activewindow widget now opens the appdrawer when clicked

main
The_miro 2025-05-08 17:12:10 +02:00
parent 4aa870ebac
commit d04c0a2cb9
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,7 @@
(box :orientation "h" :space-evenly false :halign "start"
(box :class "music" {"${battery}"})
(workspaceWidget :monitor monitor)
(box :onclick "scripts/windowswitcher" :class "music" {" ${activewindow}"})
(button :onclick "scripts/drawer.sh" :class "music" {" ${activewindow}"})
)
)

View File

@ -0,0 +1,3 @@
#!/bin/bash
nwg-drawer -fm "kitty -e yazi" -term kitty -wm hyprland -mb 20 -ml 20 -mr 20 -mt 20 -pblock hyprlock -pbpoweroff poweroff -pbexit "hyprctl dispatch exit" -pbreboot reboot