From 63302aa483051a99e6e48f79684029b295fc7223 Mon Sep 17 00:00:00 2001 From: luqmanishere Date: Tue, 7 May 2024 08:23:16 +0800 Subject: [PATCH] hyprland: group keybinds, animations --- home/wayland-shell/hyprland/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/wayland-shell/hyprland/default.nix b/home/wayland-shell/hyprland/default.nix index b2dfceb..8cc3152 100644 --- a/home/wayland-shell/hyprland/default.nix +++ b/home/wayland-shell/hyprland/default.nix @@ -169,6 +169,7 @@ in { "SUPERSHIFT, O, toggleopaque" "SUPERSHIFT, J, workspaceopt, allfloat" "SUPER, G, togglegroup" + "SUPERSHIFT, G, moveintogroup" "SUPER, grave, changegroupactive, f" "SUPER, left, movefocus, l" @@ -240,6 +241,7 @@ in { "border, 1, 10, default" "fade, 1, 10, default" "workspaces, 1, 6, default" + "specialWorkspace, 1, 10, default, slidefadevert" ]; }; extraConfig = builtins.readFile ./hyprland.conf; @@ -263,6 +265,7 @@ in { ${pkgs.pipewire}/bin/pw-cli i all 2>&1 | ${pkgs.ripgrep}/bin/rg running -q # only suspend if audio isn't running if [ $? == 1 ]; then + exit ${pkgs.systemd}/bin/systemctl suspend fi '';