Changed to japanese kanji for numbers in polybar

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-11-19 14:26:07 +01:00
parent 415f51d420
commit 97e991cb6b
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
3 changed files with 11 additions and 6 deletions

View File

@ -5,7 +5,7 @@ pgrep -x sxhkd > /dev/null || sxhkd &
xrdb -load $HOME/.config/.Xresources & xrdb -load $HOME/.config/.Xresources &
dunst -conf $HOME/.config/dunst/dunstrc & dunst -conf $HOME/.config/dunst/dunstrc &
picom & picom &
feh --bg-fill ~/Pictures/1153857.png & feh --bg-fill ~/Pictures/94176792_p0.png &
xset -b xset -b
@ -18,16 +18,17 @@ for DISP in ${DISPLAYS}; do
fi fi
done done
killall -q polybar killall -q polybar
if [ "${EXT_PRIMARY}" != "" ]; then if [ "${EXT_PRIMARY}" != "" ]; then
xrandr --output ${EXT_PRIMARY} --primary --output eDP --right-of ${EXT_PRIMARY} xrandr --output ${EXT_PRIMARY} --primary --output eDP --right-of ${EXT_PRIMARY}
bspc monitor ${EXT_PRIMARY} -d I II III IV V bspc monitor ${EXT_PRIMARY} -d 一 二 三 四 五
bspc monitor eDP -d VI VII VIII IX X bspc monitor eDP -d 六 七 八 九 十
MONITOR=${EXT_PRIMARY} polybar left 2>&1 | tee -a /tmp/polybar.log & disown MONITOR=${EXT_PRIMARY} polybar left 2>&1 | tee -a /tmp/polybar.log & disown
MONITOR=${EXT_PRIMARY} polybar center 2>&1 | tee -a /tmp/polybar.log & disown MONITOR=${EXT_PRIMARY} polybar center 2>&1 | tee -a /tmp/polybar.log & disown
MONITOR=${EXT_PRIMARY} polybar right 2>&1 | tee -a /tmp/polybar.log & disown MONITOR=${EXT_PRIMARY} polybar right 2>&1 | tee -a /tmp/polybar.log & disown
else else
bspc monitor eDP -d I II III IV V VI VII VIII IX X bspc monitor eDP -d 一 二 三 四 五 六 七 八 九 十
fi fi

View File

@ -96,6 +96,7 @@ module-margin-left = 1
module-margin-right = 2 module-margin-right = 2
font-0 = FiraCode Nerd Font:style=medium:size=10 font-0 = FiraCode Nerd Font:style=medium:size=10
font-1= IPAゴシック:style=Regular
modules-center = bspwm modules-center = bspwm
tray-position = right tray-position = right
@ -235,7 +236,7 @@ type = internal/network
interface = wlp3s0 interface = wlp3s0
interval = 3.0 interval = 3.0
format-connected = <ramp-signal> <label-connected> format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1 format-connected-underline = #9f78e1
label-connected = %essid% label-connected = %essid%
@ -282,10 +283,13 @@ type = internal/pulseaudio
format-volume = <label-volume> format-volume = <label-volume>
format-volume-prefix = "蓼 " format-volume-prefix = "蓼 "
format-volume-prefix-foreground = ${colors.foreground-alt} format-volume-prefix-foreground = ${colors.foreground-alt}
format-volume-underline = #98c379
format-underline = #98c379
label-volume = %percentage%% label-volume = %percentage%%
label-volume-foreground = ${root.foreground} label-volume-foreground = ${root.foreground}
label-muted = 遼 NA% label-muted = 遼 NA%
format-muted-underline = #98c379
label-muted-foreground = #666 label-muted-foreground = #666
[module/battery] [module/battery]

View File

@ -30,7 +30,7 @@ super + {ampersand,eacute,quotedbl,apostrophe,parenleft,minus,egrave,underscore,
bspc desktop -f '^{1,2,3,4,5,6,7,8,9,0}' bspc desktop -f '^{1,2,3,4,5,6,7,8,9,0}'
#Send and follow to the given desktop #Send and follow to the given desktop
super + shift + {1,2,3,4,5,6,7,8,9,0} super + shift + {1,2,3,4,5,6,7,8,9,0}
bspc node -d {'I','II','III','IV','V','VI','VII','VIII','IX','X'} --follow bspc node -d {'一', '二', '三', '四', '五', '六', '七', '八', '九', '十'} --follow
#Preselect the direction #Preselect the direction
super + ctrl + {h,j,k,l} super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east} bspc node -p {west,south,north,east}