Replace light with brightnessctl
This commit is contained in:
@@ -5,8 +5,8 @@ profile multihead-dock {
|
||||
exec swaymsg workspace "3: ", move workspace to eDP-1
|
||||
exec swaymsg workspace "2: ", move workspace to DP-1
|
||||
exec swaymsg workspace "4: ", move workspace to DP-1
|
||||
exec light -S 100
|
||||
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
||||
exec brightnessctl set 100%
|
||||
exec brightnessctl --device=tpacpi::kbd_backlight set 0
|
||||
}
|
||||
|
||||
profile multihead-HDMI {
|
||||
@@ -16,11 +16,11 @@ profile multihead-HDMI {
|
||||
exec swaymsg workspace "3: ", move workspace to eDP-1
|
||||
exec swaymsg workspace "2: ", move workspace to HDMI-A-2
|
||||
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 brightnessctl set 100%
|
||||
exec brightnessctl --device=tpacpi::kbd_backlight set 0
|
||||
}
|
||||
|
||||
profile nomad {
|
||||
output eDP-1 enable
|
||||
exec light -S 50
|
||||
exec brightnessctl set 50%
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user