aly: add custom hyprland workspaces

This commit is contained in:
Aly Raffauf 2024-05-26 11:00:06 -04:00
parent effbbb725d
commit ea29c64d32

29
aly.nix
View file

@ -141,24 +141,37 @@ in {
exec-once = ${lib.getExe' pkgs.keepassxc "keepassxc"} exec-once = ${lib.getExe' pkgs.keepassxc "keepassxc"}
# Workspace - Browser # Workspace - Browser
workspace = 1,defaultName:web workspace = 1, defaultName:web, on-created-empty:${config.alyraffauf.desktop.defaultApps.webBrowser.exe}
workspace = 2,defaultName:code
# windowrulev2 = workspace name:browser,class:(firefox)
windowrulev2 = workspace 1,class:(firefox) windowrulev2 = workspace 1,class:(firefox)
windowrulev2 = workspace 1,class:(brave-browser) windowrulev2 = workspace 1,class:(brave-browser)
# Workspace - Coding # Workspace - Coding
workspace = 2, defaultName:code, on-created-empty:${config.alyraffauf.desktop.defaultApps.editor.exe}
windowrulev2 = workspace 2,class:(codium-url-handler) windowrulev2 = workspace 2,class:(codium-url-handler)
# Workspace - Zoom # Workspace - Zoom
windowrulev2 = workspace name:zoom,class:(zoom) windowrulev2 = workspace name:zoom,class:(zoom)
# Workspace - Chrome # Workspace - Chrome
windowrulev2 = workspace 4,class:(google-chrome) windowrulev2 = workspace 3,class:(google-chrome)
# Scratchpad Magic # Scratchpad Chat
windowrulev2 = workspace special:magic,class:(org.gnome.Fractal) bind = SUPER, W, togglespecialworkspace, chat
windowrulev2 = workspace special:magic,class:(WebCord) bind = SUPER SHIFT, W, movetoworkspace, special:chat
workspace = special:chat, on-created-empty:${lib.getExe pkgs.fractal}
windowrulev2 = workspace special:chat,class:(org.gnome.Fractal)
windowrulev2 = workspace special:chat,class:(WebCord)
# Scratchpad Notes
bind = SUPER, N, togglespecialworkspace, notes
bind = SUPER SHIFT, N, movetoworkspace, special:notes
workspace = special:notes, on-created-empty:${lib.getExe' unstable.obsidian "obsidian"}
windowrulev2 = workspace special:notes,class:(obsidian)
# Scratchpad Music
bind = SUPER, P, togglespecialworkspace, music
bind = SUPER SHIFT, P, movetoworkspace, special:music
workspace = special:music, on-created-empty:${lib.getExe' pkgs.plexamp "plexamp"}
windowrulev2 = workspace special:music,class:(Plexamp)
''; '';
} }