TheRepoClub-DotFiles/polybar/.config/polybar/user_modules.ini
2023-09-10 18:14:34 +01:00

233 lines
4.6 KiB
INI

;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ __ __ ___ __ __
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ )
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Wayne Wesley @The-Repo-Club
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/check-all-updates.sh
tail = true
interval = 300
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
click-left = pkgbrowser &
[module/updates_i]
type = custom/text
format = 󰚰
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
click-left = pkgbrowser &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/distro]
type = custom/script
exec = lsb_release -a | grep "Distributor ID:" | sed 's/Distributor ID://g' | awk '{print $1}'
tail = true
interval = 1
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
[module/distro_i]
type = custom/text
format =
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/launcher]
type = custom/text
format = Menu
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
click-left = menu
[module/launcher_i]
type = custom/text
format = 󰍜
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
click-left = menu
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/power]
type = custom/text
format = Power
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = rofi -show powermenu -config ~/.config/rofi/powermenu.rasi
[module/power_i]
type = custom/text
format =
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
click-left = rofi -show powermenu -config ~/.config/rofi/powermenu.rasi
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/separator]
type = custom/text
format = |
format-background = ${color.bg}
format-foreground = ${color.bg}
format-padding = 0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/kernel]
type = custom/script
exec = uname -r
tail = true
interval = 1024
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
[module/kernel_i]
type = custom/text
format =
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/xcompmgr]
type = custom/script
exec = ~/.config/polybar/scripts/xcompmgr.sh
click-left = ~/.config/polybar/scripts/xcompmgr-toggle.sh
tail = true
interval = 1
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
[module/xcompmgr_i]
type = custom/text
click-left = ~/.config/polybar/scripts/xcompmgr-toggle.sh
format = 󰌢
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/herbstluftwm]
type = custom/script
exec = ~/.config/polybar/scripts/info-hlwm-workspaces.sh
tail = true
scroll-up = herbstclient use_index -1 --skip-visible &
scroll-down = herbstclient use_index +1 --skip-visible &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/github_notifications]
type = custom/script
exec = ~/.config/polybar/scripts/github/notifications
tail = true
interval = 300
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/github_repositories]
type = custom/script
exec = ~/.config/polybar/scripts/github/repositories
tail = true
interval = 300
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/github_gists]
type = custom/script
exec = ~/.config/polybar/scripts/github/gists
tail = true
interval = 300
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
[module/github_i]
type = custom/text
format =
format-background = ${color.red}
format-foreground = ${color.fg}
format-padding = 1
[module/space]
type = custom/text
format = " "
format-background = ${color.bg}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_