Merge branch 'main' of https://git.marty.tf/marty/config.nix
This commit is contained in:
commit
d0413cb830
15 changed files with 219 additions and 130 deletions
|
|
@ -15,7 +15,7 @@
|
|||
default = [
|
||||
",preferred,auto,1"
|
||||
];
|
||||
description = ''declare monitors'';
|
||||
description = "declare monitors";
|
||||
};
|
||||
workspaces = {
|
||||
workspaces = lib.mkOption {
|
||||
|
|
@ -32,11 +32,11 @@
|
|||
) config.desktop.hyprland.workspaces.amount
|
||||
)
|
||||
);
|
||||
description = ''declare workspace'';
|
||||
description = "declare workspace";
|
||||
};
|
||||
amount = lib.mkOption {
|
||||
default = 9;
|
||||
description = ''declare workspace amount'';
|
||||
description = "declare workspace amount";
|
||||
};
|
||||
};
|
||||
numlock = lib.mkEnableOption "numlock by default";
|
||||
|
|
@ -78,6 +78,11 @@
|
|||
settings = {
|
||||
monitor = config.desktop.hyprland.monitors;
|
||||
workspace = config.desktop.hyprland.workspaces.workspaces;
|
||||
env = [
|
||||
"XDG_CURRENT_DESKTOP,Hyprland"
|
||||
"XDG_SESSION_TYPE,wayland"
|
||||
"XDG_SESSION_DESKTOP,Hyprland"
|
||||
];
|
||||
exec-once = [
|
||||
#"hyprctl plugin load "
|
||||
(lib.mkIf (config.desktop.walker.enable) "elephant")
|
||||
|
|
@ -87,6 +92,7 @@
|
|||
(lib.mkIf (config.desktop.wallpaper.enable) "waypaper --restore --random")
|
||||
(lib.mkIf (config.gaming.steam.enable) "adwaita-steam-gtk -u; steam -silent")
|
||||
(lib.mkIf (config.internet.mail.providers.protonmail.enable) "protonmail-bridge -n")
|
||||
"echo $HYPRLAND_INSTANCE_SIGNATURE > ~/.config/hypr/instance_signature"
|
||||
];
|
||||
"$mod" = "SUPER";
|
||||
"$shiftmod" = "SUPER_SHIFT";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue