config/.config/x11/xprofile
2023-07-18 11:39:30 +09:30

24 lines
550 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
# set default desktop window layout
"$HOME/.screenlayout/default.sh"
nitrogen --restore &
# I don't use the following but I like it so I'll leave it for now.
autostart="pipewire pipewire-pulse wireplumber dunst mpd nm-applet picom"
for program in $autostart; do
pidof -s "$program" || "$program" &
done >/dev/null 2>&1