chore(waybar): Modify waybar outputs' names

This commit is contained in:
ulic-youthlic 2025-09-12 20:47:23 +08:00
parent 8365f2e4de
commit f9f767e150
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721

View file

@ -6,19 +6,19 @@
cfg = config.david.programs.niri.waybar; cfg = config.david.programs.niri.waybar;
in in
[ [
(cfg.template // (cfg.helper.mkBacklight "ddcci13") // { output = "DP-3"; }) (cfg.template // (cfg.helper.mkBacklight "ddcci13") // { output = "DP-1"; })
(cfg.template // (cfg.helper.mkBacklight "nvidia_0") // { output = "eDP-1"; }) (cfg.template // (cfg.helper.mkBacklight "nvidia_0") // { output = "eDP-2"; })
]; ];
wluma.extraSettings = { wluma.extraSettings = {
output = { output = {
backlight = [ backlight = [
{ {
name = "eDP-1"; name = "eDP-2";
path = "/sys/class/backlight/nvidia_0"; path = "/sys/class/backlight/nvidia_0";
capturer = "wayland"; capturer = "wayland";
} }
{ {
name = "DP-3"; name = "DP-1";
path = "/sys/class/backlight/ddcci13"; path = "/sys/class/backlight/ddcci13";
capturer = "wayland"; capturer = "wayland";
} }