colors and change name from example

This commit is contained in:
clint 2022-08-10 17:03:31 -05:00
parent 8368490c61
commit 1e7950caeb
2 changed files with 27 additions and 38 deletions

View File

@ -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 = <label>
label = RAM %gb_used%/%gb_total%
label = RAM %gb_used%/%gb_total%
bar-used-width = 50
bar-used-indicator =
bar-used-fill =
bar-used-empty =
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
[module/wireless-network]
type = internal/network
@ -192,16 +183,22 @@ interface = wlan0
interval = 10
label-connected =  SSID: %essid% %signal%% %local_ip%
format-background = #444444
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
[module/weather]
type = custom/script
exec = ~/.scripts/i3_weather.sh
interval = 3600
click-left = alacritty --hold -e curl -Ss http://wttr.in
;format-prefix = W
format-prefix-foreground = ${colors.foreground-alt}
[module/finance]
type = custom/script
format-prefix = " "
exec = ~/.scripts/i3_finance.sh
format-prefix-foreground = ${colors.foreground-alt}
interval = 3600
[module/pacman]
@ -209,6 +206,8 @@ type = custom/script
exec = ~/.scripts/i3_pacman.sh
interval = 3600
click-left = [[ $(checkupdates | wc -l) -gt 0 ]] && alacritty --hold -e checkupdates
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
[settings]
screenchange-reload = true

View File

@ -7,15 +7,5 @@ killall -q polybar
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch polybar
polybar --config=~/.config/polybar/config.ini example &
polybar --config=~/.config/polybar/config.ini main &