#! /bin/sh # choose a predictable path for pulseaudio socket export PA_DIR=/tmp/pulse-koorogi # musl is always UTF-8, but tmux needs this so that it knows export LC_CTYPE=en_US.UTF-8 #export PATH=$HOME/bin:$HOME/.npm/bin:$PATH # Make QT5 applications pick up my preferred styles export QT_QPA_PLATFORMTHEME=qt5ct # Choose GTK theme export GTK_THEME=Adapta-Nokto # X resources for f in ~/.Xresources.d/* ~/.Xresources ; do [ -r "$f" ] && xrdb -merge -I"$HOME/.Xresources.d" "$f" done # X compositor picom & # input method ibus-daemon --xim -d export XMODIFIERS="@im=ibus" export GTK_IM_MODULE=ibus export QT_IM_MODULE=ibus # set screen backlight to 30% brightness. # that's typically bright enough, and uses much less power. xbacklight -set 30 & # touchpad # * treat 3-finger click as middle-click. # (seems to break 2-finger click, but right-click is available by other means) xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Click Action" 1 2 3 # * circular scrolling. drag a finger in a circular motion, starting at any edge. xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Circular Scrolling" 1 # * don't react to my palm while typing xinput set-prop "ETPS/2 Elantech Touchpad" "Synaptics Palm Detection" 1 # set wallpaper [ -x ~/.fehbg ] && ~/.fehbg & # screensaver xautolock -locker "i3lock -c 404040 -i $HOME/.lock.png" -time 15 & # music mpd --kill ; mpd & # network manager cmst --minimized -w 2 & # window manager exec i3