linted
This commit is contained in:
atagen 2025-02-02 16:57:31 +11:00
parent 4e99a0e323
commit 7485de646a
95 changed files with 2743 additions and 2282 deletions

View file

@ -3,10 +3,12 @@
lib,
inputs,
...
}: let
rice = pkgs.rice;
}:
let
inherit (pkgs) rice;
palette = pkgs.lib.nix-rice.palette.toRGBShortHex rice.palette;
in {
in
{
programs.hyprlock = {
# enable = true;
};
@ -24,23 +26,25 @@ in {
package = inputs.hyprland.packages.x86_64-linux.hyprland;
systemd = {
enable = true;
variables = ["--all"];
variables = [ "--all" ];
};
settings = {
"$mainMod" = "SUPER";
general = let
inherit (rice.borders) thickness;
inherit (palette) normal;
in {
inherit (rice.borders) gaps_in gaps_out;
border_size = thickness;
layout = "dwindle";
"col.inactive_border" = "rgb(${normal.black})";
"col.active_border" = "rgb(${normal.yellow})";
"col.nogroup_border" = "rgb(${normal.black})";
"col.nogroup_border_active" = "rgb(${normal.yellow})";
snap.enabled = true;
};
general =
let
inherit (rice.borders) thickness;
inherit (palette) normal;
in
{
inherit (rice.borders) gaps_in gaps_out;
border_size = thickness;
layout = "dwindle";
"col.inactive_border" = "rgb(${normal.black})";
"col.active_border" = "rgb(${normal.yellow})";
"col.nogroup_border" = "rgb(${normal.black})";
"col.nogroup_border_active" = "rgb(${normal.yellow})";
snap.enabled = true;
};
cursor = {
no_hardware_cursors = true;
};
@ -77,16 +81,17 @@ in {
"HDMI-A-2, 1920x1080@60, auto-left, 1"
"Unknown-1, disable"
];
bind = let
makeDirBind = bind: extraMods:
lib.mapAttrsToList (key: dir: "$mainMod${extraMods}, ${key}, ${bind}, ${dir}")
{
h = "l";
j = "d";
k = "u";
l = "r";
};
in
bind =
let
makeDirBind =
bind: extraMods:
lib.mapAttrsToList (key: dir: "$mainMod${extraMods}, ${key}, ${bind}, ${dir}") {
h = "l";
j = "d";
k = "u";
l = "r";
};
in
[
"$mainMod, Return, exec, ${lib.getExe pkgs.kitty}"
]