colors and change name from example
This commit is contained in:
parent
8368490c61
commit
1e7950caeb
|
@ -30,16 +30,16 @@ alert = #bd2c40
|
||||||
|
|
||||||
; transparent
|
; transparent
|
||||||
[colors2]
|
[colors2]
|
||||||
background = #00553555
|
background = #90553555
|
||||||
background-alt = #50553555
|
background-alt = #90553555
|
||||||
background-inactive = #50755B69
|
background-inactive = #90755B69
|
||||||
foreground = #000000
|
foreground = #000000
|
||||||
foreground-alt = #fff
|
foreground-alt = #fff
|
||||||
primary = #ffb52a
|
primary = #ffb52a
|
||||||
secondary = #e60053
|
secondary = #e60053
|
||||||
alert = #bd2c40
|
alert = #bd2c40
|
||||||
|
|
||||||
[bar/example]
|
[bar/main]
|
||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 27
|
height = 27
|
||||||
|
@ -47,6 +47,7 @@ height = 27
|
||||||
;offset-y = 1%
|
;offset-y = 1%
|
||||||
radius = 0.0
|
radius = 0.0
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
|
separator = |
|
||||||
|
|
||||||
background = ${colors.background}
|
background = ${colors.background}
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
@ -67,6 +68,7 @@ font-0 = fixed:pixelsize=10;1
|
||||||
font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular
|
font-1 = Source Han Sans JP,源ノ角ゴシック JP:style=Regular
|
||||||
font-2 = NotoSansMono Nerd Font:style=Regular
|
font-2 = NotoSansMono Nerd Font:style=Regular
|
||||||
font-3 = FontAwesome6Free
|
font-3 = FontAwesome6Free
|
||||||
|
font-4 = FontAwesome5Free
|
||||||
|
|
||||||
modules-left = i3 title
|
modules-left = i3 title
|
||||||
modules-center =
|
modules-center =
|
||||||
|
@ -74,18 +76,7 @@ modules-right = pacman finance memory cpu filesystem wireless-network weather da
|
||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
;tray-background = #0063ff
|
scroll-down = i3wm-wsprev
|
||||||
|
|
||||||
;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
|
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
@ -139,33 +130,31 @@ label-urgent = %icon%
|
||||||
label-urgent-background = ${colors.alert}
|
label-urgent-background = ${colors.alert}
|
||||||
label-urgent-padding = 2
|
label-urgent-padding = 2
|
||||||
|
|
||||||
; Separator in between workspaces
|
|
||||||
;label-separator = |
|
|
||||||
|
|
||||||
[module/date]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 1.0
|
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]
|
[module/filesystem]
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
interval = 60
|
interval = 60
|
||||||
|
|
||||||
mount-0 = /
|
mount-0 = /
|
||||||
mount-1 = /home
|
mount-1 = /home
|
||||||
|
|
||||||
label-mounted = %{A1:alacritty --hold -e df -h:} %mountpoint%: %percentage_used%% %{A}
|
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 = %mountpoint% not mounted
|
||||||
;label-unmounted-foreground = ${colors.foreground-alt}
|
;label-unmounted-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
; Separator in between workspaces
|
|
||||||
label-separator = |
|
|
||||||
|
|
||||||
[module/cpu]
|
[module/cpu]
|
||||||
type = internal/cpu
|
type = internal/cpu
|
||||||
interval = 10
|
interval = 10
|
||||||
warn-percentage = 95
|
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]
|
[module/title]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
|
@ -180,11 +169,13 @@ type = internal/memory
|
||||||
interval = 10
|
interval = 10
|
||||||
warn-percentage = 95
|
warn-percentage = 95
|
||||||
format = <label>
|
format = <label>
|
||||||
label = RAM %gb_used%/%gb_total%
|
label = RAM %gb_used%/%gb_total%
|
||||||
bar-used-width = 50
|
bar-used-width = 50
|
||||||
bar-used-indicator =
|
bar-used-indicator =
|
||||||
bar-used-fill = ▐
|
bar-used-fill = ▐
|
||||||
bar-used-empty = ▐
|
bar-used-empty = ▐
|
||||||
|
format-prefix = " "
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/wireless-network]
|
[module/wireless-network]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
|
@ -192,16 +183,22 @@ interface = wlan0
|
||||||
interval = 10
|
interval = 10
|
||||||
label-connected = SSID: %essid% %signal%% %local_ip%
|
label-connected = SSID: %essid% %signal%% %local_ip%
|
||||||
format-background = #444444
|
format-background = #444444
|
||||||
|
format-prefix =
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/weather]
|
[module/weather]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = ~/.scripts/i3_weather.sh
|
exec = ~/.scripts/i3_weather.sh
|
||||||
interval = 3600
|
interval = 3600
|
||||||
click-left = alacritty --hold -e curl -Ss http://wttr.in
|
click-left = alacritty --hold -e curl -Ss http://wttr.in
|
||||||
|
;format-prefix = W
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/finance]
|
[module/finance]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
|
format-prefix = " "
|
||||||
exec = ~/.scripts/i3_finance.sh
|
exec = ~/.scripts/i3_finance.sh
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
interval = 3600
|
interval = 3600
|
||||||
|
|
||||||
[module/pacman]
|
[module/pacman]
|
||||||
|
@ -209,6 +206,8 @@ type = custom/script
|
||||||
exec = ~/.scripts/i3_pacman.sh
|
exec = ~/.scripts/i3_pacman.sh
|
||||||
interval = 3600
|
interval = 3600
|
||||||
click-left = [[ $(checkupdates | wc -l) -gt 0 ]] && alacritty --hold -e checkupdates
|
click-left = [[ $(checkupdates | wc -l) -gt 0 ]] && alacritty --hold -e checkupdates
|
||||||
|
format-prefix =
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
|
|
|
@ -7,15 +7,5 @@ killall -q polybar
|
||||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
# Launch polybar
|
# Launch polybar
|
||||||
polybar --config=~/.config/polybar/config.ini example &
|
polybar --config=~/.config/polybar/config.ini main &
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue