dotfiles/kwin-session

27 lines
593 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
sudo powertop --auto-tune
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