From a7dcd20900a1557902ea2477e9ddb1aaaca91622 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 6 Jun 2023 15:47:40 +0200 Subject: [PATCH] sway(bindswitch): use kanshictl from $PATH --- .config/sway/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index ccc52ac..19ee327 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -131,8 +131,8 @@ exec --no-startup-id { bindsym ctrl+alt+l exec --no-startup-id $lock bindsym $mod+grave exec $lock -bindswitch --reload --locked lid:on exec --no-startup-id $(swaymsg output $laptop_screen disable && /usr/local/bin/kanshictl reload) -bindswitch --reload --locked lid:off exec --no-startup-id $(swaymsg output $laptop_screen enable && /usr/local/bin/kanshictl reload) +bindswitch --reload --locked lid:on exec --no-startup-id swaymsg output $laptop_screen disable && kanshictl reload +bindswitch --reload --locked lid:off exec --no-startup-id swaymsg output $laptop_screen enable && kanshictl reload exec --no-startup-id swaymsg focus output $pri output "*" bg $bg fill #000000