dotfiles

Configuration files to dump into your home directory.
git clone git://git.swab.dev/dotfiles.git
Log | Files | Refs

.xsession (675B)


      1 #!/bin/sh
      2 
      3 repoDIR="$HOME"/repos
      4 
      5 # use UTF-8 everywhere
      6 export LANG=en_US.UTF-8
      7 
      8 # For ThinkPad, the following lines enable TrackPoint
      9 # scrolling by dragging with the middle button.
     10 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 
     11 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 
     12 xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5
     13 
     14 # Set keyboard layout variant to Programmer Dvorak:
     15 setxkbmap -variant dvp;
     16 
     17 # Run xrandr based on current inputs and reset background image:
     18 "$repoDIR"/xscripts/monitors.sh
     19 
     20 # Display system information:
     21 "$repoDIR"/xscripts/status.sh > /dev/null 2>&1 &
     22 
     23 # Run DWM
     24 "$repoDIR"/dwm/dwm