#!/bin sh # xinput disable 'ETPS/2 Elantech Touchpad' & redshift & # filter blue light dunst & # notification daemon xset r rate 200 50 # delay before keyrepeat and keyrepeat rate unclutter --timeout 2 --fork # hide mouse after 2s case "$(cat /etc/hostname)" in cacharle-main) xrandr --output DVI-0 --auto --left-of DVI-1 \ --output DVI-1 --mode 1920x1080 --primary --left-of HDMI-0 \ --output HDMI-0 --mode 1920x1080 ;; charles-laptop) xrandr | grep 'VGA1.*connected' && xrandr --output LVDS1 --primary --left-of VGA1 \ --output VGA1 --mode 1280x1024 ;; esac exec xmonad