mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 07:13:40 +00:00
Remove backlight from polybar
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
libreoffice
|
||||
maven
|
||||
nixpkgs-fmt
|
||||
nodejs
|
||||
nmap
|
||||
nodejs
|
||||
openvpn
|
||||
pinentry-curses
|
||||
postman
|
||||
@@ -130,7 +130,7 @@
|
||||
shellAliases = {
|
||||
ls = "exa -la --git";
|
||||
".." = "cd ..";
|
||||
config = "/usr/bin/git --git-dir=~/.dotfiles/ --work-tree=~";
|
||||
config = "/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME";
|
||||
grep = "grep --color=auto --line-buffered";
|
||||
};
|
||||
|
||||
|
@@ -35,7 +35,7 @@ font-0 = Fira Code:size=11;0
|
||||
|
||||
modules-left = bspwm powermenu
|
||||
modules-center = xwindow
|
||||
modules-right = filesystem xbacklight pulseaudio memory cpu wlan battery temperature date
|
||||
modules-right = filesystem pulseaudio memory cpu wlan battery temperature date
|
||||
|
||||
tray-position = right
|
||||
tray-padding = 2
|
||||
@@ -87,28 +87,6 @@ label-empty-padding = 2
|
||||
; Separator in between workspaces
|
||||
; label-separator = |
|
||||
|
||||
[module/xbacklight]
|
||||
type = internal/xbacklight
|
||||
|
||||
format = <label> <bar>
|
||||
label = BL
|
||||
|
||||
bar-width = 10
|
||||
bar-indicator = |
|
||||
bar-indicator-foreground = #fff
|
||||
bar-indicator-font = 2
|
||||
bar-fill = ─
|
||||
bar-fill-font = 2
|
||||
bar-fill-foreground = #9f78e1
|
||||
bar-empty = ─
|
||||
bar-empty-font = 2
|
||||
bar-empty-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/backlight-acpi]
|
||||
inherit = module/xbacklight
|
||||
type = internal/backlight
|
||||
card = intel_backlight
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
@@ -214,11 +192,13 @@ full-at = 98
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-charging-underline = #ffb52a
|
||||
format-charging-prefix = "++"
|
||||
|
||||
format-discharging-prefix = "--"
|
||||
format-discharging = <animation-discharging> <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full-prefix = " "
|
||||
format-full-prefix = "=="
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
|
||||
|
@@ -10,5 +10,3 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
|
||||
MONITOR=$m polybar --reload poly &
|
||||
done
|
||||
|
||||
echo "Polybar launched..."
|
||||
|
Reference in New Issue
Block a user