From 06aadaacf55900cc1cf4be411c2dde1297656cd1 Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Fri, 16 Jan 2026 17:38:20 -0600 Subject: work on fuzzel configuration --- modules/desktop/hjem/wm/fuzzel.nix | 40 +++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 18 deletions(-) (limited to 'modules/desktop/hjem') diff --git a/modules/desktop/hjem/wm/fuzzel.nix b/modules/desktop/hjem/wm/fuzzel.nix index 7d61255..f9a9edb 100644 --- a/modules/desktop/hjem/wm/fuzzel.nix +++ b/modules/desktop/hjem/wm/fuzzel.nix @@ -8,34 +8,38 @@ settings = { main = { - prompt = ""; - dpi-aware = false; + prompt = builtins.fromJSON ''"\u200B"''; # https://discourse.nixos.org/t/how-can-i-put-an-nonprintable-character-in-a-nix-expression/47750/7 - font = "Iosevka Nerd Font"; - line-height = 25; + font = "Iosevka Nerd Font:size=9"; + use-bold = true; + line-height = 16; lines = 10; - width = 30; + width = 20; - horizontal-pad = 8; - vertical-pad = 8; + anchor = "bottom-right"; + + horizontal-pad = 0; + vertical-pad = 0; }; border = { radius = 0; width = 3; }; - colors = with config.collinux.palette; { - background = "${base00}99"; - border = "ffffff00"; - input = base05; - match = base13; - placeholder = base03; - text = base01; - prompt = base01; + colors = with config.collinux.palette; let + transparent = "#ffffff00"; + in { + background = transparent; + border = transparent; + input = transparent; + match = "#${base13}ff"; + placeholder = "#${base03}ff"; + text = "#${base04}ff"; + prompt = "#${base05}ff"; - selection = "${base01}5a"; - selection-match = base13; - selection-text = base05; + selection = transparent; + selection-match = "#${base13}ff"; + selection-text = "#${base05}ff"; }; }; in -- cgit v1.3.1 From c077985d73e021de9b7878dc8864352aff9ad1bd Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Sun, 18 Jan 2026 07:03:30 -0600 Subject: betterfox --- flake.lock | 17 +++++++++++++++++ flake.nix | 4 ++++ modules/desktop/hjem/programs/firefox.nix | 2 ++ 3 files changed, 23 insertions(+) (limited to 'modules/desktop/hjem') diff --git a/flake.lock b/flake.lock index fbaf251..581d824 100644 --- a/flake.lock +++ b/flake.lock @@ -23,6 +23,22 @@ "type": "github" } }, + "betterfox": { + "flake": false, + "locked": { + "lastModified": 1765663165, + "narHash": "sha256-zGpfQk2gY6ifxIk1fvCk5g5SIFo+o8RItmw3Yt3AeCg=", + "owner": "yokoffing", + "repo": "Betterfox", + "rev": "eee6e58b2b0ee10a59efb6586a5db07ae181d8c7", + "type": "github" + }, + "original": { + "owner": "yokoffing", + "repo": "Betterfox", + "type": "github" + } + }, "crane": { "locked": { "lastModified": 1767461147, @@ -346,6 +362,7 @@ "root": { "inputs": { "agenix": "agenix", + "betterfox": "betterfox", "deploy-rs": "deploy-rs", "disko": "disko", "firefox-csshacks": "firefox-csshacks", diff --git a/flake.nix b/flake.nix index 35afadd..742cf5c 100644 --- a/flake.nix +++ b/flake.nix @@ -37,6 +37,10 @@ url = "github:MrOtherGuy/firefox-csshacks"; flake = false; }; + betterfox = { + url = "github:yokoffing/Betterfox"; + flake = false; + }; nmd.url = "github:gvolpe/nmd"; }; diff --git a/modules/desktop/hjem/programs/firefox.nix b/modules/desktop/hjem/programs/firefox.nix index b5ea433..2078e3c 100644 --- a/modules/desktop/hjem/programs/firefox.nix +++ b/modules/desktop/hjem/programs/firefox.nix @@ -27,6 +27,8 @@ in }; }; + ".mozilla/firefox/collin/user.js".source = "${inputs.betterfox}/user.js"; + ".mozilla/firefox/collin/chrome/userChrome.css".text = mkCssHacks ( # (lib.optional (cfg.theme == "adwaita") "window_control_placeholder_support") ++ [ -- cgit v1.3.1