diff --git a/modules/nixos/graphical/rofi.nix b/modules/nixos/graphical/rofi.nix index 482a3be..26da4d3 100644 --- a/modules/nixos/graphical/rofi.nix +++ b/modules/nixos/graphical/rofi.nix @@ -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"; altTabCommand = "${rofi}/bin/rofi -show window -modi window"; audioSwitchCommand = "${ diff --git a/modules/nixos/graphical/rofi/pulse-sink.sh b/modules/nixos/graphical/rofi/pulse-sink.sh index 1bb09c0..8a8a009 100755 --- a/modules/nixos/graphical/rofi/pulse-sink.sh +++ b/modules/nixos/graphical/rofi/pulse-sink.sh @@ -5,7 +5,7 @@ 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 | + rofi -dmenu -p 'pulseaudio sink:' -location 6 -width 100 -theme-str 'inputbar { enabled: false; }' | grep -Po '[0-9]+(?=:)' ) && ponymix set-default -d "$sink" &&