From e5d53052adce5426d76fa352917a33c254c680f6 Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 13 Sep 2020 17:14:08 +0200 Subject: [PATCH] hack: Restart waybar process on display change --- kanshi/.config/kanshi/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kanshi/.config/kanshi/config b/kanshi/.config/kanshi/config index 3c00339..9d75e2a 100644 --- a/kanshi/.config/kanshi/config +++ b/kanshi/.config/kanshi/config @@ -5,9 +5,11 @@ profile multihead { exec swaymsg workspace "4: ", move workspace to HDMI-A-2 exec light -S 100 exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0 + exec pkill waybar; waybar } profile nomad { output eDP-1 enable mode 1920x1080 exec light -S 70 + exec pkill waybar; waybar }