pulse sink prompt
This commit is contained in:
parent
5718c65a7c
commit
f1a94ce2c6
|
@ -3,7 +3,7 @@ let
|
|||
inherit (import ./variables.nix) key theme color accent font;
|
||||
pulse_sink = pkgs.writeShellScriptBin "pulse_sink" ''
|
||||
#!/bin/sh
|
||||
output=$(printf "HDMI\nHeadphones" | rofi -dmenu)
|
||||
output=$(printf "HDMI\nHeadphones" | rofi -dmenu -i -p "Output:")
|
||||
vol=$(${pkgs.pamixer}/bin/pamixer --get-volume)
|
||||
case "$output" in
|
||||
HDMI)
|
||||
|
|
Loading…
Reference in a new issue