dotfiles/kwin-session
2021-03-01 22:13:12 -05:00

26 lines
567 B
Bash
Executable file

#!/bin/sh
# give kwin time to start
sleep 1
# lxappearance is the only way to set the cursor properly
# change its class to keep it invisible with kwin rules
(lxappearance --class cursorhack & sleep 2; killall lxappearance) &
# low-level config
xset -b &
xset +fp /home/nilix/.local/share/fonts
xset fp rehash
redshift -x; redshift -O 6000K &
xbacklight -set 50 &
xbindkeys -f ~/.xbindkeysrc.kwin
# services
pulseaudio --start --exit-idle-time=-1 &
hamster-service &
udiskie -AnT -f pcmanfm-qt &
# desktop environment
tint2 &
xfdesktop --sm-client-disable -D