1
1
Fork 0

Compare commits

..

No commits in common. "b73c8b979a029b345ca67d575a95334ff24df855" and "313aaa4cfcafa1458d09a9ccb0488e36d95f2c8a" have entirely different histories.

5 changed files with 10 additions and 8 deletions

View file

@ -32,7 +32,7 @@ in {
border = mkOption {default = 3.0;};
gap = mkOption {default = 10.0;};
padding = mkOption {default = 51.0;}; # ?? journalctl --user -u waybar.service | grep height:
rounding = mkOption {default = 16.0;};
rounding = mkOption {default = 15.0;};
### Misc
desktop = mkOption {

View file

@ -25,7 +25,7 @@ in {
enable = true;
width = config.custom.border;
active.color = "#d33682";
inactive.color = "#073642";
inactive.color = "#d3368200";
};
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutcenter-focused-column
@ -44,7 +44,7 @@ in {
enable = false;
width = config.custom.border;
active.color = "#d33682";
inactive.color = "#073642";
inactive.color = "#d3368200";
};
# https://github.com/sodiboo/niri-flake/blob/main/docs.md#programsnirisettingslayoutgaps

View file

@ -151,10 +151,12 @@ in {
}
(let
# BUG: Fixed width may not take borders into account
# https://github.com/YaLTeR/niri/issues/269
pip = with config.custom; rec {
x = gap - border * 2;
x = gap;
y = gap;
w = builtins.floor (width * 0.3 - gap * 2 + border * 2 + border + 1); # 30%
w = builtins.floor (width * 0.3 - gap); # 30%
h = builtins.floor (w * 9 / 16); # 16:9
};
in {
@ -162,9 +164,9 @@ in {
matches = [{title = "^Picture.in.[Pp]icture$";}];
default-floating-position = {
relative-to = "top-right";
x = pip.x;
y = pip.y;
relative-to = "top-right";
};
default-column-width.fixed = pip.w;

View file

@ -79,7 +79,7 @@ with lib; {
containersForce = true;
containers = {
edu = {
Edu = {
color = "orange";
icon = "fruit";
id = 1;

View file

@ -42,7 +42,7 @@ in {
"zen.urlbar.replace-newtab" = false;
"zen.view.compact.hide-toolbar" = true;
"zen.view.show-newtab-button-top" = false;
"zen.view.sidebar-expanded" = true;
"zen.view.sidebar-expanded" = false;
"zen.view.use-single-toolbar" = false;
"zen.welcome-screen.enabled" = false;
"zen.welcome-screen.seen" = true;