mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 15:25:02 +00:00
polybar audio and power buttons
also switched from systemd because it breaks rofi
This commit is contained in:
1 parent
8283480fd1
commit
985b8bf13b
2 files changed
+17
-3
No files matched your search
@@ -5,7 +5,14 @@
|
||||
sink=$(
|
||||
ponymix -t sink list |
|
||||
awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}' |
|
||||
rofi -dmenu -p 'pulseaudio sink:' -location 6 -width 100 -theme-str 'inputbar { enabled: false; }' |
|
||||
rofi \
|
||||
-dmenu \
|
||||
-p 'pulseaudio sink:' \
|
||||
-width 100 \
|
||||
-hover-select \
|
||||
-me-select-entry '' \
|
||||
-me-accept-entry MousePrimary \
|
||||
-theme-str 'inputbar { enabled: false; }' |
|
||||
grep -Po '[0-9]+(?=:)'
|
||||
) &&
|
||||
ponymix set-default -d "$sink" &&
|
||||
|
||||
Reference in new issue
Block a user