Some set-up re: desktop apps
This commit is contained in:
parent
fc6f9f8987
commit
bd54c41c33
2 changed files with 49 additions and 16 deletions
|
@ -144,6 +144,7 @@ in
|
|||
{ command = "systemctl --user restart waybar"; always = true; }
|
||||
# Startup programs
|
||||
{ command = "${cfg.browser}"; }
|
||||
{ command = "evolution"; } # Rely on system package with plugins
|
||||
{ command = "env PYTHONPATH=$(python -m site --user-site) ${pkgs.ulauncher}/bin/ulauncher --hide-window --no-window-shadow"; }
|
||||
] ++ (if cfg.discord != null then [
|
||||
{ command = "${cfg.discord}"; }
|
||||
|
@ -273,15 +274,17 @@ in
|
|||
{ class = "^firefox$"; }
|
||||
];
|
||||
"${builtins.elemAt workspaces 1}" = [
|
||||
{ class = "^(d|D)iscord$"; }
|
||||
{ class = "^((d|D)iscord|((A|a)rmcord))$"; }
|
||||
];
|
||||
"${builtins.elemAt workspaces 3}" = [
|
||||
{ app_id = "kitty_ncmpcpp"; }
|
||||
"📧 Email" = [
|
||||
{ app_id = "evolution"; }
|
||||
];
|
||||
};
|
||||
# Commands
|
||||
window.commands = [
|
||||
{ criteria = { title = ".*"; }; command = "inhibit_idle fullscreen"; }
|
||||
{ criteria = { app_id = ".*float.*"; }; command = "floating enable"; }
|
||||
{ criteria = { class = ".*float.*"; }; command = "floating enable"; }
|
||||
];
|
||||
# Focus
|
||||
focus.followMouse = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue