From cc52a305c51fcce9a54319ede9d40a3a924b23b6 Mon Sep 17 00:00:00 2001 From: Kajus Naujokaitis Date: Wed, 9 Oct 2024 13:08:34 +0300 Subject: [PATCH] Fix power menu bug and change bg image Signed-off-by: Kajus Naujokaitis --- modules/desktop/graphics/ewwbar.nix | 6 +++--- modules/desktop/graphics/labwc.nix | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/desktop/graphics/ewwbar.nix b/modules/desktop/graphics/ewwbar.nix index eb21f41b9..ca10bcb1c 100644 --- a/modules/desktop/graphics/ewwbar.nix +++ b/modules/desktop/graphics/ewwbar.nix @@ -498,15 +498,15 @@ in (widget_button :icon "${power-icon}" :header "Shutdown" - :onclick "${eww-popup}/bin/eww-popup power-menu; ${eww-power}/bin/eww-power poweroff") + :onclick "${eww-popup}/bin/eww-popup power-menu & ${eww-power}/bin/eww-power poweroff &") (widget_button :icon "${suspend-icon}" :header "Suspend" - :onclick "${eww-popup}/bin/eww-popup power-menu; ${eww-power}/bin/eww-power suspend") + :onclick "${eww-popup}/bin/eww-popup power-menu & ${eww-power}/bin/eww-power suspend &") (widget_button :icon "${restart-icon}" :header "Reboot" - :onclick "${eww-popup}/bin/eww-popup power-menu; ${eww-power}/bin/eww-power reboot") + :onclick "${eww-popup}/bin/eww-popup power-menu & ${eww-power}/bin/eww-power reboot &") )) (defwidget settings_buttons [] (box diff --git a/modules/desktop/graphics/labwc.nix b/modules/desktop/graphics/labwc.nix index 337e47c4a..0d1769abf 100644 --- a/modules/desktop/graphics/labwc.nix +++ b/modules/desktop/graphics/labwc.nix @@ -34,7 +34,7 @@ in }; wallpaper = lib.mkOption { type = lib.types.path; - default = "${pkgs.ghaf-artwork}/ghaf-wallpaper.png"; + default = "${pkgs.ghaf-artwork}/ghaf-desert-sunset.jpg"; description = "Path to the wallpaper image"; }; frameColouring = lib.mkOption {