From 48fbc3b8f08d7ed9f14b3cb5857614d51ddfda37 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Thu, 12 Oct 2023 16:40:58 +0800 Subject: [PATCH] home,sway: fix extra spaces in exit dialog --- users/guanranwang/home-manager/nixos/sway.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/guanranwang/home-manager/nixos/sway.nix b/users/guanranwang/home-manager/nixos/sway.nix index 335edf8..654d3cf 100644 --- a/users/guanranwang/home-manager/nixos/sway.nix +++ b/users/guanranwang/home-manager/nixos/sway.nix @@ -60,7 +60,7 @@ "${modifier}+v" = "floating toggle"; "${modifier}+f" = "fullscreen"; "${modifier}+q" = "kill"; - "${modifier}+Shift+e" = "exec ${pkgs.sway}/bin/swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' '${pkgs.sway}/bin/swaymsg exit'"; + "${modifier}+Shift+e" = "exec ${pkgs.sway}/bin/swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' '${pkgs.sway}/bin/swaymsg exit'"; # Move around "${modifier}+h" = "focus left";