Merge branch 'main' of git.zander.im:Zander671/dwmblocks
This commit is contained in:
12
scripts/dwmblocks-fcitx5
Executable file
12
scripts/dwmblocks-fcitx5
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env zsh
|
||||
|
||||
local ime_sym='?'
|
||||
case "$(fcitx5-remote -n)" in
|
||||
'keyboard-us')
|
||||
ime_sym='E'
|
||||
;;
|
||||
'mozc')
|
||||
ime_sym="和"
|
||||
;;
|
||||
esac
|
||||
printf ' %s' "${ime_sym}"
|
@ -6,7 +6,7 @@ if [[ "$(pamixer --get-mute)" = "true" ]]; then
|
||||
icon=''
|
||||
elif ((${volume} > 50)); then
|
||||
icon=''
|
||||
elif ((${volume} > 0)); then
|
||||
elif ((${volume} >= 0)); then
|
||||
icon=''
|
||||
else
|
||||
icon='?'
|
||||
|
Reference in New Issue
Block a user