update icons

This commit is contained in:
ksyasuda 2021-11-15 14:32:56 -08:00
parent c386e4828a
commit e66c220f17
7 changed files with 62 additions and 28 deletions

View File

@ -132,17 +132,20 @@ module-margin-right = 0
; font-3 = FontAwesome:size=10 ; font-3 = FontAwesome:size=10
; See the Fonts wiki page for more details ; See the Fonts wiki page for more details
font-0 = "Terminus:size=10;3" ; font-0 = "Terminus:size=10;3"
font-1 = "waffle:size=10;3" ; font-1 = "waffle:size=10;3"
font-2 = "FiraCode Nerd Font:size=10;3" font-0 = "DroidSansMono Nerd Font:size=10;3"
font-1 = icomoon-feather:size=10;3
font-2 = "Weather Icons:size=10;3"
font-3 = "Material Icons:size=10;3"
; Modules are added to one of the available blocks ; ; Modules are added to one of the available blocks
; modules-left = cpu ram ; ; modules-left = cpu ram
; modules-center = xwindow xbacklight ; modules-center = xwindow xbacklight
; modules-right = ipc clock ; modules-right = ipc clock
; modules-left = sep menu sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next ; modules-left = sep menu sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next
modules-left = sep launcher sep workspaces sep cust-mpd-prev custom-mpd cust-mpd-next modules-left = sep launcher sep workspaces sep cust-mpd-icon cust-mpd-prev custom-mpd cust-mpd-next
modules-center = title modules-center = title
; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep ; modules-right = color-switch sep alsa sep battery sep network sep date sep sysmenu sep
modules-right = updates sep pulseaudio sep sep network sep date sep sysmenu sep modules-right = updates sep pulseaudio sep sep network sep date sep sysmenu sep

View File

@ -33,3 +33,11 @@ format-background = ${color.background-alt}
format-prefix-padding = 1 format-prefix-padding = 1
format-overline = ${color.background} format-overline = ${color.background}
format-underline = ${color.background} format-underline = ${color.background}
[module/cust-mpd-icon]
type = custom/script
exec = $HOME/SudacodeRice/scripts/mpd-controls.sh -i
format-background = ${color.indigo}
format-padding = 2
format-overline = ${color.background}
format-underline = ${color.background}

View File

@ -2,7 +2,7 @@
# Add this script to your wm startup file. # Add this script to your wm startup file.
DIR="$HOME/.config/polybar/blocks" DIR="$HOME/SudacodeRice/polybar-themes/sblocks"
# Terminate already running bar instances # Terminate already running bar instances
killall -q polybar killall -q polybar

View File

