diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-03-27 16:45:50 +0100 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-03-27 16:45:50 +0100 |
| commit | 02f5b51cfd51562d6a798934ae914e3f988fe5d2 (patch) | |
| tree | ef07609ac2698ebf0d44830f9e4f68dd16e6c6b3 /share/cfg/foot.nix | |
| parent | 3ebb40af85064a2d3cc70dea689aa25a647495e7 (diff) | |
remove hyprland, foot configs
Diffstat (limited to 'share/cfg/foot.nix')
| -rw-r--r-- | share/cfg/foot.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/share/cfg/foot.nix b/share/cfg/foot.nix deleted file mode 100644 index 4ef5579..0000000 --- a/share/cfg/foot.nix +++ /dev/null @@ -1,49 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: -let - cfg = config.programs.foot; - foot-pkg = pkgs.symlinkJoin { - name = "foot-wrapped"; - paths = [ - pkgs.foot - pkgs.nerd-fonts.caskaydia-cove - ]; - }; -in -{ - programs.foot = { - server.enable = cfg.enable; - package = foot-pkg; - settings = { - main = { - term = "xterm-256color"; - dpi-aware = "yes"; - font = "CaskaydiaCove Nerd Font:14"; - }; - - mouse = { - hide-when-typing = "yes"; - }; - }; - }; - - programs.fish.functions.icat = - # TODO: find window manager agnostic way to get current window size - lib.mkIf (cfg.enable && config.wayland.windowManager.hyprland.enable) { - body = '' - set --local width $(hyprctl -j activewindow | jaq '.size[0]') - set --local maximgwidth $(math "ceil($width * 0.7)") - img2sixel --width $maximgwidth $argv - ''; - }; - - home.packages = lib.mkIf cfg.enable ( - builtins.attrValues { - inherit (pkgs) libsixel jaq hyprland; - } - ); -} |
