hack: Restart waybar process on display change
This commit is contained in:
parent
5ca208967e
commit
e5d53052ad
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue