mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 04:31:54 -05:00
aly: move hyprland config to nix
This commit is contained in:
parent
11da0cb344
commit
999d824edb
|
@ -19,40 +19,36 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
hyprland.extraConfig = ''
|
hyprland.settings = {
|
||||||
exec-once = sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"}
|
bind = [
|
||||||
bind = SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"}
|
"SUPER SHIFT, N, movetoworkspace, special:notes"
|
||||||
windowrulev2 = center(1),class:(org.keepassxc.KeePassXC)
|
"SUPER, N, togglespecialworkspace, notes"
|
||||||
windowrulev2 = float,class:(org.keepassxc.KeePassXC)
|
"SUPER, P, exec, ${lib.getExe' pkgs.keepassxc "keepassxc"}"
|
||||||
windowrulev2 = size 80% 80%,class:(org.keepassxc.KeePassXC)
|
];
|
||||||
|
|
||||||
# Workspace - Browser
|
exec-once = ["sleep 1 && ${lib.getExe' pkgs.keepassxc "keepassxc"}"];
|
||||||
workspace = 1, defaultName:web, on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser}
|
|
||||||
windowrulev2 = workspace 1,class:(firefox)
|
|
||||||
windowrulev2 = workspace 1,class:(brave-browser)
|
|
||||||
|
|
||||||
# Workspace - Coding
|
windowrulev2 = [
|
||||||
workspace = 2, defaultName:code, on-created-empty:${lib.getExe config.ar.home.defaultApps.editor}
|
"center(1),class:(org.keepassxc.KeePassXC)"
|
||||||
windowrulev2 = workspace 2,class:(codium-url-handler)
|
"float,class:(org.keepassxc.KeePassXC)"
|
||||||
windowrulev2 = workspace 2,class:(dev.zed.Zed)
|
"size 80% 80%,class:(org.keepassxc.KeePassXC)"
|
||||||
|
"workspace 1,class:(brave-browser)"
|
||||||
|
"workspace 1,class:(firefox)"
|
||||||
|
"workspace 2,class:(codium-url-handler)"
|
||||||
|
"workspace 2,class:(dev.zed.Zed)"
|
||||||
|
"workspace 3,class:(firework)"
|
||||||
|
"workspace 3,class:(google-chrome)"
|
||||||
|
"workspace special:magic,class:(WebCord)"
|
||||||
|
"workspace special:magic,class:(org.gnome.Fractal)"
|
||||||
|
];
|
||||||
|
|
||||||
# Workspace - Work
|
workspace = [
|
||||||
windowrulev2 = workspace 3,class:(google-chrome)
|
"1, defaultName:web, on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser}"
|
||||||
windowrulev2 = workspace 3,class:(firework)
|
"2, defaultName:code, on-created-empty:${lib.getExe config.ar.home.defaultApps.editor}"
|
||||||
|
"special:magic, on-created-empty:${lib.getExe pkgs.fractal}"
|
||||||
# Scratchpad Chat
|
"special:notes, on-created-empty:${lib.getExe' pkgs.obsidian "obsidian"}"
|
||||||
# bind = SUPER, S, togglespecialworkspace, magic
|
];
|
||||||
# bind = SUPER SHIFT, W, movetoworkspace, special:magic
|
};
|
||||||
workspace = special:magic, on-created-empty:${lib.getExe pkgs.fractal}
|
|
||||||
windowrulev2 = workspace special:magic,class:(org.gnome.Fractal)
|
|
||||||
windowrulev2 = workspace special:magic,class:(WebCord)
|
|
||||||
|
|
||||||
# Scratchpad Notes
|
|
||||||
bind = SUPER, N, togglespecialworkspace, notes
|
|
||||||
bind = SUPER SHIFT, N, movetoworkspace, special:notes
|
|
||||||
workspace = special:notes, on-created-empty:${lib.getExe' pkgs.obsidian "obsidian"}
|
|
||||||
# windowrulev2 = workspace special:notes,class:(obsidian)
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ar.home.desktop.hyprland.monitors = [
|
ar.home.desktop.hyprland.monitors = [
|
||||||
|
|
Loading…
Reference in a new issue