aboutsummaryrefslogtreecommitdiff
path: root/Xinit/xinitrc
blob: 820929b8fa33d7185154a1feb9abc9fc7e1e2c03 (plain)
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
#!/usr/bin/bash

# Launch config files
if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# Load system specific things
~/.custom.sh

# give cursor
xsetroot -cursor_name left_ptr 

# An2linux
#~/bin/an2linux.py &
statnot ~/dotfiles/Panel/statnot/config &

# Background
feh --bg-fill "$(find ~/.wallpapers/ -type f | shuf -n 1)"

# Init clipboard
~/.tools/clipboard init

# Toutchpad config
xinput --set-prop 12 "libinput Natural Scrolling Enabled" 1
xinput --set-prop 12 "libinput Tapping Enabled" 1

# Keyboard bindings
xset r 64
xset r 133
xset r rate 170 60
xset m 0 0 
xset -b

# Launch locking program
#xautolock -detectsleep -locker '~/.tools/lock' -time 11 -corners 0-00 &

# Load xterm colors
xrdb -merge ~/.Xresources
xrdb -merge ~/.Xdefaults

# Automount
udiskie -N  -T -q --no-appindicator -a &

xrandr --dpi 161
compton --daemon -D 3
ratpoison