diff options
author | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-06-15 19:54:35 +0100 |
---|---|---|
committer | Matthew Lemon <chaffinach+git@protonmail.ch> | 2022-06-15 19:54:35 +0100 |
commit | 42438888f1a0b2cde724362a7cf0471c55b8d089 (patch) | |
tree | 66645700319bb28e0f78e1452f36b23f19d9873c | |
parent | a5d709898560a303bbba53769960df5c0750e291 (diff) |
new xsession files
Diffstat (limited to '')
-rw-r--r-- | xsession_x1_jun22 | 36 | ||||
-rw-r--r-- | xsession_x220_us_kb | 14 |
2 files changed, 50 insertions, 0 deletions
diff --git a/xsession_x1_jun22 b/xsession_x1_jun22 new file mode 100644 index 0000000..3140877 --- /dev/null +++ b/xsession_x1_jun22 @@ -0,0 +1,36 @@ +# use UTF-8 everywhere +export LANG=en_GB.UTF-8 + +# specify location of kshrc +export ENV=$HOME/.kshrc + +# load Xresources file +xrdb -merge $HOME/.Xresources + +# set your background color +xsetroot -solid cadetblue + +# xidle will lock your display after a period of inactivity +xidle & + +# sadly, xclock has a bug where the font selection is ignored when UTF-8 +# is enabled, so we unset LANG here. +#LANG= xclock -strftime "%a %e %b %Y %H:%M" & + +# disable system beep +xset b off + +# if you have a ThinkPad, the following lines enable TrackPoint +# scrolling by dragging with the middle button. +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation" 1 +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Button" 2 +xinput set-prop "/dev/wsmouse" "WS Pointer Wheel Emulation Axes" 6 7 4 5 + +# use caps lock as ctrl key +setxkbmap -option ctrl:nocaps +setxkbmap us + +slstatus & +syncthing 2>&1 > /dev/null & +#dwm +cwm diff --git a/xsession_x220_us_kb b/xsession_x220_us_kb new file mode 100644 index 0000000..97ac008 --- /dev/null +++ b/xsession_x220_us_kb @@ -0,0 +1,14 @@ +. ~/.profile +export LANG=en_GB.UTF-8 +xrdb -merge $HOME/.Xresources +xsetroot -solid cadetblue +xidle & +autocutsel & +ulimit -Sc 0 # eliminate core dumps (https://www.kevinthomas.dev/posts/openbsd-thinkpadt480.html) +scb 5600 +xset b off +setxkbmap -option ctrl:nocaps +setxkbmap us +syncthing 2>&1 > /dev/null & +#dwm +cwm |