mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 02:31:54 -05:00
aly/hyprland: rework workspaces and autostart apps
This commit is contained in:
parent
7b1a5e304e
commit
58b6d95f83
|
@ -51,11 +51,18 @@
|
||||||
|
|
||||||
hyprland.settings = {
|
hyprland.settings = {
|
||||||
bind = [
|
bind = [
|
||||||
"SUPER SHIFT,N,movetoworkspace,special:notes"
|
"SUPER,N,exec,${lib.getExe' pkgs.obsidian "obsidian"}"
|
||||||
"SUPER,N,togglespecialworkspace,notes"
|
|
||||||
"SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
|
"SUPER,P,exec,${lib.getExe pkgs.rofi-rbw-wayland}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
exec-once = [
|
||||||
|
# "${lib.getExe config.ar.home.defaultApps.webBrowser}"
|
||||||
|
# "${lib.getExe' pkgs.obsidian "obsidian"}"
|
||||||
|
# "${lib.getExe config.ar.home.defaultApps.editor}"
|
||||||
|
# "${lib.getExe pkgs.thunderbird}"
|
||||||
|
"sleep 2 && hyprctl dispatch workspace 2 && sleep 2 && hyprctl dispatch workspace 3 && sleep 2 && hyprctl dispatch workspace 4 && sleep 2 && hyprctl dispatch workspace 1;"
|
||||||
|
];
|
||||||
|
|
||||||
input.kb_options = "ctrl:nocaps";
|
input.kb_options = "ctrl:nocaps";
|
||||||
|
|
||||||
windowrulev2 = [
|
windowrulev2 = [
|
||||||
|
@ -66,20 +73,22 @@
|
||||||
"size 80% 80%,class:(Bitwarden)"
|
"size 80% 80%,class:(Bitwarden)"
|
||||||
"size 80% 80%,class:(org.keepassxc.KeePassXC)"
|
"size 80% 80%,class:(org.keepassxc.KeePassXC)"
|
||||||
"workspace 1,class:(brave-browser)"
|
"workspace 1,class:(brave-browser)"
|
||||||
"workspace 1,class:(firefox)"
|
"workspace 5,class:(firework)"
|
||||||
"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:(WebCord)"
|
||||||
"workspace special:magic,class:(org.gnome.Fractal)"
|
"workspace special:magic,class:(org.gnome.Fractal)"
|
||||||
|
# "workspace 1,class:(firefox)"
|
||||||
|
# "workspace 2,class:(obsidian)"
|
||||||
|
# "workspace 3,class:(codium-url-handler)"
|
||||||
|
# "workspace 3,class:(dev.zed.Zed)"
|
||||||
|
# "workspace 4,class:(thunderbird)"
|
||||||
];
|
];
|
||||||
|
|
||||||
workspace = [
|
workspace = [
|
||||||
"1,defaultName:web,on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser}"
|
"1,defaultName:web,on-created-empty:${lib.getExe config.ar.home.defaultApps.webBrowser}"
|
||||||
"2,defaultName:code,on-created-empty:${lib.getExe config.ar.home.defaultApps.editor}"
|
"2,defaultName:note,on-created-empty:${lib.getExe' pkgs.obsidian "obsidian"}"
|
||||||
|
"3,defaultName:code,on-created-empty:${lib.getExe config.ar.home.defaultApps.editor}"
|
||||||
|
"4,defaultName:mail,on-created-empty:${lib.getExe pkgs.thunderbird}"
|
||||||
"special:magic,on-created-empty:${lib.getExe pkgs.fractal}"
|
"special:magic,on-created-empty:${lib.getExe pkgs.fractal}"
|
||||||
"special:notes,on-created-empty:${lib.getExe' pkgs.obsidian "obsidian"}"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue