mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-22 02:41:50 +08:00
feat(waybar): Update waybar
This commit is contained in:
parent
d1643efc5c
commit
02ce96b663
5
.bashrc
5
.bashrc
@ -16,8 +16,3 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
# Put your fun stuff here.
|
# Put your fun stuff here.
|
||||||
|
|
||||||
# https://wiki.gentoo.org/wiki/Fish#fish_as_a_default_shell_with_bash_as_the_login_shell
|
|
||||||
# Use nu in place of bash
|
|
||||||
# keep this line at the bottom of ~/.bashrc
|
|
||||||
# [ -x /bin/nu ] && SHELL=/bin/nu exec nu
|
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
"clock"
|
"clock"
|
||||||
],
|
],
|
||||||
"include": [
|
"include": [
|
||||||
"~/.config/waybar/sway-modules.json"
|
"~/.config/waybar/sway-modules.jsonc"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
@ -90,8 +90,7 @@
|
|||||||
},
|
},
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{playerName}}: {{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{markup_escape(title)}} - {{markup_escape(album)}}\", \"class\": \"{{status}}\", \"alt\": \"{{status}}\" }' -F",
|
"exec": "playerctl -a metadata --format '{\"text\": \"{{playerName}}: {{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{markup_escape(title)}} - {{markup_escape(album)}}\", \"class\": \"{{status}}\", \"alt\": \"{{status}}\" }' -F",
|
||||||
"max-length": 40,
|
"max-length": 48,
|
||||||
"on-click": "playerctl play-pause",
|
"on-click": "playerctl play-pause"
|
||||||
"on-click-right": "pavucontrol"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user