From d4fdcc86021d8330e70467e5ff2d143913970076 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 7 Jul 2024 02:21:53 -0400 Subject: [PATCH] home/aly: reorg hyprland config --- homes/aly/default.nix | 8 -------- homes/aly/windowManagers/default.nix | 6 ++++++ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/homes/aly/default.nix b/homes/aly/default.nix index b091328d..323872b9 100644 --- a/homes/aly/default.nix +++ b/homes/aly/default.nix @@ -48,14 +48,6 @@ }; }; - wayland.windowManager.hyprland.extraConfig = '' - exec-once = sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"} - bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"} - windowrulev2 = center(1),class:(org.keepassxc.KeePassXC) - windowrulev2 = float,class:(org.keepassxc.KeePassXC) - windowrulev2 = size 80% 80%,class:(org.keepassxc.KeePassXC) - ''; - ar.home = { apps = { alacritty.enable = true; diff --git a/homes/aly/windowManagers/default.nix b/homes/aly/windowManagers/default.nix index 150e809c..2cdea48c 100644 --- a/homes/aly/windowManagers/default.nix +++ b/homes/aly/windowManagers/default.nix @@ -20,6 +20,12 @@ }; hyprland.extraConfig = '' + exec-once = sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"} + bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"} + windowrulev2 = center(1),class:(org.keepassxc.KeePassXC) + windowrulev2 = float,class:(org.keepassxc.KeePassXC) + windowrulev2 = size 80% 80%,class:(org.keepassxc.KeePassXC) + # Workspace - Browser workspace = 1, defaultName:web, on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser} windowrulev2 = workspace 1,class:(firefox)