From 514244476d4b0d43a62aebd5a8ff58da40770282 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Wed, 22 Mar 2023 21:33:06 -0400 Subject: [PATCH] adjust rofi themes --- modules/nixos/graphical/rofi.nix | 2 +- modules/nixos/graphical/rofi/pulse-sink.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" &&