dotfiles/.xinitrc

19 lines
583 B
Plaintext
Raw Normal View History

2024-06-23 06:35:31 -04:00
#!/bin/sh
2024-07-04 17:14:40 -04:00
# shellcheck disable=SC1091
# Startup services and programs
[ -f "$XDG_DATA_HOME/screenlayout" ] && . "$XDG_DATA_HOME/screenlayout"
[ -f "$XDG_DATA_HOME/wallpaper" ] && xwallpaper --zoom "$XDG_DATA_HOME/wallpaper"
2024-07-04 17:14:40 -04:00
xrdb "$HOME/.Xresources"
2024-06-23 06:35:31 -04:00
runsvdir "$SVDIR" &
2024-07-04 17:14:40 -04:00
# Input mappings and options
2024-06-23 07:20:29 -04:00
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Profile Enabled" 0 1 0
xinput set-prop "SOAI USB Gaming Mouse" "libinput Accel Speed" 0.2
2024-06-23 07:20:29 -04:00
setxkbmap -option caps:escape
xsetroot -cursor_name left_ptr
2024-06-23 06:35:31 -04:00
2024-07-04 17:14:40 -04:00
# Desktop session
2024-06-23 06:35:31 -04:00
exec dbus-launch --sh-syntax --exit-with-session xmonad