pulse sink prompt

This commit is contained in:
Leonardo Eugênio 2022-08-17 20:34:36 -03:00
parent 5718c65a7c
commit f1a94ce2c6

View file

@ -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)