-
Notifications
You must be signed in to change notification settings - Fork 1
/
.xinitrc
43 lines (34 loc) · 1.18 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
#!/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' &
# nohup mons -a > /dev/null 2>&1 &
# mons -a -x "$MIOZU_DIR/.config/mons/dual_deck.sh"
# Uncomment to use image instaed of solid hex background color
feh --bg-fill $HOME/Pictures/wallpapers/miozu_keybindings.png &
# Start notification manager
dunst &
# Run dual monitor script
bash $MIOZU_DIR/bin/tools/deck_dual.sh
# Start compositor
#DISPLAY=":0" picom -b
# Keyboard layout
# set xorg 00-keyboard.conf every time
# NOTE it can't create a new file, only modify existing one
localectl set-x11-keymap us,ua , dvorak grp:alt_shift_toggle,caps:escape
# set xkb
setxkbmap -layout "us,ua" -variant "dvorak," -option "grp:alt_shift_toggle,caps:escape" &
# Start WM
exec xmonad