init
#!/bin/sh # Modifier Options mod="Mod1" primary=$mod secondary="$primary+Shift" tertiary="$secondary+Control" # ScratchPads MusicTag=$((1 << 10 )) TopTag=11 # Launch on startup riverctl spawn 'foot ncmpcpp' riverctl spawn foot riverctl spawn firefox #riverctl spawn dbus-daemon --session --address=unix:path=$XDG_RUNTIME_DIR/bus riverctl spawn mako riverctl spawn 'eww daemon' riverctl spawn 'eww open time' # Primary bindings riverctl map normal $primary Return spawn foot riverctl map normal $primary Q close riverctl map normal $primary N spawn fuzzel riverctl map normal Mod4 E exit riverctl map normal $primary Tab Return zoom riverctl map normal $primary M toggle-focused-tags $MusicTag riverctl map normal $primary Tab zoom # TODO: Bind to scroll wheel #riverctl map normal $mod focus-view next #riverctl map normal $mod E focus-view previous # Secondary Bindings riverctl map normal $secondary M set-view-tags $MusicTag # move/resize riverctl map-pointer normal $mod BTN_LEFT move-view riverctl map-pointer normal $mod BTN_RIGHT resize-view # toggle float/fullscreen riverctl map normal $mod Space toggle-float riverctl map normal $mod F toggle-fullscreen # multi-output TODO: Bind to jkl; riverctl map normal $mod Period focus-output next riverctl map normal $mod Comma focus-output previous riverctl map normal $mod+Shift Period send-to-output next riverctl map normal $mod+Shift Comma send-to-output previous # screenshots riverctl map normal $mod C spawn 'grim -g "$(slurp)" - | wl-copy' riverctl map normal $secondary C spawn '/etc/nixos/common/scripts/wlrootsScreen....