From 7f49730f8f8fcc7411821947384fd567ec7cd9e3 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Thu, 10 Aug 2023 14:43:45 +0200 Subject: [PATCH] changed suspend behaviour --- home/gnome.nix | 5 +++-- home/packages.nix | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home/gnome.nix b/home/gnome.nix index 6508c24..5aa2bea 100644 --- a/home/gnome.nix +++ b/home/gnome.nix @@ -45,8 +45,8 @@ ]; }; "org/gnome/settings-daemon/plugins/power" = { - sleep-inactive-ac-type = "nothing"; - power-button-action = "interactive"; + sleep-inactive-ac-type = "nothing"; # Automatic suspend/hibernation creates a suspend/hibernation loop + power-button-action = "suspend"; }; "org/gnome/mutter" = { edge-tiling = true; @@ -62,6 +62,7 @@ "places-menu@gnome-shell-extensions.gcampax.github.com" "launch-new-instance@gnome-shell-extensions.gcampax.github.com" "trayIconsReloaded@selfmade.pl" + "espresso@coadmunkee.github.com" ]; }; } diff --git a/home/packages.nix b/home/packages.nix index 06e355b..e9e9be6 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -32,4 +32,5 @@ with pkgs; [ # Gnome extension gnomeExtensions.quick-settings-audio-panel gnomeExtensions.tray-icons-reloaded + gnomeExtensions.espresso ]