new configs
This commit is contained in:
parent
f3ab049a81
commit
4c81c0ca4a
10 changed files with 107 additions and 14 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"layer": "top",
|
||||
"modules-left": ["niri/workspaces"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink","idle_inhibitor", "battery"],
|
||||
"modules-right": ["bluetooth", "network", "wireplumber#source", "wireplumber#sink", "mpd", "idle_inhibitor", "battery"],
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
|
|
@ -49,7 +49,9 @@
|
|||
"tooltip-format": "{node_name} ({volume}%)",
|
||||
"on-click-right": "wpsinkmenu.fish",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"scroll-step": 5
|
||||
"scroll-step": 5,
|
||||
"on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- --limit 1.5 && volumenotify.fish",
|
||||
"on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.5 && volumenotify.fish"
|
||||
},
|
||||
|
||||
"wireplumber#source": {
|
||||
|
|
@ -62,6 +64,39 @@
|
|||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"mpd": {
|
||||
"format": "{stateIcon}",
|
||||
"format-stopped": "",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{artist} - {album} - {title}\n{elapsedTime:%M:%S}/{totalTime:%M:%S}\n{consumeIcon} {randomIcon} {repeatIcon} {singleIcon}",
|
||||
"state-icons": {
|
||||
"playing": "",
|
||||
"paused": ""
|
||||
},
|
||||
"consume-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"random-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"repeat-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"single-icons": {
|
||||
"on": "",
|
||||
"off": ""
|
||||
},
|
||||
"on-click": "mpc toggle",
|
||||
"on-click-middle": "mpc stop",
|
||||
"on-click-right": "mpdmenu.fish",
|
||||
"on-scroll-down": "mpc volume -5 && mpdvolumenotify.fish",
|
||||
"on-scroll-up": "mpc volume +5 && mpdvolumenotify.fish"
|
||||
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 60,
|
||||
"states": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue