aaaaahhhh, wei forgot to do regular commits, whoopsies, have a look at the changes yourselves

This commit is contained in:
Serenity-F 2024-04-01 01:41:03 +10:00
parent be46733d6a
commit 22d2c1a713
23 changed files with 439 additions and 81 deletions

View file

@ -0,0 +1,45 @@
{ config, lib, pkgs, osConfig, ... }
{
imports = [
hyprland.homeManagerModules.default
./hyprland-environment.nix
];
home = {
packages = with pkgs; [
waybar
];
};
wayland.windowManager.hyprland = {
enable = true;
systemdIntegration = true;
settings = {
"$mod" = "SUPER";
bind = [
"$mod, F, exec, firefox"
", Print, exec, grimblast copy area"
] ++ ( # workspaces
# binds $mod + [shift+] {1..10} to [move to] workspace {1..10}
builtins.concatLists (builtins.genList (
x: let
ws = let
c = (x + 1) / 10;
in
builtins.toString (x + 1 - (c * 10));
in [
"$mod, ${ws}, workspace, ${toString (x + 1)}"
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
]
)
10)
);
};
};
home.stateVersion = "23.11";
}