Update a lot of options, simplify variables, replace options with tags
This commit is contained in:
parent
dbc0ab6dd3
commit
7667ef9a1b
147 changed files with 663 additions and 928 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
wayland.windowManager.sway.config = {
|
||||
defaultWorkspace = "workspace 1:${config.ws.w1}";
|
||||
wayland.windowManager.sway.config = with config.vars.ws; {
|
||||
defaultWorkspace = "workspace 1:${w1}";
|
||||
|
||||
focus = {
|
||||
mouseWarping = "container";
|
||||
|
@ -34,7 +34,7 @@
|
|||
# Give apps that don't have them borders
|
||||
{
|
||||
criteria = { con_mark = "giveborder"; };
|
||||
command = ''border pixel ${config.look.border.string}'';
|
||||
command = ''border pixel ${config.vars.border.string}'';
|
||||
}
|
||||
{
|
||||
criteria = { class = "steam"; };
|
||||
|
@ -56,22 +56,22 @@
|
|||
};
|
||||
assigns = {
|
||||
# Browser
|
||||
"1:${config.ws.w1}" = [{ app_id = "librewolf"; }];
|
||||
"1:${w1}" = [{ app_id = "librewolf"; }];
|
||||
|
||||
# Communication
|
||||
"7:${config.ws.w7}" = [
|
||||
"7:${w7}" = [
|
||||
{ app_id = "teams-for-linux"; }
|
||||
{ app_id = "vesktop"; }
|
||||
{ class = "vesktop"; }
|
||||
];
|
||||
"9:${config.ws.w9}" = [{ app_id = "thunderbird"; }];
|
||||
"9:${w9}" = [{ app_id = "thunderbird"; }];
|
||||
|
||||
# Etc
|
||||
"2:${config.ws.w2}" = [
|
||||
"2:${w2}" = [
|
||||
{ class = "steam"; }
|
||||
{ app_id = "heroic"; }
|
||||
];
|
||||
"44:${config.ws.w4a}" = [{ app_id = "com.obsproject.Studio"; }];
|
||||
"44:${w4a}" = [{ app_id = "com.obsproject.Studio"; }];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue