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