adjust rofi themes

This commit is contained in:
Noah Masur 2023-03-22 21:33:06 -04:00
parent 47590abc3a
commit 514244476d
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ in {
}; };
launcherCommand = "${rofi}/bin/rofi -show run -modi run"; launcherCommand = "${rofi}/bin/rofi -modes drun -show drun";
systemdSearch = "${pkgs.rofi-systemd}/bin/rofi-systemd"; systemdSearch = "${pkgs.rofi-systemd}/bin/rofi-systemd";
altTabCommand = "${rofi}/bin/rofi -show window -modi window"; altTabCommand = "${rofi}/bin/rofi -show window -modi window";
audioSwitchCommand = "${ audioSwitchCommand = "${

View File

@ -5,7 +5,7 @@
sink=$( sink=$(
ponymix -t sink list | ponymix -t sink list |
awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}' | awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}' |
rofi -dmenu -p 'pulseaudio sink:' -location 6 -width 100 | rofi -dmenu -p 'pulseaudio sink:' -location 6 -width 100 -theme-str 'inputbar { enabled: false; }' |
grep -Po '[0-9]+(?=:)' grep -Po '[0-9]+(?=:)'
) && ) &&
ponymix set-default -d "$sink" && ponymix set-default -d "$sink" &&