blob: 3140877c7c62654ee15e56af2185d308c8c03963 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
|