From 2109ccec2670c73fbc80f562390c7e0459da1e21 Mon Sep 17 00:00:00 2001 From: MeexReay Date: Sun, 7 Sep 2025 22:54:56 +0300 Subject: [PATCH] add wofi keybind and fix intellihide --- flake.nix | 2 +- modules/gnome-quirks/default.nix | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 0b6c9ba..b8fbffd 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ inputs.nix-flatpak.homeManagerModules.nix-flatpak ]; - home-manager.backupFileExtension = "backup975"; + home-manager.backupFileExtension = "backup977"; } ]; }; diff --git a/modules/gnome-quirks/default.nix b/modules/gnome-quirks/default.nix index b27900e..29f8157 100644 --- a/modules/gnome-quirks/default.nix +++ b/modules/gnome-quirks/default.nix @@ -31,8 +31,8 @@ gtk3.extraConfig.gtk-application-prefer-dark-theme = 1; }; - # qt.enable = true; - # qt.style.name = "adwaita-dark"; + qt.enable = true; + qt.style.name = "adwaita-dark"; dconf.settings = { "org/gnome/desktop/interface" = { @@ -86,7 +86,6 @@ move-to-workspace-8 = ["8"]; move-to-workspace-9 = ["9"]; move-to-workspace-10 = ["0"]; - show-desktop = ["d"]; close = ["F4" "Q"]; toggle-fullscreen = ["f"]; }; @@ -96,6 +95,7 @@ "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/" ]; }; "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { @@ -111,11 +111,17 @@ enable-in-lockscreen = true; }; "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = { - binding = "o"; # that doesnt work by some reason + binding = "o"; # that doesnt work for some reason command = "gnome-calculator"; name = "gnome calculator keybind"; enable-in-lockscreen = true; }; + "org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3" = { + binding = "d"; + command = "wofi --show run"; + name = "wofi keybind"; + enable-in-lockscreen = true; + }; "org/gnome/shell/keybindings" = { switch-to-application-1 = []; switch-to-application-2 = []; @@ -145,7 +151,7 @@ animate-show-apps = true; apply-custom-theme = false; apply-glossy-effect = false; - autohide = false; + autohide = true; background-opacity = 0.8; custom-theme-customize-running-dots = true; custom-theme-running-dots-border-width = 0; @@ -158,7 +164,7 @@ height-fraction = 0.9; icon-size-fixed = false; intellihide = true; - intellihide-mode = "ALWAYS_ON_TOP"; + intellihide-mode = "MAXIMIZED_WINDOWS"; isolate-locations = true; max-alpha = 0.8; preferred-monitor = -2;