fix: hyprland breaking

This commit is contained in:
2026-05-15 13:38:03 +01:00
parent d53bba8961
commit 1977e912ee
+17 -17
View File
@@ -1,14 +1,15 @@
{ modules, ... }:
{
{modules, ...}: {
modules.hyprland = {
provides = {
doloro-settings = {
includes = [
modules.dunst
];
homeManager =
{ pkgs, home, ... }:
{
homeManager = {
pkgs,
home,
...
}: {
home.packages = [
pkgs.hyprcursor
pkgs.wlogout
@@ -95,7 +96,7 @@
];
};
dwindle = {
pseudotile = true;
# pseudotile = true;
preserve_split = true;
};
# master = {
@@ -105,10 +106,11 @@
force_default_wallpaper = -1;
disable_hyprland_logo = false;
enable_anr_dialog = false;
vfr = true;
# vfr = true;
};
"$mainMod" = "SUPER";
bind = [
bind =
[
(
let
config = pkgs.writeTextFile {
@@ -129,15 +131,14 @@
script = pkgs.writeShellScript "mreow" ''
exec $(tofi-drun -c ${config})
'';
in
"$mainMod, R, exec, ${script}"
in "$mainMod, R, exec, ${script}"
)
"$mainMod, C, killactive"
"$mainMod, M, exec, uwsm stop"
"$mainMod, Q, exec, kitty"
"$mainMod, V, togglefloating,"
"$mainMod, P, pseudo, # dwindle"
"$mainMod, J, togglesplit, # dwindle"
# "$mainMod, P, pseudo, # dwindle"
# "$mainMod, J, togglesplit, # dwindle"
"$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r"
"$mainMod, up, movefocus, u"
@@ -162,15 +163,14 @@
]
++ (builtins.concatLists (
builtins.genList (
i:
let
i: let
ws = i + 1;
in
[
in [
"$mainMod, ${toString ws}, workspace, ${toString ws}"
"$mainMod SHIFT, ${toString ws}, movetoworkspace, ${toString ws}"
]
) 9
)
9
));
bindm = [
"$mainMod, mouse:272, movewindow"