niri: modify rules
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
66aed06bba
commit
3a0cece677
1 changed files with 9 additions and 1 deletions
|
@ -70,7 +70,13 @@ in {
|
||||||
{app-id = "^chromium-browser$";}
|
{app-id = "^chromium-browser$";}
|
||||||
{app-id = "^firefox.*$";}
|
{app-id = "^firefox.*$";}
|
||||||
{app-id = "^google-chrome$";}
|
{app-id = "^google-chrome$";}
|
||||||
|
{app-id = "^librewolf$";}
|
||||||
{app-id = "^vivaldi.*$";}
|
{app-id = "^vivaldi.*$";}
|
||||||
|
{app-id = "^zen$";}
|
||||||
|
];
|
||||||
|
|
||||||
|
excludes = [
|
||||||
|
{title = "^Picture.in.[Pp]icture$";}
|
||||||
];
|
];
|
||||||
|
|
||||||
default-column-width.proportion =
|
default-column-width.proportion =
|
||||||
|
@ -78,6 +84,7 @@ in {
|
||||||
then 0.4
|
then 0.4
|
||||||
else 0.8;
|
else 0.8;
|
||||||
|
|
||||||
|
min-width = builtins.floor (config.custom.width * 0.3);
|
||||||
open-on-workspace = "2";
|
open-on-workspace = "2";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -183,6 +190,7 @@ in {
|
||||||
{
|
{
|
||||||
# Terminals
|
# Terminals
|
||||||
matches = [
|
matches = [
|
||||||
|
{app-id = "^com\.mitchellh\.ghostty$";}
|
||||||
{app-id = "^foot$";}
|
{app-id = "^foot$";}
|
||||||
{app-id = "^kitty$";}
|
{app-id = "^kitty$";}
|
||||||
{app-id = "^org\.wezfurlong\.wezterm$";}
|
{app-id = "^org\.wezfurlong\.wezterm$";}
|
||||||
|
@ -215,7 +223,7 @@ in {
|
||||||
### Overrides
|
### Overrides
|
||||||
# TODO: Remove when switching 1Password to Wayland
|
# TODO: Remove when switching 1Password to Wayland
|
||||||
(let
|
(let
|
||||||
height = builtins.floor (config.custom.height / config.custom.scale * 0.4); # 40%
|
height = builtins.floor (config.custom.height * 0.4); # 40%
|
||||||
in {
|
in {
|
||||||
matches = [
|
matches = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue