-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxinitrc
62 lines (45 loc) · 1.02 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
#!/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
#fix cursor
xsetroot -cursor_name left_ptr
#restart pulse
/usr/bin/start-pulseaudio-x11
#nonsxhkd keybinds
xbindkeys &
#set xresource settings
xrdb $HOME/.Xresources &
#start clipboard management
copyq &
#start xflux
xflux -z 22903 &
#start keepassx
#keepassx &
#start seafile
seafile-applet &
#deal with monitors
xrandr --output eDP1 --auto --primary
xrandr --output HDMI1 --auto --right-of eDP1
xrandr --output DP2 --auto --right-of eDP1
#start locker
xautolock -time 1 -locker $HOME"/.bin/autoSuspend.sh" -detectsleep &
#set xautolock state
echo 'enabled' > $HOME/.bin/xautolock.state
#start notification server
dunst &
#start mopidy with anti-crash script that also fixes online problem
# $HOME/.bin/mopidyStart.sh &
#fix display thing
$HOME/.bin/echoDisplay.sh &
#start keybinds
sxhkd &
exec bspwm
#exec startkde