summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2023-02-24 10:21:18 -0600
committerzachir <zachir@librem.one>2023-02-24 10:21:18 -0600
commit7cea954341add9edddaa56cce4cffbbbb5f02602 (patch)
treecaaf2d218a74acec384be699386a3981cfa219e0
parente0112883ed693bcc0c83a87acc35944f08866bbd (diff)
add playerctl play-pause to river
-rwxr-xr-xriver/init3
1 files changed, 3 insertions, 0 deletions
diff --git a/river/init b/river/init
index 40c09aa..110b30d 100755
--- a/river/init
+++ b/river/init
@@ -176,6 +176,9 @@ riverctl map normal $mod1+$mod2 f spawn 'foot lfrun'
riverctl map normal $mod1+$mod2 m spawn 'volsv -t'
riverctl map normal $mod1+$mod2+Shift m spawn 'volsv -m'
+# secondary mod shortcuts
+riverctl map normal $mod2 p spawn 'playerctl play-pause'
+
# Set background and border color
riverctl background-color 0x000000
riverctl border-color-focused 0x535d6c