#!/bin/zsh exec &>~/.xsession-errors.${DISPLAY//*:} . ~/.zshenv # Set up XDG_RUNTIME_DIR, this is needed for pipewire # 22jul2021 +leah+ export XDG_RUNTIME_DIR=/tmp/runtime-$USER #mkdir -p -m 0700 $XDG_RUNTIME_DIR mkdir -p -m 0770 $XDG_RUNTIME_DIR # Use system pipewire # 11aug2023 +leah+ # pipewire & #xset fp+ /usr/share/fonts/local xset +fp ~/.xfonts xrdb -merge ~/.Xresources xset b off # xset m 2 1 xset m 15/10 1 # setxkbmap -layout 'us(altgr-intl),de(nodeadkeys)' \ # -option 'grp:alt_shift_toggle,compose:menu' setxkbmap -layout 'us(altgr-intl)' -option 'compose:menu' xmodmap ~/.us-intl-german.xmodmap xmodmap -e 'keycode 107 = Multi_key' # Print -> Compose feh --bg-fill ~/.desktop/FB1\ 23656-dark.png # two finger scrolling synclient EmulateTwoFingerMinW=20 synclient EmulateTwoFingerMinZ=7 synclient VertTwoFingerScroll=1 # disable border scrolling synclient VertEdgeScroll=0 # disable tap to click synclient TapButton1=0 TapButton2=0 TapButton3=0 # disable touchpad clicks when typing syndaemon -t -d # fix middle mouse drag xinput set-prop 'TPPS/2 Elan TrackPoint' 'libinput Scroll Method Enabled' 0 0 0 run-mxergo xplugd # hide pointer unclutter -keystroke -idle 2 -noevents & eval $(ssh-agent -s) xset s 600 5 run-xsecurelock & #xscreensaver-ssh-helper & autocutsel -s PRIMARY -fork backclip -d & xbindkeys & conky run-xlbiff & tkexec %_:urxvt \ "em:sel Emacs || exec emacs" \ "ff:sel Firefox || exec firefox-limited" \ "dn:sel Dino || exec dino" \ "ci:ALSA_OUTPUT=chromium exec chromium --incognito" \ "wm:sel wmnd || exec wmnd" \ "mx :sel AlsaMixer.app || exec AlsaMixer.app -2 Firefox -3 Chromium -l 'main ff ch'" \ "xk:xkill" \ " lk:xset s activate" \ -o -geometry +0+-1 & urxvt -g 80x50+0-0 & # run window manager #exec ${=ALTWM:-c2wm} || fvwm || wmaker || twm while :; do ${=ALTWM:-c2wm} case $? in 0) break;; 127) ALTWM=xterm;; # command not found esac done