From 47b87996a9585d947700996b098cef3111eb32b4 Mon Sep 17 00:00:00 2001 From: pks Date: Tue, 10 Nov 2020 12:17:10 +0100 Subject: updated autostart --- autostart | 31 +++++++++++-------------------- 1 file changed, 11 insertions(+), 20 deletions(-) diff --git a/autostart b/autostart index cbc0f36..f6f55ae 100755 --- a/autostart +++ b/autostart @@ -1,40 +1,31 @@ #!/usr/bin/env zsh feh --no-xinerama --image-bg black --bg-fill "$HOME/image/MIPS-R3000A-die.jpg" & - -xset s 0 & -xset b off & -xset +fp $HOME/.fonts & - -mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/mutt & - xmodmap $HOME/.Xmodmap & xbindkeys & - urxvtd -q -f -o & - imwheel &>/dev/null & unclutter -idle 5 & +xset s 0 & +xset b off & +xset +fp $HOME/.fonts & +xset -display :0 dpms 0 0 300 +notification-daemon-launch & +mouse-settings & +sloppy & -if [[ -x $(which sloppy) ]]; then - sloppy & -fi - -$HOME/.local/bin/notification-daemon-launch & +mkdir -p /tmp/pks/.cache /tmp/pks/.ccache /tmp/pks/mutt & if [[ $RATPOISON == "ratpoison" && -x $(which acpi 2&>/dev/null) ]]; then $HOME/.local/bin/ratcpi & fi -$HOME/.local/bin/mouse-settings & - if [[ $(hostname) == "bogues" ]]; then xrandr --output VGA1 --off & - - mkdir -p /storage/tmp - sudo chmod 777 /storage/tmp fi if [[ -x $(which notmuchfs) ]]; then - notmuchfs ~/.notmuchfs -o backing_dir=$HOME/.notmuchfs_backing -o mail_dir=$HOME/.mail -o mutt_2476_workaround + mkdir -p /tmp/pks/notmuchfs + mkdir -p /tmp/pks/notmuchfs_backing + notmuchfs /tmp/pks/notmuchfs -o backing_dir=/tmp/pks/notmuchfs_backing -o mail_dir=$HOME/.mail -o mutt_2476_workaround fi -- cgit v1.2.3