mod="Mod1"
primary=$mod
secondary="$primary+Shift"
tertiary="$secondary+Control"
MusicTag=$((1 << 10 ))
TopTag=11
riverctl spawn 'foot ncmpcpp'
riverctl spawn foot
riverctl spawn firefox
riverctl spawn mako
riverctl spawn 'eww daemon'
riverctl spawn 'eww open time'
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
riverctl map normal $secondary M set-view-tags $MusicTag
riverctl map-pointer normal $mod BTN_LEFT move-view
riverctl map-pointer normal $mod BTN_RIGHT resize-view
riverctl map normal $mod Space toggle-float
riverctl map normal $mod F toggle-fullscreen
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
riverctl map normal $mod C spawn 'grim -g "$(slurp)" - | wl-copy'
riverctl map normal $secondary C spawn '/etc/nixos/common/scripts/wlrootsScreen.sh'
riverctl map
for i in $(seq 1 9); do
tags=$((1 << ($i - 1)))
riverctl map normal $mod $i set-focused-tags $tags
riverctl map normal $mod+Shift $i set-view-tags $tags
riverctl map normal $mod+Control $i toggle-focused-tags $tags
riverctl map normal $mod+Shift+Control $i toggle-view-tags $tags
done
tags1to9=$(((1 << 9) - 1))
riverctl map normal $mod 0 set-focused-tags $tags1to9
riverctl map normal $mod+Shift 0 set-view-tags $tags1to9
riverctl declare-mode passthrough
riverctl map normal $mod Semicolon enter-mode passthrough
riverctl map passthrough $mod Semicolon enter-mode normal
riverctl float-filter-add "float"
riverctl float-filter-add "popup"
riverctl default-layout kile
wlr-randr --output HDMI-A-1 --pos 700,1440 --scale 1
wlr-randr --output DP-1 --pos 0,0
riverctl focus-follows-cursor normal
riverctl spawn kile -l "(3 < v ? ((v: h d) 2 .5 .2))"
riverctl border-width 4
riverctl border-color-focused 0xbd93f9
riverctl border-color-unfocused 0x44475a
riverctl background-color 0x282a36