blob: 1aaa38101db33493c79ba8178d8c9b98d7e2330e (
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
37
38
|
# Browser within X is Firefox
BROWSER=firefox
export BROWSER
# Set SSH_ASKPASS if we can find one
if command -v ssh-askpass >/dev/null 2>&1 ; then
SSH_ASKPASS=$(command -v ssh-askpass)
export SSH_ASKPASS
fi
# Read X resources
xrdb "$HOME"/.Xresources
# Start dunst(1) to display libnotify messages
dunst &
# Start mpdlrc-notify-send <https://sanctum.geek.nz/cgit/mpdlrc.git/about/>
mpdlrc-notify-send &
# Start redshift(1)
redshift &
# Map Caps Lock as a Ctrl key, use right alt as Compose, kill X server with
# Ctrl+Alt+Backspace
# <https://en.wikipedia.org/wiki/Compose_key#Common_compose_combinations>
setxkbmap -option compose:ralt,ctrl:nocaps,terminate:ctrl_alt_bksp
# Start urxvtd(1)
urxvtd -o -q &
# Start xbindkeys(1)
xbindkeys -n &
# Apply a random background image
xrbg
# Start window manager
exec i3
|