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 "$HOME/.config/river/bar"
|
||||||
riverctl spawn waybar
|
riverctl spawn waybar
|
||||||
|
|
||||||
|
# Start waybar audio listener
|
||||||
|
~/.local/bin/waybar_audio_event_bridge.sh &
|
||||||
|
|
||||||
# Idle configuration
|
# Idle configuration
|
||||||
riverctl spawn "swayidle -w timeout 1200 'wlopm --off \"*\"' resume 'wlopm --on \"*\"' before-sleep 'waylock -fork-on-lock'"
|
riverctl spawn "swayidle -w timeout 1200 'wlopm --off \"*\"' resume 'wlopm --on \"*\"' before-sleep 'waylock -fork-on-lock'"
|
||||||
|
|
||||||
|
|||||||
@@ -71,21 +71,7 @@
|
|||||||
|
|
||||||
"custom/audio": {
|
"custom/audio": {
|
||||||
"exec": "~/.local/bin/waybar_audio.sh",
|
"exec": "~/.local/bin/waybar_audio.sh",
|
||||||
"return-type": "json",
|
"signal": 8,
|
||||||
"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",
|
|
||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"format": "{icon} {text}",
|
"format": "{icon} {text}",
|
||||||
"format-icons": {
|
"format-icons": {
|
||||||
@@ -95,8 +81,8 @@
|
|||||||
"headphones-muted": ""
|
"headphones-muted": ""
|
||||||
},
|
},
|
||||||
"interval": 2,
|
"interval": 2,
|
||||||
"on-click": "~/.local/bin/toggle_audio",
|
"on-click": "pamixer --toggle-mute",
|
||||||
"on-click-right": "pamixer --toggle-mute",
|
"on-click-right": "~/.local/bin/toggle_audio",
|
||||||
"on-scroll-up": "pamixer --increase 5",
|
"on-scroll-up": "pamixer --increase 5",
|
||||||
"on-scroll-down": "pamixer --decrease 5"
|
"on-scroll-down": "pamixer --decrease 5"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user