From 1e7950caeb5811caa33fcefbadefd83b106580bc Mon Sep 17 00:00:00 2001 From: clint Date: Wed, 10 Aug 2022 17:03:31 -0500 Subject: [PATCH] colors and change name from example --- polybar/.config/polybar/config.ini | 53 +++++++++++++++--------------- polybar/.config/polybar/launch.sh | 12 +------ 2 files changed, 27 insertions(+), 38 deletions(-) diff --git a/polybar/.config/polybar/config.ini b/polybar/.config/polybar/config.ini index e50e9c3..bb93845 100644 --- a/polybar/.config/polybar/config.ini +++ b/polybar/.config/polybar/config.ini @@ -30,16 +30,16 @@ alert = #bd2c40 ; transparent [colors2] -background = #00553555 -background-alt = #50553555 -background-inactive = #50755B69 +background = #90553555 +background-alt = #90553555 +background-inactive = #90755B69 foreground = #000000 foreground-alt = #fff primary = #ffb52a secondary = #e60053 alert = #bd2c40 -[bar/example] +[bar/main] ;monitor = ${env:MONITOR:HDMI-1} width = 100% height = 27 @@ -47,6 +47,7 @@ height = 27 ;offset-y = 1% radius = 0.0 fixed-center = false +separator = | background = ${colors.background} foreground = ${colors.foreground} @@ -67,6 +68,7 @@ font-0 = fixed:pixelsize=10;1 font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular font-2 = NotoSansMono Nerd Font:style=Regular font-3 = FontAwesome6Free +font-4 = FontAwesome5Free modules-left = i3 title modules-center = @@ -74,18 +76,7 @@ modules-right = pacman finance memory cpu filesystem wireless-network weather da tray-position = right tray-padding = 2 -;tray-background = #0063ff - -;wm-restack = bspwm -;wm-restack = i3 - -;override-redirect = true - -;scroll-up = bspwm-desknext -;scroll-down = bspwm-deskprev - -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev +scroll-down = i3wm-wsprev cursor-click = pointer cursor-scroll = ns-resize @@ -139,33 +130,31 @@ label-urgent = %icon% label-urgent-background = ${colors.alert} label-urgent-padding = 2 -; Separator in between workspaces -;label-separator = | - [module/date] type = internal/date interval = 1.0 -date = %{A1:alacritty -e calcurse:} 📅 %A, %B %d, %Y %I:%M:%S %p %{A} +date = %{A1:alacritty -e calcurse:} %A, %B %d, %Y %I:%M:%S %p %{A} +format-prefix = 📅 +format-prefix-foreground = ${colors.foreground-alt} [module/filesystem] type = internal/fs interval = 60 - mount-0 = / mount-1 = /home - label-mounted = %{A1:alacritty --hold -e df -h:}  %mountpoint%: %percentage_used%% %{A} +format-prefix =  +format-prefix-foreground = ${colors.foreground-alt} ;label-unmounted = %mountpoint% not mounted ;label-unmounted-foreground = ${colors.foreground-alt} -; Separator in between workspaces -label-separator = | - [module/cpu] type = internal/cpu interval = 10 warn-percentage = 95 -label = %{A1:alacritty -e htop:}  CPU %percentage%% %{A} +label = %{A1:alacritty -e htop:} CPU %percentage%% %{A} +format-prefix =  +format-prefix-foreground = ${colors.foreground-alt} [module/title] type = internal/xwindow @@ -180,11 +169,13 @@ type = internal/memory interval = 10 warn-percentage = 95 format =