Remove bullshit luminosity script, use polybar module

master
Quentin Duchemin 2019-11-19 17:30:09 +01:00
parent 17224c0a92
commit 06661ff2dd
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
2 changed files with 10 additions and 5 deletions

View File

@ -4,7 +4,16 @@ height = 54
wireless_interface = wlp2s0 wireless_interface = wlp2s0
top_left = powermenu system-uptime-pretty battery top_left = powermenu system-uptime-pretty battery
top_center = xwindow 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] [module/luminosity]
type = custom/script type = custom/script

View File

@ -1,4 +0,0 @@
#!/bin/bash
lum=$(xbacklight -get)
echo "%{F#77dd77}☀️%{F#ddd} ${lum}%"