foot: added config

This commit is contained in:
Tigor Hutasuhut 2024-07-26 20:03:14 +07:00
parent 25fa53ed07
commit 415932a019
6 changed files with 14 additions and 5 deletions

View file

@ -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 = {

View file

@ -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 = {

View file

@ -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";
};
};
};
};

View file

@ -6,6 +6,7 @@
./dbeaver.nix
./discord.nix
./easyeffects.nix
./foot.nix
./git.nix
./github.nix
./go.nix

View file

@ -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 = {

View file

@ -69,5 +69,7 @@
programs.mongodb-compass.enable = true;
podman.enable = true;
home.programs.foot.enable = true;
};
}