commit 79ba4ed9471e56536edf78b7030b1d06bc9bd8b3
parent 180070ce1e5e457f8e924c707b68f01f64091f75
Author: vin <vin@vineetk.net>
Date: Wed, 30 Apr 2025 03:05:04 -0400
demiurge, hastur: switch back to foot from alacritty
Doesn't use up precious VRAM.
Diffstat:
| M | home.nix | | | 50 | +++++++++++++++++++++++++++++++++++++++++++++++--- |
1 file changed, 47 insertions(+), 3 deletions(-)
diff --git a/home.nix b/home.nix
@@ -343,6 +343,48 @@ in {
};
};
+ foot = {
+ enable = true;
+
+ settings = {
+ main = {
+ # makes it easier when ssh'ing
+ term = "xterm-256color";
+
+ font = "monospace:size=14";
+ dpi-aware = "yes";
+
+ pad = "10x10";
+ };
+
+ colors = let
+ rmhash = s: builtins.substring 1 (-1) s;
+ in
+ {
+ background = rmhash colors.current.primary.background;
+ foreground = rmhash colors.current.primary.foreground;
+
+ regular0 = rmhash colors.current.normal.black;
+ regular1 = rmhash colors.current.normal.red;
+ regular2 = rmhash colors.current.normal.green;
+ regular3 = rmhash colors.current.normal.yellow;
+ regular4 = rmhash colors.current.normal.blue;
+ regular5 = rmhash colors.current.normal.magenta;
+ regular6 = rmhash colors.current.normal.cyan;
+ regular7 = rmhash colors.current.normal.white;
+
+ bright0 = rmhash colors.current.bright.black;
+ bright1 = rmhash colors.current.bright.red;
+ bright2 = rmhash colors.current.bright.green;
+ bright3 = rmhash colors.current.bright.yellow;
+ bright4 = rmhash colors.current.bright.blue;
+ bright5 = rmhash colors.current.bright.magenta;
+ bright6 = rmhash colors.current.bright.cyan;
+ bright7 = rmhash colors.current.bright.white;
+ };
+ };
+ };
+
git = {
enable = true;
difftastic = {
@@ -611,6 +653,8 @@ set-option -sa terminal-features ',*:RGB'
opacityRules = [
"85:class_g = 'Alacritty'"
+ "85:class_g = 'foot'"
+ "85:class_g = 'footclient'"
"85:class_g = 'i3bar'"
"85:class_g = 'vesktop'"
"85:class_g = 'Emacs'"
@@ -1108,7 +1152,7 @@ interceptor.register(int_fn)
{ command = "xwallpaper --center pics/wp/elite_milky_way_below.png"; notification = false; }
];
- terminal = "alacritty";
+ terminal = "footclient";
window = {
border = 0;
@@ -1277,7 +1321,7 @@ interceptor.register(int_fn)
modifier = "Mod4";
- terminal = "alacritty";
+ terminal = "foot";
window = {
border = 0;
@@ -1300,7 +1344,7 @@ interceptor.register(int_fn)
shadows enable
shadow_blur_radius 10
- for_window [app_id="Alacritty"] opacity 0.9
+ for_window [app_id="foot"] opacity 0.9
for_window [class="Emacs"] opacity 0.9
for_window [app_id="qutebrowser"] opacity 0.9
for_window [class="vesktop"] opacity 0.9