-
Notifications
You must be signed in to change notification settings - Fork 0
/
xsession.symlink
40 lines (29 loc) · 1017 Bytes
/
xsession.symlink
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
#!/bin/bash
# start compositing manager
xcompmgr -t-5 -l-6 -r5 &
# set the cursor as pointer
xsetroot -cursor_name left_ptr
# solid background colors
BLUE="#72A0C1" # air superiority blue
GRAY="#B2BEB5" # ash gray
hsetroot -solid "$BLUE"
# setup touchpad and fix touchpad resolution and hickup issue
# see https://wiki.archlinux.org/index.php/Touchpad_Synaptics
# /usr/share/X11/xorg.conf.d/50-thinkpad-x230-touchpad.conf
# switch keyboard layout *only* with CapsLock
# https://wiki.archlinux.org/title/Xorg/Keyboard_configuration#Switching_between_keyboard_layouts
setxkbmap -option 'grp:caps_toggle' -layout 'us,gr'
# modmap settings are reset by setxkbmap
xmodmap ~/.Xmodmap
# start urxvt deamon
urxvtd -q -f -o
# Let X start gpg-agent by adding
# use-agent option in ~.gnupg/gpg.conf
#eval $(gpg-agent --daemon)
# X starts ssh-agent by default because the
# use-ssh-agent option is present in /etc/X11/Xsession.options
#eval $(ssh-agent --daemon)
# start desired apps
tint2 &
nm-applet &
exec xmonad