map-pointer: allow running arbitrary commands

This commit is contained in:
Alexander Courtis
2022-09-13 12:05:21 +10:00
committed by Isaac Freund
parent e2a27b3a4e
commit cacc986166
8 changed files with 89 additions and 25 deletions

View File

@ -71,6 +71,9 @@ riverctl map-pointer normal Super BTN_LEFT move-view
# Super + Right Mouse Button to resize views
riverctl map-pointer normal Super BTN_RIGHT resize-view
# Super + Middle Mouse Button to toggle float
riverctl map-pointer normal Super BTN_MIDDLE toggle-float
for i in $(seq 1 9)
do
tags=$((1 << ($i - 1)))