From 02f5b51cfd51562d6a798934ae914e3f988fe5d2 Mon Sep 17 00:00:00 2001 From: Isabella Bastaja Date: Fri, 27 Mar 2026 16:45:50 +0100 Subject: remove hyprland, foot configs --- share/cfg/foot.nix | 49 ------------------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 share/cfg/foot.nix (limited to 'share/cfg/foot.nix') 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; - } - ); -} -- cgit v1.3.1