-
Notifications
You must be signed in to change notification settings - Fork 1
/
.xinitrc
77 lines (63 loc) · 1.51 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
#!/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
# disable bell:
xset -b
# disable CAPS LOCK and map ESC to it:
xmodmap ~/.xmodmap
# A dimmer for the evening hours:
#redshift -l 54:12 -t 5500:3600 -m randr 2> /dev/null &
if [ -x $(which redshiftgui) ]; then
redshiftgui &
fi
# ALSA-Tray for volume control:
if [ -x $(which alsa-tray) ]; then
alsa-tray &
fi
# More recent X servers don't terminate on C-A-Backspace anymore.
# This enables it again.
setxkbmap -option terminate:ctrl_alt_bksp
export TERMINAL=terminator
# gvim vimwiki:
#gvim -c ":VimwikiIndex" --name "gvimwiki" &
# Chrome
if [ -x $(which google-chrome) ]; then
google-chrome &
export BROWSER=google-chrome
fi
# Socializing stuff:
# xchat:
if [ -x $(which xchat) ]; then
xchat &
fi
# pidgin:
if [ -x $(which pidgin) ]; then
pidgin &
fi
# mutt in a gnome-terminal:
#$TERMINAL --title="mailer" -e 'zsh -c "export TERM=xterm-256color; mutt; zsh"' &
# a gnome-terminal for maintenance:
$TERMINAL --title="admin" --geometry=1000x600 &
# Set the NASA Image Of The Day as the current background:
sh $HOME/dotfiles/bin/NASABackground.sh
# start Dropbox
if [ -x $(which dropbox) ]; then
dropbox start &
fi
# and SparkleShare
if [ -x $(which sparkleshare) ]; then
sparkleshare start &
fi
# der GnuPG Agent:
if [ -x $(which gpg-agent) ]; then
eval $(gpg-agent --daemon) &
fi
exec i3