Bind ^ to mail
This commit is contained in:
parent
ec89cef3a2
commit
08792154ed
|
@ -18,6 +18,9 @@ let
|
||||||
"9:🔨 9"
|
"9:🔨 9"
|
||||||
"10:🎲 misc"
|
"10:🎲 misc"
|
||||||
];
|
];
|
||||||
|
extraWorkspaces = {
|
||||||
|
mail = "📧 Email";
|
||||||
|
};
|
||||||
wsAttrs = builtins.listToAttrs (
|
wsAttrs = builtins.listToAttrs (
|
||||||
map
|
map
|
||||||
(i: { name = toString (remainder i 10); value = builtins.elemAt workspaces (i - 1); })
|
(i: { name = toString (remainder i 10); value = builtins.elemAt workspaces (i - 1); })
|
||||||
|
@ -154,7 +157,7 @@ in
|
||||||
{ command = "systemctl --user restart waybar"; always = true; }
|
{ command = "systemctl --user restart waybar"; always = true; }
|
||||||
# Startup programs
|
# Startup programs
|
||||||
{ command = "${cfg.browser}"; }
|
{ command = "${cfg.browser}"; }
|
||||||
{ command = "thunderbird"; } # Rely on system package with plugins
|
{ command = "evolution"; } # Rely on system package with plugins
|
||||||
] ++ (if cfg.discord != null then [
|
] ++ (if cfg.discord != null then [
|
||||||
{ command = "${cfg.discord}"; }
|
{ command = "${cfg.discord}"; }
|
||||||
] ++ lib.lists.optional
|
] ++ lib.lists.optional
|
||||||
|
@ -255,6 +258,11 @@ in
|
||||||
])
|
])
|
||||||
(builtins.attrNames wsAttrs))
|
(builtins.attrNames wsAttrs))
|
||||||
)) //
|
)) //
|
||||||
|
{
|
||||||
|
# Extra workspaces
|
||||||
|
"${mod}+asciicircum" = "workspace ${extraWorkspaces.mail}";
|
||||||
|
"${mod}+shift+asciicircum" = "move to workspace ${extraWorkspaces.mail}";
|
||||||
|
} //
|
||||||
# Move workspaces between outputs
|
# Move workspaces between outputs
|
||||||
{
|
{
|
||||||
"${mod}+ctrl+h" = "move workspace to output left";
|
"${mod}+ctrl+h" = "move workspace to output left";
|
||||||
|
@ -289,8 +297,9 @@ in
|
||||||
{ class = "VencordDesktop"; }
|
{ class = "VencordDesktop"; }
|
||||||
{ app_id = "VencordDesktop"; }
|
{ app_id = "VencordDesktop"; }
|
||||||
];
|
];
|
||||||
"📧 Email" = [
|
${extraWorkspaces.mail} = [
|
||||||
{ app_id = "thunderbird"; }
|
{ app_id = "thunderbird"; }
|
||||||
|
{ app_id = "evolution"; }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# Commands
|
# Commands
|
||||||
|
|
Loading…
Reference in a new issue