lib: rename

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-03-08 11:17:33 +05:30
parent f31eb4c876
commit 8e3a3aca2b
12 changed files with 33 additions and 28 deletions

View File

@@ -1,10 +1,10 @@
{ config, colors, ... }:
{ config, lib', ... }:
{
services = {
dunst = {
enable = true;
iconTheme = with config.gtk.iconTheme; { inherit name package; };
settings = with colors.hex; {
settings = with lib'.colors.hex; {
global = {
mouse_left_click = "close_current";
mouse_right_click = "do_action";

View File

@@ -1,4 +1,4 @@
{ pkgs, config, colors, ... }:
{ pkgs, config, lib', ... }:
{
programs = {
firefox = {
@@ -29,7 +29,7 @@
font-bold = "Fira Mono:style=Bold:pixelsize=18";
};
scrollback.lines = 4000;
colors = with colors.default; {
colors = with lib'.colors.default; {
inherit foreground background;
regular0 = surface1;
regular1 = red;

View File

@@ -1,4 +1,4 @@
{ pkgs, config, colors, inputs, ... }:
{ pkgs, config, lib', inputs, ... }:
{
wayland = {
windowManager = {
@@ -16,7 +16,7 @@
+ (with config.home.pointerCursor; ''
exec-once=hyprctl setcursor ${name} ${toString size}
'')
+ (with colors.argb { a = "ee"; };''
+ (with lib'.colors.argb { a = "ee"; };''
general {
col.active_border = 0x${mauve} 0x${flamingo} 135deg
col.inactive_border = 0x${surface0}
@@ -27,7 +27,7 @@
};
home.file.tofi = {
source = pkgs.writeText "tofi-config" (pkgs.lib.generators.toKeyValue { } (with colors.default; {
source = pkgs.writeText "tofi-config" (pkgs.lib.generators.toKeyValue { } (with lib'.colors.default; {
# https://github.com/philj56/tofi/blob/master/themes/fullscreen
width = "100%";
height = "100%";