hack: Restart waybar process on display change

This commit is contained in:
coolneng 2020-09-13 17:14:08 +02:00
parent 5ca208967e
commit e5d53052ad
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 0 deletions

View File

@ -5,9 +5,11 @@ profile multihead {
exec swaymsg workspace "4: ", move workspace to HDMI-A-2 exec swaymsg workspace "4: ", move workspace to HDMI-A-2
exec light -S 100 exec light -S 100
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0 exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
exec pkill waybar; waybar
} }
profile nomad { profile nomad {
output eDP-1 enable mode 1920x1080 output eDP-1 enable mode 1920x1080
exec light -S 70 exec light -S 70
exec pkill waybar; waybar
} }