2024-06-09 22:43:19 +02:00
|
|
|
{ ... }:
|
2024-05-24 21:33:00 +02:00
|
|
|
|
|
|
|
{
|
2024-06-23 14:40:05 +02:00
|
|
|
services.hyprpaper = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
ipc = "on";
|
|
|
|
splash = false;
|
|
|
|
preload = [
|
|
|
|
"/nix/config/assets/wallpaper.jpg"
|
|
|
|
];
|
|
|
|
wallpaper = [
|
|
|
|
",/nix/config/assets/wallpaper.jpg"
|
|
|
|
];
|
2024-05-24 21:33:00 +02:00
|
|
|
};
|
2024-06-23 14:40:05 +02:00
|
|
|
};
|
2024-05-24 21:33:00 +02:00
|
|
|
|
2024-06-23 14:40:05 +02:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
enable = true;
|
|
|
|
systemd = {
|
|
|
|
enable = true;
|
|
|
|
variables = [ "--all" ];
|
2024-05-24 21:33:00 +02:00
|
|
|
};
|
2024-06-23 14:40:05 +02:00
|
|
|
settings = {
|
|
|
|
"$mod" = "SUPER";
|
|
|
|
"$terminal" = "foot";
|
|
|
|
"$menu" = "rofi -show drun";
|
2024-05-24 21:33:00 +02:00
|
|
|
|
2024-06-23 14:40:05 +02:00
|
|
|
monitor = "DP-1,1920x1080@144,auto,1";
|
2024-05-24 21:33:00 +02:00
|
|
|
|
2024-06-23 14:40:05 +02:00
|
|
|
input = {
|
|
|
|
kb_layout = "gb:intl";
|
|
|
|
follow_mouse = 1;
|
2024-05-24 21:33:00 +02:00
|
|
|
};
|
|
|
|
|
2024-06-23 14:40:05 +02:00
|
|
|
general = {
|
|
|
|
gaps_in = 5;
|
|
|
|
gaps_out = 10;
|
|
|
|
border_size = 1;
|
|
|
|
layout = "master";
|
|
|
|
allow_tearing = true;
|
|
|
|
"col.inactive_border" = "rgb(242424)";
|
|
|
|
"col.active_border" = "rgb(3584E4)";
|
|
|
|
};
|
2024-05-24 21:33:00 +02:00
|
|
|
|
2024-06-23 14:40:05 +02:00
|
|
|
master = {
|
|
|
|
new_is_master = false;
|
|
|
|
mfact = 0.5;
|
|
|
|
};
|
|
|
|
|
|
|
|
decoration = {
|
|
|
|
rounding = 5;
|
|
|
|
blur = {
|
|
|
|
enabled = true;
|
|
|
|
size = 3;
|
|
|
|
passes = 1;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
bindm = [
|
|
|
|
"$mod, mouse:272, movewindow"
|
|
|
|
"$mod, mouse:273, resizewindow"
|
2024-05-24 21:33:00 +02:00
|
|
|
];
|
2024-06-23 14:40:05 +02:00
|
|
|
|
|
|
|
bind = [
|
|
|
|
"$mod, P, exec, $menu"
|
|
|
|
"$mod, RETURN, exec, $terminal"
|
|
|
|
|
|
|
|
"$mod SHIFT, C, killactive"
|
|
|
|
"$mod, SPACE, togglefloating"
|
|
|
|
"$mod SHIFT, M, exit,"
|
|
|
|
|
|
|
|
"$mod SHIFT, RETURN, layoutmsg, swapwithmaster"
|
|
|
|
"$mod SHIFT, h, layoutmsg, mfact -0.05"
|
|
|
|
"$mod SHIFT, l, layoutmsg, mfact +0.05"
|
|
|
|
|
|
|
|
"$mod, h, movefocus, l"
|
|
|
|
"$mod, j, movefocus, d"
|
|
|
|
"$mod, k, movefocus, u"
|
|
|
|
"$mod, l, movefocus, r"
|
|
|
|
|
|
|
|
"$mod, 1, workspace, 1"
|
|
|
|
"$mod, 2, workspace, 2"
|
|
|
|
"$mod, 3, workspace, 3"
|
|
|
|
"$mod, 4, workspace, 4"
|
|
|
|
"$mod, 5, workspace, 5"
|
|
|
|
"$mod, 6, workspace, 6"
|
|
|
|
"$mod, 7, workspace, 7"
|
|
|
|
"$mod, 8, workspace, 8"
|
|
|
|
"$mod, 9, workspace, 9"
|
|
|
|
|
|
|
|
"$mod SHIFT, 1, movetoworkspace, 1"
|
|
|
|
"$mod SHIFT, 2, movetoworkspace, 2"
|
|
|
|
"$mod SHIFT, 3, movetoworkspace, 3"
|
|
|
|
"$mod SHIFT, 4, movetoworkspace, 4"
|
|
|
|
"$mod SHIFT, 5, movetoworkspace, 5"
|
|
|
|
"$mod SHIFT, 6, movetoworkspace, 6"
|
|
|
|
"$mod SHIFT, 7, movetoworkspace, 7"
|
|
|
|
"$mod SHIFT, 8, movetoworkspace, 8"
|
|
|
|
"$mod SHIFT, 9, movetoworkspace, 9"
|
|
|
|
];
|
|
|
|
|
|
|
|
exec-once = [
|
|
|
|
"ags"
|
2024-05-24 21:33:00 +02:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|