From 6f2094c1464ecd9513563728a1d5212792717adf Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sat, 12 Sep 2020 15:14:16 -0400 Subject: feat(gs): Bind a push-to-talk key Bind a key, which I've located at the top-left of my right keyboard, to a momentary push-to-talk by muting and unmuting my pulseaudio source using xbindkeys. I had been putting this off for a while because i3 doesn't support binding different commands to keyup than to keydown events, but the xbindkeys support appears to have solved that reasonably well, plus it's got Scheme in it so that's cool. If there's demand for it I'll gladly expose this as a reusable, configurable home-manager module outside my users dir in the depot. Change-Id: Ie591c93037dbdac364d5d8a718d99edb70780789 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1975 Tested-by: BuildkiteCI Reviewed-by: glittershark --- users/glittershark/system/home/machines/chupacabra.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'users/glittershark/system/home/machines') diff --git a/users/glittershark/system/home/machines/chupacabra.nix b/users/glittershark/system/home/machines/chupacabra.nix index 66531e9d7f31..b6940dc831b4 100644 --- a/users/glittershark/system/home/machines/chupacabra.nix +++ b/users/glittershark/system/home/machines/chupacabra.nix @@ -11,6 +11,7 @@ in { ../modules/games.nix ../modules/rtlsdr.nix ../modules/urbint.nix + ../modules/ptt.nix ]; # for when hacking -- cgit 1.4.1