From dacb40c610f24933c7fb1a12c9018a3ca6528ec2 Mon Sep 17 00:00:00 2001 From: joygnu Date: Fri, 5 Jul 2024 20:32:21 +0200 Subject: [PATCH] stylix --- home/hyprland/default.nix | 26 ++++++++++++-------------- home/rofi/default.nix | 3 +-- modules/stylix/default.nix | 2 +- 3 files changed, 14 insertions(+), 17 deletions(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 5f42adb..e6ea133 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -61,8 +61,6 @@ "$mod, Q, killactive" "$mod, W, togglefloating" "$mod, R, togglesplit" - "$mod, K, exec, amixer -q sset Master 5%+" - "$mod, J, exec, amixer -q sset Master 5%-" "$mod+shift, S, exec, systemctl suspend" "$mod+shift, M, exit, hyprland" @@ -75,22 +73,22 @@ # Move focus "$mod, Return, fullscreen" - "$mod, left, movefocus, l" - "$mod, right, movefocus, r" - "$mod, up, movefocus, u" - "$mod, down, movefocus, d" + "$mod, H, movefocus, l" + "$mod, L, movefocus, r" + "$mod, K, movefocus, u" + "$mod, J, movefocus, d" # Window resizing X Y - "CTRL+SHIFT, left, resizeactive, -60 0" - "CTRL+SHIFT, right, resizeactive, 60 0" - "CTRL+SHIFT, up, resizeactive, 0 -60" - "CTRL+SHIFT, down, resizeactive, 0 60" + "CTRL+SHIFT, H, resizeactive, -60 0" + "CTRL+SHIFT, L, resizeactive, 60 0" + "CTRL+SHIFT, K, resizeactive, 0 -60" + "CTRL+SHIFT, J, resizeactive, 0 60" # Moving windows - "$mod SHIFT, left, swapwindow, l" - "$mod SHIFT, right, swapwindow, r" - "$mod SHIFT, up, swapwindow, u" - "$mod SHIFT, down, swapwindow, d" + "$mod SHIFT, H, swapwindow, l" + "$mod SHIFT, L, swapwindow, r" + "$mod SHIFT, K, swapwindow, u" + "$mod SHIFT, J, swapwindow, d" # Switch workspaces "$mod, 1, workspace, 1" diff --git a/home/rofi/default.nix b/home/rofi/default.nix index b3ab157..7693d36 100644 --- a/home/rofi/default.nix +++ b/home/rofi/default.nix @@ -4,14 +4,13 @@ programs.rofi = { enable = true; package = pkgs.rofi-wayland; - #theme = "~/nix/home/rofi/gruvbox-material.rasi"; + theme = lib.mkForce "~/nix/home/rofi/gruvbox-material.rasi"; extraConfig = { modi = "drun"; icon-theme = "Oranchelo"; show-icons = true; terminal = "alacritty"; drun-display-format = "{icon} {name}"; - # location = 5; disable-history = false; hide-scrollbar = true; display-drun = "  Apps "; diff --git a/modules/stylix/default.nix b/modules/stylix/default.nix index 6ef1f15..917df49 100644 --- a/modules/stylix/default.nix +++ b/modules/stylix/default.nix @@ -27,6 +27,6 @@ cursor.name = "Bibata-Modern-Ice"; cursor.package = pkgs.bibata-cursors; cursor.size = 24; - + fonts.sizes.desktop = 12; }; }