From dc5ab02806c393460c6626fc633bc56f06d99189 Mon Sep 17 00:00:00 2001 From: triethyl Date: Mon, 7 Jul 2025 11:53:05 -0400 Subject: removed foot server Former-commit-id: 6299ea7698263684c2e33d759ddfebf0fd727b30 --- features/user/gui/apps/foot.nix | 8 ++++++-- features/user/gui/desktops/niri/keybinds.nix | 2 +- features/user/gui/desktops/niri/parts/selectors.nix | 12 ++++++------ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/features/user/gui/apps/foot.nix b/features/user/gui/apps/foot.nix index d099e16..321e7e8 100644 --- a/features/user/gui/apps/foot.nix +++ b/features/user/gui/apps/foot.nix @@ -1,11 +1,15 @@ -{ config, pkgs, lib, ... }: let +{ + config, + pkgs, + lib, + ... +}: let cfg = config.features.gui.apps.foot; in { options.features.gui.apps.foot.enable = lib.mkEnableOption "foot"; config = lib.mkIf cfg.enable { programs.foot = { enable = true; - server.enable = true; settings = { main.pad = "0x4"; }; diff --git a/features/user/gui/desktops/niri/keybinds.nix b/features/user/gui/desktops/niri/keybinds.nix index 5426ee6..c9b0245 100644 --- a/features/user/gui/desktops/niri/keybinds.nix +++ b/features/user/gui/desktops/niri/keybinds.nix @@ -12,7 +12,7 @@ right = "l"; in { # App Launching Keys - "Mod+Q".action.spawn = ["footclient"]; + "Mod+Q".action.spawn = ["foot"]; "Mod+W".action.spawn = ["qutebrowser"]; "Mod+Shift+W".action.spawn = ["librewolf"]; "Mod+E".action.spawn = ["neovide"]; diff --git a/features/user/gui/desktops/niri/parts/selectors.nix b/features/user/gui/desktops/niri/parts/selectors.nix index a70059e..6760191 100644 --- a/features/user/gui/desktops/niri/parts/selectors.nix +++ b/features/user/gui/desktops/niri/parts/selectors.nix @@ -22,20 +22,20 @@ in { let tools = { "rebuild nixos": { # footclient -H sudo nixos-rebuild switch --flake ($"~/Sync/setup#(hostname)" | path expand) - footclient -H nh os switch + foot -H nh os switch } "rebuild home": { - # footclient -H home-manager switch --flake ($"~/Sync/setup#(whoami)@(hostname)" | path expand) - footclient -H nh home switch + # foot -H home-manager switch --flake ($"~/Sync/setup#(whoami)@(hostname)" | path expand) + foot -H nh home switch } "update flake": { - footclient -H nix flake update --flake ($"~/Sync/setup/" | path expand) + foot -H nix flake update --flake ($"~/Sync/setup/" | path expand) } "manage wifi": { - footclient ${pkgs.impala}/bin/impala + foot ${pkgs.impala}/bin/impala } "manage bluetooth": { - footclient ${lib.getExe pkgs.bluetui} + foot ${lib.getExe pkgs.bluetui} } "create qr-code": { let temp_file = mktemp -- cgit v1.2.3