Skip to content

Commit

Permalink
feat: hyprland default app workspace rules
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Oct 24, 2023
1 parent 48d582d commit d41a116
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/home/desktop/hyprland/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ in
./binds.nix
./variables.nix
./windowrules.nix
./workspacerules.nix
];

config =
Expand Down
38 changes: 38 additions & 0 deletions modules/home/desktop/hyprland/workspacerules.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{ config
, lib
, ...
}:
let
inherit (lib) mkIf;
cfg = config.khanelinix.desktop.hyprland;
in
{
config =
mkIf cfg.enable
{
wayland.windowManager.hyprland = {
settings = {
workspace = [
##
# ░█░█░█▀█░█▀▄░█░█░█▀▀░█▀█░█▀█░█▀▀░█▀▀░░░█▀▀░█▀█░█▀█░█▀▀░▀█▀░█▀▀
# ░█▄█░█░█░█▀▄░█▀▄░▀▀█░█▀▀░█▀█░█░░░█▀▀░░░█░░░█░█░█░█░█▀▀░░█░░█░█
# ░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░░░▀░▀░▀▀▀░▀▀▀░░░▀▀▀░▀▀▀░▀░▀░▀░░░▀▀▀░▀▀▀
##

# Code
"3, on-created-empty:$term tmux a"
# Gaming
"4, on-created-empty:steam"
# Messaging
"5, on-created-empty:discord"
# Mail
"6, on-created-empty:thunderbird"
#Remote
"8, on-created-empty:virt-manager"

"special:scratchpad, on-created-empty:$term"
];
};
};
};
}

0 comments on commit d41a116

Please sign in to comment.