From e29717300be50419626d9d66c6bf24716e3397ce Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 17 Jul 2024 17:16:54 +0300 Subject: [PATCH] Sway : Swap waybar to Mod+Shift+r. --- home/config/sway/module/Tiling.nix | 2 +- home/config/sway/module/Waybar.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/config/sway/module/Tiling.nix b/home/config/sway/module/Tiling.nix index 2afae955..4ffc5212 100644 --- a/home/config/sway/module/Tiling.nix +++ b/home/config/sway/module/Tiling.nix @@ -4,7 +4,7 @@ bindsym $mod+shift+f floating toggle # Swap focus between the tiling area and the floating area - bindsym $mod+shift+r focus mode_toggle + bindsym $mod+r focus mode_toggle # Move focus to the parent container # bindsym $mod+a focus parent diff --git a/home/config/sway/module/Waybar.nix b/home/config/sway/module/Waybar.nix index dba16b6d..a6034680 100644 --- a/home/config/sway/module/Waybar.nix +++ b/home/config/sway/module/Waybar.nix @@ -1,6 +1,6 @@ { ... }: { text = '' - bindsym $mod+r exec pkill -SIGUSR1 waybar + bindsym $mod+shift+r exec 'pkill -SIGUSR1 waybar || waybar' exec waybar exec nm-applet '';