SHUDDUP/polybar/modules.ini

198 lines
4.9 KiB
INI

;==========================================================
[module/rofi]
type=custom/text
content=":)"
content-padding=3
content-foreground=#ff0000
content-background=#ffff00
;==========================================================
[module/ss]
type=custom/text
content=" "
content-foreground=${colors.red}
content-background=${colors.crust}
;==========================================================
[module/i3]
type = internal/i3
enable-scroll = true
show-urgent = true
strip-wsnumbers = false
index-sort = true
enable-click = true
wrapping-scroll = false
format = <label-state> <label-mode>
label-mode = %mode%
label-mode-padding = 1
label-mode-background = ${colors.transparent}
label-mode-foreground = ${colors.transparent}
label-focused-foreground = ${colors.crust}
label-focused-background = ${colors.red}
label-focused-underline = ${colors.transparent}
label-focused-padding = 4
label-unfocused-foreground = ${colors.transparent}
label-unfocused-padding = 4
label-visible-underline = ${colors.transparent}
label-visible-padding = 4
label-urgent-foreground = ${colors.transparent}
label-urgent-underline = ${colors.transparent}
label-urgent-padding = 4
label-separator = " | "
label-separator-padding = 1
label-separator-foreground = ${colors.transparent}
;==========================================================
[module/xwindow]
type = internal/xwindow
format-prefix=|
format-margin=2
format-prefix-foreground=${colors.text}
label = %title:0:200:%
label-foreground = ${colors.text}
label-padding-left=4
label-padding-right=4
;==========================================================
[module/time]
type = internal/date
interval = 1
format-prefix = "  "
format-prefix-foreground=${colors.pink}
format-underline= ${colors.pink}
date = %a %d %b %H:%M:%S
label =%date%
label-foreground = ${colors.pink}
label-padding-left=2
label-padding-right=2
;==========================================================
[module/filesystem]
type = internal/fs
interval = 2
mount-0 = /
format-mounted-prefix = "  "
format-mounted-prefix-foreground = ${colors.red}
format-mounted-underline=${colors.red}
label-mounted = %free%
label-unmounted = %mountpoint% not mounted
label-mounted-foreground = ${colors.red}
label-mounted-padding-left=2
label-mounted-padding-right=2
;==========================================================
[module/cpu]
type = internal/cpu
interval = 1
format-prefix = "  "
format-prefix-foreground = ${colors.peac}
format-underline= ${colors.peach}
label = %percentage%%
label-foreground = ${colors.peach}
label-padding-left=2
label-padding-right=2
;==========================================================
[module/temp]
type = internal/temperature
interval = 2
thermal-zone = 0
hwmon-path = /sys/class/hwmon/hwmon1/temp1_input
base-temperature = 20
warn-temperature = 70
units = true
format =<label>
format-underline=${colors.yellow}
format-prefix = "  CPU "
format-prefix-foreground= ${colors.yellow}
label = %temperature-c%
label-foreground = ${colors.yellow}
label-padding-left=2
label-padding-right=2
format-warn-prefix = "  CPU "
format-warn-prefix-foreground= ${colors.yellow}
format-warn-underline= ${colors.yellow}
label-warn = %temperature-c%
label-warn-foreground = ${colors.yellow}
label-warn-padding-left=2
label-warn-padding-right=2
;==============================================================
[module/tempgpu]
type = custom/script
interval = 2
exec = nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader,nounits
base-temperature = 20
warn-temperature = 70
units = true
format =<label>
format-underline=${colors.green}
format-prefix = "  GPU "
format-prefix-foreground= ${colors.green}
label = %output%°C
label-foreground = ${colors.green}
label-padding-left=2
label-padding-right=2
format-warn-prefix = "  GPU "
format-warn-prefix-foreground= ${colors.green}
format-warn-underline= ${colors.green}
label-warn = %output%
label-warn-foreground = ${colors.green}
label-warn-padding-left=2
label-warn-padding-right=2
;==========================================================
[module/memory]
type = internal/memory
interval = 1
format-prefix = "  "
format-prefix-foreground = ${colors.blue}
format-underline=${colors.blue}
label = %mb_used%
label-foreground = ${colors.cream}
label-padding-left=2
label-padding-right=2
;==========================================================
[module/pulseaudio]
type = internal/pulseaudio
format-volume-prefix = "  "
format-volume-prefix-foreground = ${colors.lavender}
format-volume = <label-volume>
format-volume-underline= ${colors.lavender}
label-volume = %percentage%%
label-volume-foreground= ${colors.lavender}
label-volume-padding-left=2
label-volume-padding-right=2
label-muted =  muted
label-muted-foreground = ${colors.lavender}
label-muted-underline = ${colors.lavender}
label-muted-padding=2
;==========================================================
[settings]
screenchange-reload = true
pseudo-transparency = true
; vim:ft=dosini