26 lines
659 B
Bash
26 lines
659 B
Bash
#!/usr/bin/env sh
|
|
|
|
# This file is sourced when launching a DM from startx/xinit
|
|
|
|
# session launch
|
|
eval $(dbus-launch --sh-syntax --exit-with-session)
|
|
|
|
xss-lock -- slock &
|
|
redshift &
|
|
dunst &> /dev/null & #temp fix
|
|
# MPD daemon start (if no other user instance exists)
|
|
[ ! -s "$XDG_CONFIG_HOME/mpd/pid" ] && mpd
|
|
pulsemixer --set-volume 50
|
|
sbacklight set 3 &
|
|
setbg &
|
|
dwmblocks &
|
|
xrdb "$XDG_CONFIG_HOME/X11/xresources"
|
|
xrdb -merge "$XDG_STATE_HOME/xcolors"
|
|
xautolock -locker slock -time 5 -corners 000- &
|
|
|
|
cursor_setup "SYNA30BD:00 06CB:CE08" &> /dev/null &
|
|
cursor_setup "PIXART HP Wireless Keyboard and Mouse" &> /dev/null &
|
|
setxkbmap 'fr(oss)'
|
|
remaps &
|
|
sxhkd &
|