From 9a80c3f4f8526601ff37cf16e6e023e1f2bb52d2 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 21 Jul 2022 22:27:59 +0200 Subject: [PATCH] polybar: farben --- polybar/conf.d/colors | 17 ++++++++++------- polybar/conf.d/mod_battery | 6 +++--- polybar/conf.d/mod_cpu | 2 +- polybar/conf.d/mod_df | 2 +- polybar/conf.d/mod_dunst | 2 +- polybar/conf.d/mod_mem | 2 +- polybar/conf.d/mod_network | 8 ++++---- polybar/conf.d/mod_pulseaudio | 4 ++-- polybar/conf.d/mod_startmenu | 6 +++--- polybar/conf.d/module.defaults | 2 +- 10 files changed, 27 insertions(+), 24 deletions(-) diff --git a/polybar/conf.d/colors b/polybar/conf.d/colors index e5f5ca6..36d4efb 100644 --- a/polybar/conf.d/colors +++ b/polybar/conf.d/colors @@ -1,8 +1,11 @@ [colors] -background = #222 -background-alt = #444 -foreground = #dfdfdf -foreground-alt = #555 -primary = #ffb52a -secondary = #e60053 -alert = #bd2c40 +#background = #222 +#background-alt = #444 +#foreground = #dfdfdf +#primary = #ffb52a +#secondary = #e60053 +#alert = #bd2c40 + +green = #32CD32 +orange = #FF8A00 +darkgrey = #555 diff --git a/polybar/conf.d/mod_battery b/polybar/conf.d/mod_battery index ac73acd..c6316cd 100644 --- a/polybar/conf.d/mod_battery +++ b/polybar/conf.d/mod_battery @@ -8,8 +8,8 @@ label-charging =%percentage%% (CHG) // %consumption%W label-discharging =%percentage%% @ %consumption%W label-full = FULL // %consumption%W format-charging-prefix = "PWR " -format-charging-prefix-foreground =${colors.foreground-alt} +format-charging-prefix-foreground =${colors.darkgrey} format-discharging-prefix = "PWR " -format-discharging-prefix-foreground =${colors.foreground-alt} +format-discharging-prefix-foreground =${colors.darkgrey} format-full-prefix = "PWR " -format-full-prefix-foreground =${colors.foreground-alt} +format-full-prefix-foreground =${colors.darkgrey} diff --git a/polybar/conf.d/mod_cpu b/polybar/conf.d/mod_cpu index 79d8004..c2d9ff2 100644 --- a/polybar/conf.d/mod_cpu +++ b/polybar/conf.d/mod_cpu @@ -7,5 +7,5 @@ format-prefix = "LAVG " type = internal/cpu interval = 5 format-prefix = "CPU " -format-prefix-foreground = ${colors.foreground-alt} +format-prefix-foreground = ${colors.darkgrey} label = %percentage:2%% diff --git a/polybar/conf.d/mod_df b/polybar/conf.d/mod_df index b395021..5855398 100644 --- a/polybar/conf.d/mod_df +++ b/polybar/conf.d/mod_df @@ -4,4 +4,4 @@ mount-0 = / label-mounted = %percentage_used%% format-mounted = format-mounted-prefix = "DU " -format-mounted-prefix-foreground =${colors.foreground-alt} +format-mounted-prefix-foreground =${colors.darkgrey} diff --git a/polybar/conf.d/mod_dunst b/polybar/conf.d/mod_dunst index ce1fbba..bb8e189 100644 --- a/polybar/conf.d/mod_dunst +++ b/polybar/conf.d/mod_dunst @@ -2,4 +2,4 @@ type = custom/script exec = ~/dotfiles/scripts/polybar/dunst.sh interval = 2 -format-foreground = ${colors.foreground-alt} +format-foreground = ${colors.darkgrey} diff --git a/polybar/conf.d/mod_mem b/polybar/conf.d/mod_mem index 85836fd..071e357 100644 --- a/polybar/conf.d/mod_mem +++ b/polybar/conf.d/mod_mem @@ -2,5 +2,5 @@ type = internal/memory interval = 5 format-prefix = "MEM " -format-prefix-foreground = ${colors.foreground-alt} +format-prefix-foreground = ${colors.darkgrey} label = %percentage_used%% diff --git a/polybar/conf.d/mod_network b/polybar/conf.d/mod_network index c76ca1a..2ba7c21 100644 --- a/polybar/conf.d/mod_network +++ b/polybar/conf.d/mod_network @@ -9,8 +9,8 @@ format-disconnected = format-connected-prefix = "NW " format-disconnected-prefix = "NW " -format-connected-prefix-foreground = ${colors.foreground-alt} -format-disconnected-prefix-foreground = ${colors.foreground-alt} +format-connected-prefix-foreground = ${colors.darkgrey} +format-disconnected-prefix-foreground = ${colors.darkgrey} label-connected = %ifname% @ %local_ip% label-disconnected = %ifname%: not connected @@ -27,5 +27,5 @@ format-disconnected = format-connected-prefix = "NW " format-disconnected-prefix = "NW " -format-connected-prefix-foreground = ${colors.foreground-alt} -format-disconnected-prefix-foreground = ${colors.foreground-alt} +format-connected-prefix-foreground = ${colors.darkgrey} +format-disconnected-prefix-foreground = ${colors.darkgrey} diff --git a/polybar/conf.d/mod_pulseaudio b/polybar/conf.d/mod_pulseaudio index ee786d2..4082f8c 100644 --- a/polybar/conf.d/mod_pulseaudio +++ b/polybar/conf.d/mod_pulseaudio @@ -6,12 +6,12 @@ use-ui-max = true format-volume = format-volume-prefix = "VOL " -format-volume-prefix-foreground =${colors.foreground-alt} +format-volume-prefix-foreground =${colors.darkgrey} label-muted = muted format-muted-prefix = "VOL " -format-muted-prefix-foreground =${colors.foreground-alt} +format-muted-prefix-foreground =${colors.darkgrey} click-right = pavucontrol diff --git a/polybar/conf.d/mod_startmenu b/polybar/conf.d/mod_startmenu index 735bac0..ce8dc9b 100644 --- a/polybar/conf.d/mod_startmenu +++ b/polybar/conf.d/mod_startmenu @@ -1,10 +1,10 @@ [module/startmenu] type = custom/menu -format-full-prefix-foreground =${colors.foreground-alt} +format-full-prefix-foreground = ${colors.darkgrey} label-open =" Start " label-close =" Close " -label-open-background = "#32CD32" -label-close-background = "#FF8A00" +label-open-background = ${colors.green} +label-close-background = ${colors.orange} label-separator = | format-spacing = 1 diff --git a/polybar/conf.d/module.defaults b/polybar/conf.d/module.defaults index 93dac5f..32bdd1f 100644 --- a/polybar/conf.d/module.defaults +++ b/polybar/conf.d/module.defaults @@ -1,4 +1,4 @@ [module/defaults] type = custom/script interval = 30 -format-prefix-foreground = ${colors.foreground-alt} +format-prefix-foreground = ${colors.darkgrey}