flake-parts: rename lib' to conf

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2024-05-27 20:07:28 +05:30
parent 29acfc513e
commit c1c4714fa2
20 changed files with 40 additions and 40 deletions

View File

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

View File

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

View File

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