foot: init module

This commit is contained in:
Artur Manuel 2025-04-17 15:37:04 +01:00
commit 0f84fdf8b4
Signed by: amadaluzia
SSH key fingerprint: SHA256:ubvwT66gNUKSsgSzEb2UQnX8pzTq5N+r8eRVYGJJm4Q
4 changed files with 26 additions and 4 deletions

View file

@ -22,6 +22,7 @@ in
enable = true; enable = true;
wallpaper = inputs.wallpkgs.wallpapers.rose-pine.rose_pine-04.path; wallpaper = inputs.wallpkgs.wallpapers.rose-pine.rose_pine-04.path;
}; };
foot.enable = true;
waybar.enable = true; waybar.enable = true;
mako.enable = true; mako.enable = true;
direnv.enable = true; direnv.enable = true;

View file

@ -300,14 +300,14 @@ binds {
Mod+Shift+Slash { show-hotkey-overlay; } Mod+Shift+Slash { show-hotkey-overlay; }
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+E { spawn "emacsclient" "-c"; } Mod+E hotkey-overlay-title="Spawn a new Emacs frame" { spawn "emacsclient" "-c"; }
Mod+T { spawn "foot"; } Mod+T hotkey-overlay-title="Spawn a terminal" { spawn "footclient"; }
Mod+D { spawn "fuzzel"; } Mod+D { spawn "fuzzel"; }
// Super+Alt+L { spawn "swaylock"; } // Super+Alt+L { spawn "swaylock"; }
// You can also use a shell. Do this if you need pipes, multiple commands, etc. // You can also use a shell. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument in the end. // Note: the entire command goes as a single argument in the end.
// Mod+T { spawn "basqh" "-c" "notify-send hello && exec alacritty"; } // Mod+T { spawn "bash" "-c" "notify-send hello && exec alacritty"; }
// Example volume keys mappings for PipeWire & WirePlumber. // Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked. // The allow-when-locked=true property makes them work even when the session is locked.

View file

@ -34,7 +34,6 @@
evolution evolution
gh gh
fuzzel fuzzel
foot
signal-desktop-bin signal-desktop-bin
dino dino
polari polari

22
hosts/shared/foot.nix Normal file
View file

@ -0,0 +1,22 @@
{
config,
lib,
pkgs,
...
}:
let
cfg = config.alqueva.programs.foot;
inherit (lib.modules) mkIf;
inherit (lib.options) mkEnableOption mkPackageOption;
in
{
options.alqueva.programs.foot = {
enable = mkEnableOption "foot";
package = mkPackageOption pkgs "foot" { };
};
config = mkIf cfg.enable {
environment.systemPackages = [ cfg.package ];
systemd.packages = [ cfg.package ];
};
}