diff --git a/home/modules/hyprland/hyprland.nix b/home/modules/hyprland/hyprland.nix index 9337b3e..cf54ba6 100644 --- a/home/modules/hyprland/hyprland.nix +++ b/home/modules/hyprland/hyprland.nix @@ -19,6 +19,8 @@ let in { config = lib.mkIf cfg.enable { + profile.home.programs.foot.enable = lib.mkForce true; + home.packages = [ inputs.hyprland-contrib.packages.${pkgs.system}.grimblast pkgs.wl-clipboard @@ -82,7 +84,7 @@ in # https://wiki.hyprland.org/Configuring/Binds bind = [ # Programs - "$mod, RETURN, exec, kitty" + "$mod, RETURN, exec, foot" "$mod, E, exec, thunar" "$mod, B, exec, microsoft-edge" "$mod, D, exec, rofi -show drun -replace -i" @@ -180,7 +182,7 @@ in disable_splash_rendering = true; focus_on_activate = true; enable_swallow = true; - swallow_regex = "^(Alacritty|kitty|footclient|org\.wezfurlong\.wezterm)$"; + swallow_regex = "^(Alacritty|kitty|footclient|org\.wezfurlong\.wezterm|foot|footclient)$"; }; animations = { diff --git a/home/modules/hyprland/pyprland.nix b/home/modules/hyprland/pyprland.nix index b1b95be..2fdd082 100644 --- a/home/modules/hyprland/pyprland.nix +++ b/home/modules/hyprland/pyprland.nix @@ -23,8 +23,8 @@ in ]; scratchpads.term = { animation = "fromTop"; - command = "kitty --class kitty-dropterm"; - class = "kitty-dropterm"; + command = "foot --app-id foot-scratchpad"; + class = "foot-scratchpad"; size = "75% 75%"; }; wallpapers = { diff --git a/home/modules/hyprland/wallust.nix b/home/modules/hyprland/wallust.nix index e465d11..a929134 100644 --- a/home/modules/hyprland/wallust.nix +++ b/home/modules/hyprland/wallust.nix @@ -94,6 +94,10 @@ in template = "templates/alacritty.toml"; target = out + "/alacritty.toml"; }; + foot = { + template = "templates/foot.ini"; + target = "${config.home.homeDirectory}/.config/foot/colors.ini"; + }; }; }; }; diff --git a/home/programs/default.nix b/home/programs/default.nix index 7ce0af5..2553238 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -6,6 +6,7 @@ ./dbeaver.nix ./discord.nix ./easyeffects.nix + ./foot.nix ./git.nix ./github.nix ./go.nix diff --git a/options/programs.nix b/options/programs.nix index 208b1f1..b96c7c4 100644 --- a/options/programs.nix +++ b/options/programs.nix @@ -90,7 +90,7 @@ # So desktop user can just resurrect the session if they want to. autoAttach = lib.mkEnableOption "zellij autoAttach"; }; - + foot.enable = lib.mkEnableOption "foot"; }; programs = { diff --git a/profiles/fort.nix b/profiles/fort.nix index 21ee484..cb6f977 100644 --- a/profiles/fort.nix +++ b/profiles/fort.nix @@ -69,5 +69,7 @@ programs.mongodb-compass.enable = true; podman.enable = true; + + home.programs.foot.enable = true; }; }