more reorg
This commit is contained in:
parent
a058fa3c90
commit
65d2b91057
7 changed files with 156 additions and 33 deletions
|
@ -1,6 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
with pkgs.lib.nix-rice;
|
||||
let strPalette = palette.toRGBHex pkgs.rice.colorPalette;
|
||||
let strPalette = palette.toRGBAHex pkgs.rice.colorPalette;
|
||||
in {
|
||||
|
||||
programs = {
|
||||
|
@ -107,12 +107,8 @@ in {
|
|||
|
||||
focus-ring = {
|
||||
enable = true;
|
||||
active.gradient = {
|
||||
from = strPalette.normal.magenta;
|
||||
to = strPalette.dark.cyan;
|
||||
angle = 180;
|
||||
in' = "srgb-linear";
|
||||
};
|
||||
active.color = with pkgs.rice.colorPalette.normal.border;
|
||||
"rgba(${toString r} ${toString g} ${toString b} ${toString a})";
|
||||
width = 2;
|
||||
};
|
||||
|
||||
|
@ -156,7 +152,18 @@ in {
|
|||
open-floating = true; }
|
||||
|
||||
{ matches = [{app-id="launcher";}];
|
||||
open-floating = true; }
|
||||
open-floating = true;
|
||||
focus-ring = {
|
||||
enable = true;
|
||||
active.gradient = {
|
||||
from = strPalette.normal.magenta;
|
||||
to = strPalette.dark.cyan;
|
||||
angle = 180;
|
||||
in' = "srgb-linear";
|
||||
};
|
||||
width = 2;
|
||||
};
|
||||
}
|
||||
|
||||
# Open the Firefox picture-in-picture player as floating by default.
|
||||
{ # This app-id regular expression will work for both:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue