niri: modify rules
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
0c1c7c3d70
commit
274be3755e
1 changed files with 14 additions and 15 deletions
|
@ -53,19 +53,14 @@ in {
|
||||||
{
|
{
|
||||||
# Startup
|
# Startup
|
||||||
#?? <= 60 secs after niri launches
|
#?? <= 60 secs after niri launches
|
||||||
matches = [
|
matches = [{at-startup = true;}];
|
||||||
{at-startup = true;}
|
|
||||||
{app-id = "^org\.gnome\.Loupe$";}
|
|
||||||
{app-id = "^org\.gnome\.Nautilus$";}
|
|
||||||
];
|
|
||||||
|
|
||||||
open-focused = false;
|
|
||||||
#// open-on-workspace = "1";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
# Android
|
# Android
|
||||||
matches = [{app-id = "^[Ww]aydroid.*$";}];
|
matches = [{app-id = "^[Ww]aydroid.*$";}];
|
||||||
|
|
||||||
|
open-on-workspace = "2";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -81,9 +76,9 @@ in {
|
||||||
default-column-width.proportion =
|
default-column-width.proportion =
|
||||||
if config.custom.ultrawide
|
if config.custom.ultrawide
|
||||||
then 0.4
|
then 0.4
|
||||||
else 0.7;
|
else 0.8;
|
||||||
|
|
||||||
#// open-on-workspace = "2";
|
open-on-workspace = "2";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -94,6 +89,8 @@ in {
|
||||||
{app-id = "^Element$";}
|
{app-id = "^Element$";}
|
||||||
{app-id = "^org\.telegram\.desktop$";}
|
{app-id = "^org\.telegram\.desktop$";}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
open-on-workspace = "3";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -108,7 +105,7 @@ in {
|
||||||
{app-id = "^obsidian$";}
|
{app-id = "^obsidian$";}
|
||||||
];
|
];
|
||||||
|
|
||||||
#// open-on-workspace = "2";
|
open-on-workspace = "2";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -127,7 +124,7 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
default-column-width = {}; # Window-defined
|
default-column-width = {}; # Window-defined
|
||||||
#// open-on-workspace = "1";
|
open-on-workspace = "1";
|
||||||
variable-refresh-rate = true;
|
variable-refresh-rate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -144,7 +141,7 @@ in {
|
||||||
{app-id = "^YouTube Music$";}
|
{app-id = "^YouTube Music$";}
|
||||||
];
|
];
|
||||||
|
|
||||||
#// open-on-workspace = "3";
|
open-on-workspace = "3";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -155,7 +152,7 @@ in {
|
||||||
{app-id = "^ONLYOFFICE Desktop Editors$";}
|
{app-id = "^ONLYOFFICE Desktop Editors$";}
|
||||||
];
|
];
|
||||||
|
|
||||||
#// open-on-workspace = "2";
|
open-on-workspace = "2";
|
||||||
}
|
}
|
||||||
|
|
||||||
(let
|
(let
|
||||||
|
@ -190,6 +187,8 @@ in {
|
||||||
{app-id = "^kitty$";}
|
{app-id = "^kitty$";}
|
||||||
{app-id = "^org\.wezfurlong\.wezterm$";}
|
{app-id = "^org\.wezfurlong\.wezterm$";}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
#// default-column-display = "tabbed";
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -210,7 +209,7 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
open-floating = false;
|
open-floating = false;
|
||||||
#// open-on-workspace = "1";
|
open-on-workspace = "1";
|
||||||
}
|
}
|
||||||
|
|
||||||
### Overrides
|
### Overrides
|
||||||
|
|
Loading…
Add table
Reference in a new issue