pinwheel: Extract foot module

This commit is contained in:
Alexander Heldt
2023-08-26 16:53:53 +02:00
parent e7eb26d4f3
commit d158328ae4
3 changed files with 24 additions and 12 deletions

View File

@@ -15,6 +15,7 @@
./modules/git ./modules/git
./modules/zsh ./modules/zsh
./modules/vim ./modules/vim
./modules/foot
./modules/syncthing ./modules/syncthing
./modules/firefox ./modules/firefox
./modules/calibre ./modules/calibre

View File

@@ -12,17 +12,6 @@
bemenu bemenu
]; ];
programs.foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
font = "DejaVuSansM Nerd Font Mono:size=14";
};
};
};
programs.tmux = { programs.tmux = {
enable = true; enable = true;
@@ -151,7 +140,6 @@
"$mod, x, exec, ${pkgs.swaylock}/bin/swaylock" "$mod, x, exec, ${pkgs.swaylock}/bin/swaylock"
"$mod SHIFT, x, exec, systemctl suspend" "$mod SHIFT, x, exec, systemctl suspend"
"$mod, RETURN, exec, ${pkgs.foot}/bin/foot"
"$mod, SPACE, exec, bemenu-run --fn 'DejaVuSansM Nerd Font Mono 14'" "$mod, SPACE, exec, bemenu-run --fn 'DejaVuSansM Nerd Font Mono 14'"
"$mod, ESCAPE, killactive" "$mod, ESCAPE, killactive"

View File

@@ -0,0 +1,23 @@
{ home-manager, pkgs, ... }:
{
home-manager.users.alex = {
programs.foot = {
enable = true;
settings = {
main = {
term = "xterm-256color";
font = "DejaVuSansM Nerd Font Mono:size=14";
};
};
};
wayland.windowManager.hyprland = {
settings = {
bind = [
"$mod, RETURN, exec, ${pkgs.foot}/bin/foot"
];
};
};
};
}