diff options
Diffstat (limited to '.config/x11/xinitrc')
-rw-r--r-- | .config/x11/xinitrc | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 49ab403..44c8e32 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc | |||
@@ -2,25 +2,34 @@ | |||
2 | xset s off | 2 | xset s off |
3 | # disable power saving | 3 | # disable power saving |
4 | xset -dpms | 4 | xset -dpms |
5 | # set refresh rate | 5 | # load Xresources |
6 | xrandr -r 144 | 6 | xrdb ~/.config/x11/xresources |
7 | # initialize primary monitor | ||
8 | xrandr --output DisplayPort-0 --primary -r 144 | ||
9 | # initialize secondary monitor | ||
10 | xrandr --output HDMI-A-1 --auto --right-of DisplayPort-0 --mode 3840x2160 | ||
7 | # set background | 11 | # set background |
8 | bgscript | 12 | bgscript |
9 | # remap keys | 13 | # remap keys |
10 | kbremaps | 14 | kbremaps |
11 | # load Xresources | 15 | # load rgb profile |
12 | xrdb ~/.config/x11/xresources | 16 | openrgb --profile ~/.config/OpenRGB/Gruvbox.orp & |
13 | # start compositor | 17 | # start compositor |
14 | picom --config ~/.config/picom/picom.conf & | 18 | picom --config ~/.config/picom/picom.conf & |
15 | # start notification daemon | 19 | # start notification daemon |
16 | dunst & | 20 | dunst & |
21 | # start calendar | ||
22 | calcurse --daemon & | ||
17 | # start unclutter | 23 | # start unclutter |
18 | unclutter & | 24 | unclutter & |
19 | # start keybind daemon | 25 | # start keybind daemon |
20 | sxhkd & | 26 | sxhkd & |
21 | # start status bar | ||
22 | dwmblocks & | ||
23 | # initialize identity management programs | 27 | # initialize identity management programs |
24 | urxvt -e id-init & | 28 | st -e id-init & |
29 | # run statusbar script | ||
30 | ~/.local/bin/bar & | ||
25 | # start window manager | 31 | # start window manager |
26 | dwm | 32 | while true |
33 | do | ||
34 | /usr/local/bin/dwm 2> /tmp/dwm_errors | ||
35 | done | ||