@ -81,11 +81,18 @@ label-muted-background = ${color.background-alt}
label-muted-padding = 1 label-muted-padding = 1
; Only applies if <ramp-volume> is used ; Only applies if <ramp-volume> is used
ramp-volume-0 = ; ramp-volume-0 = 
ramp-volume-1 = ; ramp-volume-1 = 
ramp-volume-2 = ; ramp-volume-2 = 
ramp-volume-3 = ; ramp-volume-3 = 
ramp-volume-4 = ; ramp-volume-4 = 
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 = 奔
ramp-volume-3 = 奔
ramp-volume-4 =
ramp-volume-5 =
ramp-volume-6 =
ramp-volume-background = ${color.blue} ramp-volume-background = ${color.blue}
ramp-volume-padding = 1 ramp-volume-padding = 1
@ -425,7 +432,7 @@ time-alt = "%a, %d %b %Y"
; Available tags: ; Available tags:
; <label> (default) ; <label> (default)
format = <label> format = <label>
format-prefix = format-prefix = ""
format-prefix-background = ${color.amber} format-prefix-background = ${color.amber}
format-prefix-padding = 1 format-prefix-padding = 1
format-overline = ${color.background} format-overline = ${color.background}
@ -912,10 +919,15 @@ label-disconnected-padding = 1
;label-packetloss-foreground = #eefafafa ;label-packetloss-foreground = #eefafafa
; Only applies if <ramp-signal> is used ; Only applies if <ramp-signal> is used
ramp-signal-0 = ; ramp-signal-0 = 
ramp-signal-1 = ; ramp-signal-1 = 
ramp-signal-2 = ; ramp-signal-2 = 
ramp-signal-3 = ; ramp-signal-3 = 
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-background = ${color.purple} ramp-signal-background = ${color.purple}
ramp-signal-padding = 1 ramp-signal-padding = 1
@ -957,7 +969,8 @@ format-volume-underline = ${color.background}
; <ramp-volume> ; <ramp-volume>
; <bar-volume> ; <bar-volume>
format-muted = <label-muted> format-muted = <label-muted>
format-muted-prefix = ; format-muted-prefix = 
format-muted-prefix = "婢"
format-muted-prefix-background = ${color.red} format-muted-prefix-background = ${color.red}
format-muted-prefix-padding = 1 format-muted-prefix-padding = 1
format-muted-overline = ${color.background} format-muted-overline = ${color.background}
@ -977,11 +990,18 @@ label-muted-background = ${color.background-alt}
label-muted-padding = 1 label-muted-padding = 1
; Only applies if <ramp-volume> is used ; Only applies if <ramp-volume> is used
ramp-volume-0 = ; ramp-volume-0 = 
ramp-volume-1 = ; ramp-volume-1 = 
ramp-volume-2 = ; ramp-volume-2 = 
ramp-volume-3 = ; ramp-volume-3 = 
ramp-volume-4 = ; ramp-volume-4 = 
ramp-volume-0 =
ramp-volume-1 =
ramp-volume-2 = 奔
ramp-volume-3 = 奔
ramp-volume-4 =
ramp-volume-5 =
ramp-volume-6 =
ramp-volume-background = ${color.blue} ramp-volume-background = ${color.blue}
ramp-volume-padding = 1 ramp-volume-padding = 1
click-right = pavucontrol click-right = pavucontrol
@ -1100,7 +1120,8 @@ type = internal/xwindow
; Available tags: ; Available tags:
; <label> (default) ; <label> (default)
format = <label> format = <label>
format-prefix = format-prefix =
; format-prefix = 
format-padding = 1 format-padding = 1
format-foreground = ${color.foreground-alt} format-foreground = ${color.foreground-alt}
format-background = ${color.background-alt} format-background = ${color.background-alt}

View File

@ -32,7 +32,7 @@ interval = 5
; <output> - deprecated ; <output> - deprecated
; <label> (default) ; <label> (default)
format = <label> format = <label>
format-prefix = format-prefix =
format-prefix-background = ${color.yellow} format-prefix-background = ${color.yellow}
format-prefix-padding = 1 format-prefix-padding = 1
format-overline = ${color.background} format-overline = ${color.background}
@ -70,7 +70,7 @@ label-padding = 2
[module/launcher] [module/launcher]
type = custom/text type = custom/text
content-prefix = content-prefix =
content-prefix-background = ${color.teal} content-prefix-background = ${color.teal}
content-prefix-padding = 1 content-prefix-padding = 1
@ -96,7 +96,7 @@ click-right = ~/SudacodeRice/scripts/menu_full &
[module/sysmenu] [module/sysmenu]
type = custom/text type = custom/text
content-prefix = content-prefix =
content-prefix-background = ${color.cyan} content-prefix-background = ${color.cyan}
content-prefix-padding = 1 content-prefix-padding = 1

View File

@ -12,7 +12,7 @@ if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
# MONITOR=$m polybar --reload -c ~/SudacodeRice/polybar/config.desktop.ini main & # MONITOR=$m polybar --reload -c ~/SudacodeRice/polybar/config.desktop.ini main &
# update to use new theme # update to use new theme
MONITOR=$m polybar --reload -c "$HOME/SudacodeRice/polybar-themes/sblocks/config.ini" main & MONITOR=$m polybar -q --reload -c "$HOME/SudacodeRice/polybar-themes/sblocks/config.ini" main &
done done
else else
polybar --reload example & polybar --reload example &

View File

@ -12,4 +12,6 @@ if [[ $arg == 'next' ]] || [[ "$arg" == "-n" ]]; then
echo "怜" echo "怜"
elif [[ $arg == 'prev' ]] || [[ "$arg" == "-p" ]]; then elif [[ $arg == 'prev' ]] || [[ "$arg" == "-p" ]]; then
echo "玲" echo "玲"
elif [[ "$arg" == 'icon' ]] || [[ "$arg" == "-i" ]]; then
echo ""
fi fi