#!/bin/sh

# Tiled Layout

rivertile -view-padding 4 -outer-padding 0 -main-ratio 0.5 &
riverctl default-layout rivertile
riverctl default-attach-mode above

# Move cursor to the center of focused window
riverctl set-cursor-warp on-focus-change

. "$HOME/.config/river/init-keymaps"
. "$HOME/.config/river/init-input"

# Background Color
riverctl background-color 0x000000

pkill -9 pipewire
riverctl spawn 'pipewire'

riverctl spawn 'mako'

riverctl spawn "$HOME/.config/river/bar"
riverctl spawn "$HOME/.config/river/status"
