29 lines
774 B
Bash
29 lines
774 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)
|
|
[ -z "$(pgrep -fx mpd)" ] && mpd
|
|
[ -z "$(pgrep -f sb-mpdup)" ] && sb-mpdup &
|
|
pulsemixer --set-volume 50
|
|
sbacklight set 3 &
|
|
setbg &
|
|
dwmblocks &
|
|
xrdb "$XDG_CONFIG_HOME/X11/xresources"
|
|
xrdb -merge "$XDG_STATE_HOME/xcolors"
|
|
xss-lock -- slock &
|
|
get_dbus &
|
|
|
|
xinput set-prop 'Synaptics TM3072-003' 'libinput Tapping Enabled' 1 &
|
|
xinput set-prop 'Synaptics TM3072-003' 'libinput Natural Scrolling Enabled' 1 &
|
|
xinput set-prop 'Synaptics TM3072-003' 'libinput Accel Speed' 0.4 &
|
|
setxkbmap 'fr(oss)'
|
|
remaps &
|
|
sxhkd &
|