-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.xinitrc
More file actions
executable file
·45 lines (40 loc) · 996 Bytes
/
Copy path.xinitrc
File metadata and controls
executable file
·45 lines (40 loc) · 996 Bytes
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
37
38
39
40
41
42
43
44
45
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
if [ -f "/usr/bin/dpass" ] ; then
export SUDO_ASKPASS="/usr/bin/dpass"
fi
#xmodmap -e "remove mod4 = Super_L"
#xmodmap -e "add mod1 = Super_L"
dunst &
~/.statusbar.sh
xrdb -merge ~/.Xresources
xset +fp ~/.fonts
xset +fp /usr/share/fonts/local &
fc-cache -fv
xset fp rehash &
setxkbmap -option compose:ralt
xmodmap -e "keycode 201 = Insert"
#
## PC dependant
##xinput set-prop "ELAN0902:00 04F3:3051 Touchpad" "libinput Tapping Enabled" 1
xinput set-prop "ELAN0131:00 04F3:32F0 Touchpad" "libinput Tapping Enabled" 1
#
## lock session
xautolock -time 10 -locker "sh -c 'LANG=C LC_ALL=C xlock -mode blank & sleep 1; xset dpms force off'" &
#
sh ~/.fehbg &
#
exec /usr/local/bin/dwm
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice