diff --git a/arch-config/.config/polybar/modules/modules_arco-pc.ini b/arch-config/.config/polybar/modules/modules_arco-pc.ini new file mode 100755 index 00000000..6ccd4375 --- /dev/null +++ b/arch-config/.config/polybar/modules/modules_arco-pc.ini @@ -0,0 +1,1031 @@ +################################################################################ +############################################################################### +############ MODULES A-Z ############ +################################################################################ +################################################################################ + + +[module/arch-aur-updates] +type = custom/script +exec = ~/.config/polybar/scripts/check-all-updates.sh +interval = 1000 +label = Updates: %output% +format-foreground = ${colors.foreground} +format-background = ${colors.background} +format-prefix = "  " +format-prefix-foreground = #FFBB00 +format-underline = #FFBB00 + + +[module/aur-updates] +type = custom/script +exec = cower -u | wc -l +interval = 1000 +label = Aur: %output% +format-foreground = ${colors.foreground} +format-background = ${colors.background} +format-prefix = "  " +format-prefix-foreground = #FFBB00 +format-underline = #FFBB00 + + +################################################################################ + + +[module/decor-glyph] +type = custom/text +content-background = ${colors.background} +content-foreground = ${colors.modbackground} + +[module/left-top] +inherit = module/decor-glyph +content = " " + +[module/left-bot] +inherit = module/decor-glyph +content = " " + +[module/right-top] +inherit = module/decor-glyph +content = " " + +[module/right-bot] +inherit = module/decor-glyph +content = " " + +[module/light-left-top] +inherit = module/decor-glyph +content-foreground = ${colors.lightforeground} +content = " " + +[module/light-left-bot] +inherit = module/decor-glyph +content-foreground = ${colors.lightforeground} +content = " " + +[module/light-right-top] +inherit = module/decor-glyph +content-foreground = ${colors.lightforeground} +content = " " + +[module/light-right-bot] +inherit = module/decor-glyph +content-foreground = ${colors.lightforeground} +content = " " + +[module/full] +inherit = module/decor-glyph +content-background = ${colors.modbackground} +content = " " + + +################################################################################ + + +[module/player-mpris-tail] +type = custom/script +format-foreground = ${colors.foreground} +format-background = ${colors.modbackground} +exec = ~/scripts/polybar/player-mpris-tail.py -f '{icon} {:artist:t15:{artist}:}{:artist: - :}{:t30:{title}:}' +tail = true +click-left = ~/scripts/polybar/player-mpris-tail.py play-pause & +click-right = ~/scripts/polybar/player-mpris-tail.py next & +click-middle = ~/scripts/polybar/player-mpris-tail.py previous & + + +################################################################################ + + +[module/backlight-acpi] +inherit = module/xbacklight +type = internal/backlight +card = intel_backlight +format-foreground = ${colors.foreground} +format-background = ${colors.background} +format-prefix-foreground = #7D49B6 +format-prefix-underline = #7D49B6 +format-underline = #7D49B6 + + +################################################################################ + + +[module/sysmenu] +type = custom/text +content = " ▶ " +content-background = ${colors.modbackground} +content-foreground = ${colors.foreground} + +click-left = ~/scripts/polybar/powermenu + + +################################################################################ + + +[module/player-cmus] +type = custom/script +exec = ~/scripts/polybar/player-cmus.sh +interval = 5 +content-background = ${colors.modbackground} +format-background = ${colors.modbackground} +click-left = cmus-remote -u & +click-right = cmus-remote -n & +click-middle = cmus-remote -r & + + +################################################################################ + + +[module/backlight] +;https://github.com/jaagr/polybar/wiki/Module:-backlight + +type = internal/backlight + +; Use the following command to list available cards: +; $ ls -1 /sys/class/backlight/ +card = intel_backlight + +; Available tags: +;