1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-24 11:51:50 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
juan
0e16cd0dcd https for waybar and alias t for task 2021-09-20 14:21:56 +08:00
juan
cb5aad9a44 remove pango markup for player to fix issues 2021-09-20 09:52:45 +08:00
2 changed files with 46 additions and 44 deletions

View File

@ -35,10 +35,11 @@
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"custom/weather": {
"exec": "sleep 10 && curl 'wttr.in/?format=%t+(%f)+%c'",
"exec": "sleep 10 && curl 'https://wttr.in/?format=%t+(%f)+%c'",
"interval": 1800
},
"custom/player": {
"escape": true,
"exec": "playerctl metadata --format '{{uc(playerName)}}: {{ artist }} - {{ album }} - {{ title }} {{emoji(status)}}' || echo 'Stopped  '",
"interval": 15,
"on-click": "playerctl play-pause && notify-send `playerctl status` -t 1000"

1
.zshrc
View File

@ -152,6 +152,7 @@ alias se='doas emerge'
alias sp='doas pacman'
alias ssh='TERM="xterm-256color" ssh'
alias sv='doasedit.sh'
alias t='task'
alias v='nvim'
alias vw='nvim -c VimwikiIndex'
alias yt-dl='youtube-dl --sub-lang en,zh-Hant --audio-format best'