diff options
| author | adikro <adikro@disroot.org> | 2025-12-29 23:50:05 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-29 23:50:05 +0100 |
| commit | 05ae56295ae0d7bf99d9580ef5ff1f209259733a (patch) | |
| tree | b8eefbd8d0315d51b53b24889dfdd6c6e3093a29 /hm/shell | |
| parent | bd0047d2c4826214bcedf4c1a57d010bb407034d (diff) | |
added GLSL shaders and some shit i dont understand to mpv
Diffstat (limited to 'hm/shell')
| -rw-r--r-- | hm/shell/fish.nix | 1 | ||||
| -rw-r--r-- | hm/shell/foot.nix | 19 |
2 files changed, 11 insertions, 9 deletions
diff --git a/hm/shell/fish.nix b/hm/shell/fish.nix index 9fb6a29..88a4493 100644 --- a/hm/shell/fish.nix +++ b/hm/shell/fish.nix @@ -30,6 +30,7 @@ in ff = "fastfetch"; cat = "bat"; ls = "eza"; + yt = "yt-dlp"; }; plugins = [ diff --git a/hm/shell/foot.nix b/hm/shell/foot.nix index a9c3eac..c840b5e 100644 --- a/hm/shell/foot.nix +++ b/hm/shell/foot.nix @@ -1,11 +1,14 @@ { pkgs, lib, config, ... }: + let cfg = config.hm.shell.foot; - footTheme = pkgs.fetchurl { - url = "https://codeberg.org/dnkl/foot/src/branch/master/themes/gruvbox-dark"; - sha256 = ""; - }; + footTheme = pkgs.runCommand "gruvbox-dark" { } '' + sed 's/\[colors-dark\]/\[colors\]/g' ${pkgs.fetchurl { + url = "https://codeberg.org/dnkl/foot/raw/branch/master/themes/gruvbox-dark"; + sha256 = "sha256-hlmLklG/vAEDy8I+k13+o4ZR6Cq6lTxOconjf9M75eo="; + }} > $out + ''; in { options.hm.shell.foot = { @@ -16,21 +19,19 @@ in description = "Font size for the foot terminal"; }; }; + config = lib.mkIf cfg.enable { programs.foot = { enable = true; settings = { main = { font = "JetBrainsMonoNFM-Regular:size=${toString cfg.fontSize}"; - box-drawings-uses-font-glyphs = "yes"; - include = "${footTheme}"; + box-drawings-uses-font-glyphs = true; + include = "${footTheme}"; }; scrollback = { lines = 10000; }; - mouse = { - hide-when-typing = "yes"; - }; }; }; }; |
