feat: Add music player and some more git stuff

This commit is contained in:
2024-05-17 21:43:08 +10:00
parent bfe6dcb10a
commit 989ea4515f
2 changed files with 19 additions and 2 deletions

10
.zshrc
View File

@@ -132,6 +132,14 @@ alias hcurl='curl --doh-url https://hnsdoh.com/dns-query'
alias ls='exa'
alias ll='exa --long --group --header --icons --classify'
# Music alias
alias pause="playerctl play-pause"
alias play="playerctl play"
# Next/Prev and wait a second to let the song change
alias next="playerctl next && sleep .2"
alias prev="playerctl previous && sleep .2"
alias v+="playerctl volume 1+"
alias v-="playerctl volume 1-"
alias music="echo 'Currently playing: $(playerctl metadata --format '{{artist}} - {{title}}')\nUsage: play, pause, next, prev, v+, v-'"
eval "$(zoxide init --cmd cd zsh)"