forked from christianr1337/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxinitrc
93 lines (67 loc) · 1.34 KB
/
xinitrc
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/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
##
# X
##
xsetroot -name $HOSTNAME
# set the cursor
xsetroot -cursor_name left_ptr
# custom fonts
xset fp+ /usr/share/fonts/local/
xset fp+ /usr/share/fonts/TTF/
xset fp rehash
# turn off the annoying beep
xset b off
# set Spanish keyboard layout
setxkbmap -layout us,es -variant altgr-intl, -option grp:alt_space_toggle -option grp_led:caps -option ctrl:nocaps
# key mappings
xmodmap ~/.Xmodmap
# backlight
xbacklight -set 30
# custom X settings
xrdb -merge ~/.Xresources
# composite manager
compton -b --config ~/.compton.conf
##
# Programs
##
# wicd
wicd-client -t &
# parcellite
#parcellite &
# color temperature
gtk-redshift -l 52.50056:13.39889 &
# disable touchpad while typing
syndaemon -t -k -i 2 -d &
# hide cursor when is not needed
unclutter &
# battery indicator
batti &
# caffeine
caffeine -a &
# music player daemon
mpd $HOME/.mpdconf
# background
$HOME/bin/randombg
# mailnotifiers
$HOME/bin/mailnotifier &
$HOME/bin/workmailnotifier &
xmodmap $HOME/.Xmodmap
# systray
$HOME/bin/tray &
##
# Window manager
##
#xrandr --addmode HDMI1 1366x768
#xrandr --output HDMI1 --mode 1366x768
urxvt -e mux org &
exec xmonad