Compare commits
3 Commits
ecf0c6ddf5
...
80268bcd7b
| Author | SHA1 | Date | |
|---|---|---|---|
| 80268bcd7b | |||
| 064362bfb1 | |||
| ecdedf9df5 |
@@ -201,6 +201,9 @@ riverctl spawn "wlclock --layer background --background-colour '#00000000' --clo
|
||||
#riverctl spawn "$HOME/.config/river/bar"
|
||||
riverctl spawn waybar
|
||||
|
||||
# Start waybar audio listener
|
||||
~/.local/bin/waybar_audio_event_bridge.sh &
|
||||
|
||||
# Idle configuration
|
||||
riverctl spawn "swayidle -w timeout 1200 'wlopm --off \"*\"' resume 'wlopm --on \"*\"' before-sleep 'waylock -fork-on-lock'"
|
||||
|
||||
|
||||
@@ -69,23 +69,9 @@
|
||||
// "format-icons": ["", "", ""]
|
||||
//},
|
||||
|
||||
"custom/audio": {
|
||||
"exec": "~/.local/bin/waybar_audio.sh",
|
||||
"return-type": "json",
|
||||
"format": "{icon} {text}",
|
||||
"format-icons": {
|
||||
"speaker": " ",
|
||||
"speaker-muted": "",
|
||||
"headphones": "",
|
||||
"headphones-muted": ""
|
||||
},
|
||||
"interval": 2,
|
||||
"on-click": "~/.local/bin/toggle_audio",
|
||||
"on-click-right": "pamixer --toggle-mute"
|
||||
},
|
||||
|
||||
"custom/audio": {
|
||||
"exec": "~/.local/bin/waybar_audio.sh",
|
||||
"signal": 8,
|
||||
"return-type": "json",
|
||||
"format": "{icon} {text}",
|
||||
"format-icons": {
|
||||
@@ -95,8 +81,8 @@
|
||||
"headphones-muted": ""
|
||||
},
|
||||
"interval": 2,
|
||||
"on-click": "~/.local/bin/toggle_audio",
|
||||
"on-click-right": "pamixer --toggle-mute",
|
||||
"on-click": "pamixer --toggle-mute",
|
||||
"on-click-right": "~/.local/bin/toggle_audio",
|
||||
"on-scroll-up": "pamixer --increase 5",
|
||||
"on-scroll-down": "pamixer --decrease 5"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user