diff --git a/.config/polybar/config.d/laptop b/.config/polybar/config.d/laptop index a08dc51..e681bf7 100644 --- a/.config/polybar/config.d/laptop +++ b/.config/polybar/config.d/laptop @@ -4,7 +4,16 @@ height = 54 wireless_interface = wlp2s0 top_left = powermenu system-uptime-pretty battery top_center = xwindow -top_right = system-usb-udev luminosity pulseaudio date +top_right = system-usb-udev backlight pulseaudio date + +[module/backlight] +type = internal/backlight +card = intel_backlight +label = %{F#77dd77}☀️%{F#ddd} %percentage%% +bar-width = 10 +bar-indicator = | +bar-fill = ─ +bar-empty = ─ [module/luminosity] type = custom/script diff --git a/.config/polybar/scripts/luminosity.sh.laptop b/.config/polybar/scripts/luminosity.sh.laptop deleted file mode 100755 index 9368159..0000000 --- a/.config/polybar/scripts/luminosity.sh.laptop +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -lum=$(xbacklight -get) -echo "%{F#77dd77}☀️%{F#ddd} ${lum}%"