dotfiles/kwin-session

28 lines
593 B
Text
Raw Permalink Normal View History

2021-03-02 03:13:12 +00:00
#!/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
2021-03-02 03:13:12 +00:00
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