configures waybar
This commit is contained in:
parent
e0b15d993b
commit
324357540d
8 changed files with 80 additions and 16 deletions
|
|
@ -21,8 +21,10 @@
|
|||
"niri/workspaces"
|
||||
],
|
||||
"modules-right": [
|
||||
"wireplumber",
|
||||
"tray"
|
||||
"wireplumber#source",
|
||||
"wireplumber#sink",
|
||||
"tray",
|
||||
"custom/power"
|
||||
],
|
||||
// Module Configuration
|
||||
"niri/workspaces": {
|
||||
|
|
@ -66,9 +68,25 @@
|
|||
"format": "{percentage_used}%",
|
||||
"max-length": 2
|
||||
},
|
||||
"wireplumber": {
|
||||
"on-click": "pamixer -t",
|
||||
"wireplumber#source": {
|
||||
"node-type": "Audio/Source",
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle",
|
||||
"on-click-right": "pwvucontrol",
|
||||
"scroll-step": 5.0,
|
||||
"tooltip-format": "{node_name} ({source_volume}%)",
|
||||
"format": "{icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
"default": [
|
||||
""
|
||||
]
|
||||
}
|
||||
},
|
||||
"wireplumber#sink": {
|
||||
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
|
||||
"on-click-right": "pwvucontrol",
|
||||
"scroll-step": 5.0,
|
||||
"tooltip-format": "{node_name} ({volume}%)",
|
||||
"format": "{icon}",
|
||||
"format-muted": "",
|
||||
"format-icons": {
|
||||
|
|
@ -82,5 +100,16 @@
|
|||
"tray": {
|
||||
"icon-size": 14,
|
||||
"spacing": 18
|
||||
},
|
||||
"custom/power": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"menu": "on-click",
|
||||
"menu-file": "~/.config/waybar/power_menu.xml",
|
||||
"menu-actions": {
|
||||
"lock": "hyprlock",
|
||||
"reboot": "reboot",
|
||||
"shutdown": "shutdown"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue