Skip to content

Commit

Permalink
update 状态栏脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
yaocccc committed Mar 29, 2023
1 parent 89d267d commit fa1063b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DEF/statusbar/packages/icons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ with_bluetooth() {
update() {
icons=("")
with_v2raya
with_bluetooth
# with_bluetooth

text=" ${icons[@]} "

Expand Down
6 changes: 1 addition & 5 deletions DEF/statusbar/packages/music.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,9 @@ update() {
printf "export %s='%s%s%s%s%s'\n" $this "$signal" "$icon_color" "$icon" "$text_color" "$text" >> $tempfile
}

notify() {
notify-send "♫ Now Playing" "$(mpc current)" -r 9527
}

click() {
case "$1" in
L) mpc toggle; notify ;;
L) mpc toggle ;;
R) mpc toggle ;;
U) mpc prev ;;
D) mpc next ;;
Expand Down

0 comments on commit fa1063b

Please sign in to comment.