#!/bin/sh

# start universal things here like keyboard map, cursor, and default screenlayout
# keyboard layout
setxkbmap -layout dvorak -option ctrl:nocaps &

# cursor
xsetroot -cursor_name left_ptr

# numlock
numlockx

# set default desktop window layout
"$HOME/.screenlayout/default.sh"

# I don't use the following but I like it so I'll leave it for now.
autostart="pipewire pipewire-pulse wireplumber"

for program in $autostart; do
    pidof -s "$program" || "$program" &
done >/dev/null 2>&1
