-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.xinitrc
36 lines (28 loc) · 896 Bytes
/
.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
#!/bin/sh
# ****
# .xinitrc for Miozu by @nicholasglazer
# ****
# Check if the /etc/X11/xinit/xinitrc.d directory exists, and if it does, it executes any executable files within that directory
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Set up the Xresources
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources &
# Make correct cursor and make background solid with hex color
xsetroot -cursor_name left_ptr &
hsetroot -solid '#252835' &
# Uncomment to use image instaed of solid hex background color
feh --bg-fill $HOME/Pictures/wallpapers/miozu_keybindings.png &
# Start notification manager
dunst &
# Run autorandr
autorandr -c
# Start compositor
DISPLAY=":0" picom -b
# Keyboard layout
setxkbmap -layout "dvorak,ua,ru,us" -option "grp:alt_shift_toggle,caps:escape" &
# Start WM
exec xmonad