diff --git a/home-manager/hyprland/hyprland-settings.nix b/home-manager/hyprland/hyprland-settings.nix index 175295a..6e6cf49 100644 --- a/home-manager/hyprland/hyprland-settings.nix +++ b/home-manager/hyprland/hyprland-settings.nix @@ -217,8 +217,6 @@ in '' Shift_L, Print, exec, ${grim} -g "$(${slurp} -d)" ~/Pictures/$(date +'%s_grim.png')'' "$mainMod, SPACE, exec, ${rofi} -modi drun -show drun -config ~/.config/rofi/rofidmenu.rasi" - " , XF86MonBrightnessUp, exec, ${brightnessctl} s +5%" - " , XF86MonBrightnessDown, exec, ${brightnessctl} s 5%-" " , XF86AudioPlay, exec, ${playerctl} play-pause" " , XF86AudioNext, exec, ${playerctl} next" " , XF86AudioPrev, exec, ${playerctl} previous" @@ -229,11 +227,10 @@ in "$mainMod, right, movefocus, r" "$mainMod, up, movefocus, u" "$mainMod, down, movefocus, d" - "$mainMod SHIFT, left, resizeactive, -30 0" - "$mainMod SHIFT, right, resizeactive, 30 0" - "$mainMod SHIFT, up, resizeactive, 0 -30" - "$mainMod SHIFT, down, resizeactive, 0 30" - + "$mainMod CTRL, left, movewindow, l" + "$mainMod CTRL, right, movewindow, r" + "$mainMod CTRL, up, movewindow, u" + "$mainMod CTRL, down, movewindow, d" # Switch workspaces with mainMod + [0-9] "$mainMod, 1, workspace, 1" @@ -267,6 +264,18 @@ in # "ALT, Tab, bringactivetotop," ]; + # e = repeat when held + binde = + let brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl"; + in [ + " , XF86MonBrightnessUp, exec, ${brightnessctl} s +5%" + " , XF86MonBrightnessDown, exec, ${brightnessctl} s 5%-" + "$mainMod SHIFT, left, resizeactive, -30 0" + "$mainMod SHIFT, right, resizeactive, 30 0" + "$mainMod SHIFT, up, resizeactive, 0 -30" + "$mainMod SHIFT, down, resizeactive, 0 30" + ]; + bindm = [ # Move/resize windows with mainMod + LMB/RMB and dragging "$mainMod, mouse:272, movewindow" diff --git a/modules/graphical/hyprland.nix b/modules/graphical/hyprland.nix index df6aaba..07f095b 100644 --- a/modules/graphical/hyprland.nix +++ b/modules/graphical/hyprland.nix @@ -48,6 +48,7 @@ in { cava dex # starts applications according to .desktop files hyprshade + #waybar #qt5.qtwayland #qt6.qmake #qt6.qtwayland diff --git a/pkgs/lact/default.nix b/pkgs/lact/default.nix index e8b59c5..1b10170 100644 --- a/pkgs/lact/default.nix +++ b/pkgs/lact/default.nix @@ -17,19 +17,19 @@ rustPlatform.buildRustPackage rec { pname = "lact"; - version = "0.7.1"; + version = "0.7.2"; src = fetchFromGitHub { owner = "ilya-zlobintsev"; repo = "LACT"; - #rev = "v${version}"; - #hash = "sha256-zaN6CQSeeoYFxLO6E1AMKAjeNOcPi2OsGfYkvZLPKcw="; - rev = "e472dec45682f96a272b77d368791121e10ba7da"; - hash = "sha256-d081f49ojJzz0N28lIu3NZ8SSvSuoz2HfjQl5Zu8PpU="; + rev = "v${version}"; + hash = "sha256-6nNt/EnJKHdldjpCW2pLPBkU5TLGEaqtnUUBraeRa3I="; + #rev = "e472dec45682f96a272b77d368791121e10ba7da"; + #hash = "sha256-d081f49ojJzz0N28lIu3NZ8SSvSuoz2HfjQl5Zu8PpU="; }; useFetchCargoVendor = true; - cargoHash = "sha256-vc8KqMov2Og5wRS4b9n9Vixtg4vwCM/MlkCDbqsG3Kg="; + cargoHash = "sha256-NoWngD0LJ+cteoQIJ0iye0MZgmLuuxN2YHHyMqeEABc="; nativeBuildInputs = [ blueprint-compiler pkg-config wrapGAppsHook4 rustPlatform.bindgenHook ];