diff options
| author | Josh Rahm <rahm@google.com> | 2023-02-03 11:51:20 -0700 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2023-02-03 11:51:20 -0700 |
| commit | f4784b81d36a2b60e66fd4050f2c93aa077ca7f5 (patch) | |
| tree | 4cd410771a86683b63266322e1deb2ee5faa0e0e /src/Rahm/Desktop | |
| parent | 0ddcc4362ccab3a443d244c6c8beb7a1eef4d9a4 (diff) | |
| download | rde-f4784b81d36a2b60e66fd4050f2c93aa077ca7f5.tar.gz rde-f4784b81d36a2b60e66fd4050f2c93aa077ca7f5.tar.bz2 rde-f4784b81d36a2b60e66fd4050f2c93aa077ca7f5.zip | |
Decouple RDE from spotify by allowing the user to select the media to control
Perhaps a Python script is in order to make it less ugly, but
as things stand it works.
This also uses the XDG_RUNTIME_DIR to store the variable associated with
the target to control.
Diffstat (limited to 'src/Rahm/Desktop')
| -rw-r--r-- | src/Rahm/Desktop/Keys.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Rahm/Desktop/Keys.hs b/src/Rahm/Desktop/Keys.hs index c0d9c3a..5c6866e 100644 --- a/src/Rahm/Desktop/Keys.hs +++ b/src/Rahm/Desktop/Keys.hs @@ -703,6 +703,11 @@ keymap = runKeys $ do doc "Set the volume of an application via rofi." $ spawnX "set-volume.sh -a" + bind xK_m $ do + (justMod -|- noMod) $ + doc "Set the media source to control" $ + spawnX "media-select.sh" + -- Double-tap Z to toggle zoom. bind xK_z $ do noMod -|- justMod $ |