sway(bindswitch): use kanshictl from $PATH

This commit is contained in:
leo 2023-06-06 15:47:40 +02:00
parent 50f0c113af
commit a7dcd20900
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -131,8 +131,8 @@ exec --no-startup-id {
bindsym ctrl+alt+l exec --no-startup-id $lock bindsym ctrl+alt+l exec --no-startup-id $lock
bindsym $mod+grave exec $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: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 && /usr/local/bin/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 exec --no-startup-id swaymsg focus output $pri
output "*" bg $bg fill #000000 output "*" bg $bg fill #000000