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;
|
inherit (import ./variables.nix) key theme color accent font;
|
||||||
pulse_sink = pkgs.writeShellScriptBin "pulse_sink" ''
|
pulse_sink = pkgs.writeShellScriptBin "pulse_sink" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
output=$(printf "HDMI\nHeadphones" | rofi -dmenu)
|
output=$(printf "HDMI\nHeadphones" | rofi -dmenu -i -p "Output:")
|
||||||
vol=$(${pkgs.pamixer}/bin/pamixer --get-volume)
|
vol=$(${pkgs.pamixer}/bin/pamixer --get-volume)
|
||||||
case "$output" in
|
case "$output" in
|
||||||
HDMI)
|
HDMI)
|
||||||
|
|
Loading…
Reference in a new issue