Compare commits
2
Commits
82a6ecf8b3
...
3556524850
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3556524850 | ||
|
|
ae280f10b8 |
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ in
|
|||||||
./firefox.nix
|
./firefox.nix
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./nixvim.nix
|
./nixvim.nix
|
||||||
./hyprland.nix
|
./niri.nix
|
||||||
./kitty.nix
|
./kitty.nix
|
||||||
./rofi
|
./rofi
|
||||||
];
|
];
|
||||||
|
|||||||
+1
-4
@@ -1,10 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
programs.firefox.enable = config.nix-leonhard.graphical.enable;
|
||||||
programs.firefox.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
|
|
||||||
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
|
||||||
home.packages = with pkgs; [ nordzy-cursor-theme ];
|
|
||||||
|
|
||||||
programs.waybar.enable = true;
|
|
||||||
|
|
||||||
wayland.windowManager.hyprland =
|
|
||||||
let
|
|
||||||
# workspaces
|
|
||||||
# binds $mod/alt + [shift +] {1..9} to [move to] workspace {1..9}
|
|
||||||
workspaces = builtins.concatLists (
|
|
||||||
builtins.genList (
|
|
||||||
i:
|
|
||||||
let
|
|
||||||
ws = toString (i + 1);
|
|
||||||
in
|
|
||||||
[
|
|
||||||
"$mod,${ws},workspace,${ws}"
|
|
||||||
"ALT,${ws},workspace,${ws}"
|
|
||||||
"$mod SHIFT,${ws},movetoworkspace,${ws}"
|
|
||||||
"ALTSHIFT,${ws},movetoworkspace,${ws}"
|
|
||||||
]
|
|
||||||
) 9
|
|
||||||
);
|
|
||||||
in
|
|
||||||
{
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.hyprland;
|
|
||||||
|
|
||||||
xwayland.enable = true;
|
|
||||||
|
|
||||||
settings = {
|
|
||||||
env = [
|
|
||||||
"HYPRCURSOR_THEME,Nordzy-cursors"
|
|
||||||
"HYPRCURSOR_SIZE,26"
|
|
||||||
];
|
|
||||||
monitor = [
|
|
||||||
",1920x1080@60,0x0,1"
|
|
||||||
];
|
|
||||||
"$mod" = "SUPER";
|
|
||||||
"$launcher" = "rofi -show drun";
|
|
||||||
bindr = [
|
|
||||||
"$mod,Super_L,exec,pkill rofi || $launcher"
|
|
||||||
];
|
|
||||||
bind = [
|
|
||||||
"ALTSHIFT,Q,killactive,"
|
|
||||||
"ALT,V,togglefloating,"
|
|
||||||
"ALT,F,fullscreen,1"
|
|
||||||
"ALTSHIFT,F,fullscreen,0"
|
|
||||||
"$mod,Return,exec,kitty"
|
|
||||||
"$mod,F,exec,firefox"
|
|
||||||
|
|
||||||
"ALT,H,movefocus,l"
|
|
||||||
"ALT,L,movefocus,r"
|
|
||||||
"ALT,K,movefocus,u"
|
|
||||||
"ALT,J,movefocus,d"
|
|
||||||
"ALTSHIFT,H,movewindow,l"
|
|
||||||
"ALTSHIFT,L,movewindow,r"
|
|
||||||
"ALTSHIFT,K,movewindow,u"
|
|
||||||
"ALTSHIFT,J,movewindow,d"
|
|
||||||
]
|
|
||||||
++ workspaces;
|
|
||||||
|
|
||||||
windowrule = "border_size 0, match:fullscreen_state_client 1";
|
|
||||||
|
|
||||||
general = {
|
|
||||||
gaps_in = 2;
|
|
||||||
gaps_out = 2;
|
|
||||||
"col.active_border" = "0xff888888";
|
|
||||||
};
|
|
||||||
animations.animation = [
|
|
||||||
"windows,1,4,default"
|
|
||||||
"border,1,5,default"
|
|
||||||
"fadeIn,1,5,default"
|
|
||||||
"workspaces,1,3,default"
|
|
||||||
];
|
|
||||||
|
|
||||||
dwindle.force_split = 2;
|
|
||||||
cursor.no_warps = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
||||||
|
wayland.windowManager.niri = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
input.keyboard.numlock = { };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
../options.nix
|
../options.nix
|
||||||
|
|
||||||
./fish.nix
|
./fish.nix
|
||||||
./hyprland.nix
|
./niri.nix
|
||||||
./ly.nix
|
./ly.nix
|
||||||
./nix.nix
|
./nix.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
|
||||||
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
|
||||||
programs.hyprland.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
+1
-4
@@ -1,10 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
config = lib.mkIf config.nix-leonhard.graphical.enable {
|
services.displayManager.ly.enable = config.nix-leonhard.graphical.enable;
|
||||||
services.displayManager.ly.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
programs.niri.enable = config.nix-leonhard.graphical.enable;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user