update config file
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
"height": 30,
|
||||
"modules-left": [
|
||||
"custom/launcher",
|
||||
"wlr/workspaces"
|
||||
"wlr/workspaces",
|
||||
"custom/playerctl",
|
||||
"custom/playerlabel"
|
||||
],
|
||||
"modules-center": [
|
||||
"hyprland/window",
|
||||
@@ -48,6 +50,8 @@
|
||||
"disable-scroll": true,
|
||||
"all-outputs": true,
|
||||
"on-click": "activate",
|
||||
"on-scroll-up": "hyprctl dispatch workspace -1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace +1",
|
||||
"persistent_workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
@@ -61,6 +65,35 @@
|
||||
"10": []
|
||||
}
|
||||
},
|
||||
"custom/playerctl": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"max-length": 64,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl play-pause",
|
||||
//"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
},
|
||||
|
||||
"custom/playerlabel": {
|
||||
"format": "<span>{}</span>",
|
||||
"return-type": "json",
|
||||
"max-length": 48,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl play-pause",
|
||||
//"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
},
|
||||
|
||||
// --------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user