36 lines
2.0 KiB
Bash
36 lines
2.0 KiB
Bash
# See https://github.com/polybar/polybar/wiki/Formatting#format-tags-inside-polybar-config
|
|
# Only way to use format tags with variables in polybar for now
|
|
export MOCHA_TEXT="#cdd6fa"
|
|
export MOCHA_MAROON="#eba0ac"
|
|
export MOCHA_PEACH="#fab387"
|
|
export MOCHA_LAVENDER="#b4befe"
|
|
export MOCHA_BLUE="#89b4fa"
|
|
export MOCHA_SKY="#89dceb"
|
|
export MOCHA_YELLOW="#f9e2af"
|
|
export MOCHA_GREEN="#a6e3a1"
|
|
export MOCHA_SAPPHIRE="#74c7ec"
|
|
export MOCHA_PINK="#f5c2e7"
|
|
export MOCHA_ROSEWATER="#f2cdcd"
|
|
export MOCHA_MAUVE="#ca9ee6"
|
|
export MOCHA_TEAL="#81c8be"
|
|
export BAR_WINDOW="%{F$MOCHA_TEXT}%title%"
|
|
export BAR_WIFI_CONNECTED="%{F$MOCHA_TEXT}%essid% %{F$MOCHA_YELLOW}%{F$MOCHA_TEXT} %local_ip% %{F$MOCHA_YELLOW}%{F$MOCHA_TEXT} %downspeed% %{F$MOCHA_YELLOW}%{F$MOCHA_TEXT} %upspeed%"
|
|
export BAR_WIRED_CONNECTED="%{F$MOCHA_TEXT}%ifname% %{F$MOCHA_YELLOW}%{F$MOCHA_TEXT} %local_ip% %{F$MOCHA_YELLOW}%{F$MOCHA_TEXT} %downspeed% %{F$MOCHA_YELLOW}%{F$MOCHA_TEXT} %upspeed%"
|
|
export BAR_CPU="%{F$MOCHA_MAUVE} "
|
|
export BAR_TEMP_OK="%{F$MOCHA_MAUVE} %{F-} %temperature-c%"
|
|
export BAR_TEMP_WARN="%{F$MOCHA_PEACH} %{F-} %temperature-c%"
|
|
export BAR_MENU_OPEN="%{F$MOCHA_MAUVE}%{F$MOCHA_TEXT}"
|
|
export BAR_MENU_CLOSE="%{F$MOCHA_MAUVE}%{F$MOCHA_TEXT}"
|
|
export BAR_BACKLIGHT="{F$MOCHA_SKY}☀️%{F$MOCHA_TEXT} %percentage%%"
|
|
export BAR_BATTERY_FULL="%{$MOCHA_SAPPHIRE} %percentage%%"
|
|
export BAR_BATTERY_CHARGING="${MOCHA_LAVENDER} %percentage%%"
|
|
export BAR_BATTERY_DISCHARGIN="${MOCHA_PEACH} %percentage%%"
|
|
export BAR_MEMORY_DESKTOP="%{F$MOCHA_MAUVE}"
|
|
export BAR_MEMORY_LAPTOP="%{F$MOCHA_MAUVE}%percentage_used%%"
|
|
export BAR_MEMORY_LAPTOP_WARN="%{F$MOCHA_PEACH}%percentage_used%%"
|
|
export BAR_DATE="%{F$MOCHA_MAUVE}🕓%{F$MOCHA_TEXT} %date% · %time%"
|
|
export BAR_LOW_VOL="%{F$MOCHA_MAUVE}🔈%{F$MOCHA_TEXT}"
|
|
export BAR_MED_VOL="%{F$MOCHA_MAUVE}🔉%{F$MOCHA_TEXT}"
|
|
export BAR_HIGH_VOL="%{F$MOCHA_MAUVE}🔊%{F$MOCHA_TEXT}"
|
|
export BAR_HEAD_VOL="%{F$MOCHA_MAUVE}%{F$MOCHA_TEXT}"
|