39 lines
555 B
Bash
Executable File
39 lines
555 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# start universal things here like keyboard map, cursor, and default screenlayout
|
|
|
|
# keyboard layout
|
|
setxkbmap us -variant dvorak -option ctrl:nocaps
|
|
|
|
# cursor
|
|
xsetroot -cursor_name left_ptr
|
|
|
|
# numlock
|
|
numlockx
|
|
|
|
nextcloud --background &
|
|
|
|
"$HOME/.fehbg"
|
|
|
|
# set default desktop window layout
|
|
"$HOME/.screenlayout/default.sh"
|
|
|
|
declare -a autostart
|
|
autostart=(
|
|
"dunst"
|
|
|
|
"nm-applet"
|
|
|
|
"picom"
|
|
|
|
"input-leap"
|
|
|
|
"plumber"
|
|
|
|
"mpd"
|
|
)
|
|
|
|
for program in "${autostart[@]}"; do
|
|
pidof -s "$program" || "$program" &
|
|
done >/dev/null 2>&1
|