From b18f7d99ae1cc96c44733a11e2e7778f994c1d18 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Mon, 19 Jun 2023 16:50:58 +0100 Subject: [PATCH] Add fractal matrix client, make rofi keybind toggle state --- home/desktop/hyprland.nix | 8 ++++---- home/gui/default.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/home/desktop/hyprland.nix b/home/desktop/hyprland.nix index 89817589..fca7cd08 100644 --- a/home/desktop/hyprland.nix +++ b/home/desktop/hyprland.nix @@ -103,7 +103,7 @@ in { bind = SUPER, E, exec, power-profiles bind = SUPER, P, exec, powermenu bind = SUPER, V, togglefloating, - bind = SUPER, Space, exec, rofi -show drun + bind = SUPER, Space, exec, pkill rofi || rofi -show drun bind = SUPER, S, exec, grim -g "$(slurp)" bind = SUPER, F1, exec, swaylock bind = SUPER, W, exec, firefox @@ -112,8 +112,8 @@ in { bind = SUPER, A, bringactivetotop bind = , XF86AudioMute, exec, pamixer -t - bind = , XF86AudioRaiseVolume, exec, pamixer -i 2 - bind = , XF86AudioLowerVolume, exec, pamixer -d 2 + binde = , XF86AudioRaiseVolume, exec, pamixer -i 2 + binde = , XF86AudioLowerVolume, exec, pamixer -d 2 # Move focus with mainMod + arrow keys bind = SUPER, left, movefocus, l @@ -195,7 +195,7 @@ in { windowrule = move 2% 6%, ^(otpclient)$ windowrule = workspace 2, ^(firefox)$ - windowrule = workspace 3 silent, ^(Element|Signal|discord)$ + windowrule = workspace 3 silent, ^(Signal|fractal|discord|teams-for-linux)$ ''; xdg.configFile."hypr/macchiato.conf".text = '' $rosewaterAlpha = f4dbd6 diff --git a/home/gui/default.nix b/home/gui/default.nix index e7abe619..433a87fb 100644 --- a/home/gui/default.nix +++ b/home/gui/default.nix @@ -1,4 +1,4 @@ {pkgs, ...}: { imports = [./firefox.nix ./wezterm.nix]; - home.packages = with pkgs; [signal-desktop bitwarden otpclient]; + home.packages = with pkgs; [bitwarden otpclient signal-desktop fractal ]; }