hyprland: default terminal moved to foot

This commit is contained in:
Tigor Hutasuhut 2024-07-26 20:10:32 +07:00
parent 415932a019
commit a250517712
3 changed files with 6 additions and 7 deletions

View file

@ -91,6 +91,7 @@ in
"$mod, BackSpace, exec, wlogout" "$mod, BackSpace, exec, wlogout"
''$mod, F, exec, ${select-window.path}'' ''$mod, F, exec, ${select-window.path}''
"$mod, W, exec, pypr wall next" "$mod, W, exec, pypr wall next"
"$mod, S, exec, foot ssh homeserver@vpn.tigor.web.id"
# Workspaces # Workspaces
"$mod, 1, workspace, 1" "$mod, 1, workspace, 1"

View file

@ -4,10 +4,6 @@ let
in in
{ {
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
wayland.windowManager.hyprland.settings.bind = [
"$mod, S, exec, wezterm ssh homeserver@vpn.tigor.web.id"
];
programs.wezterm = { programs.wezterm = {
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;

View file

@ -43,9 +43,11 @@ in
let let
inherit (lib) strings attrsets; inherit (lib) strings attrsets;
in in
''${strings.concatStringsSep "\n" ( ''
attrsets.mapAttrsToList (name: _: "192.168.100.5 ${strings.removePrefix "https://" name}") config.services.caddy.virtualHosts 192.168.100.5 vpn.tigor.web.id
)} ${strings.concatStringsSep "\n" (
attrsets.mapAttrsToList (name: _: "192.168.100.5 ${strings.removePrefix "https://" name}") config.services.caddy.virtualHosts
)}
''; '';
}; };
virtualisation.oci-containers.containers.${name} = { virtualisation.oci-containers.containers.${name} = {