Add pamixer to waybar
This commit is contained in:
@@ -81,8 +81,8 @@
|
|||||||
|
|
||||||
"clock": {
|
"clock": {
|
||||||
"interval": 10,
|
"interval": 10,
|
||||||
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
||||||
"format-alt": "{:%H:%M:%S}",
|
"format": "{:%H:%M}",
|
||||||
"tooltip-format": "{:%e %B %Y}"
|
"tooltip-format": "{:%e %B %Y}"
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@
|
|||||||
"warning": 70,
|
"warning": 70,
|
||||||
"critical": 90
|
"critical": 90
|
||||||
},
|
},
|
||||||
"on-click": "htop",
|
"on-click": "exec htop",
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/keyboard-layout": {
|
"custom/keyboard-layout": {
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
"sway/mode": {
|
"sway/mode": {
|
||||||
"format": "<span style=\"italic\"> {}</span>", // Icon: expand-arrows-alt
|
"format": "<span> {}</span>", // Icon: expand-arrows-alt
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -167,8 +167,8 @@
|
|||||||
"default": ["奄"]
|
"default": ["奄"]
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol",
|
"on-click": "pavucontrol",
|
||||||
"on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ -5%",
|
"on-scroll-up": "pamixer -ui 2",
|
||||||
"on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ +5%",
|
"on-scroll-down": "pamixer -ud 2",
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/weather": {
|
"custom/weather": {
|
||||||
@@ -212,7 +212,7 @@
|
|||||||
},
|
},
|
||||||
"custom/launcher": {
|
"custom/launcher": {
|
||||||
"format":"",
|
"format":"",
|
||||||
"on-click": "exec /usr/bin/wofi",
|
"on-click": "exec wofi",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"custom/power": {
|
"custom/power": {
|
||||||
@@ -220,7 +220,4 @@
|
|||||||
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
//To set weather look in the weather script
|
|
||||||
|
|||||||
Reference in New Issue
Block a user