diff --git a/home-modules/hyprland/waybar.nix b/home-modules/hyprland/waybar.nix index 1e3090a..28eca86 100644 --- a/home-modules/hyprland/waybar.nix +++ b/home-modules/hyprland/waybar.nix @@ -242,6 +242,8 @@ }; "custom/lock" = { format = ""; + # Figure out how to not crash hyprland whwn dispatching from waybar. + # on-click = "hyprctl dispatch dpms off && hyprlock"; on-click = "hyprlock"; tooltip = true; tooltip-format = "lock";