~q3cpma/dotfiles

dotfiles/.xinitrc -rw-r--r-- 1.0 KiB
eb1d763dq3cpma Sync 2 months ago
                                                                                
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
#!/bin/sh

# Load resources
for file in "/etc/X11/Xresources" "$HOME/.Xresources"
do
    if [ -f "$file" ]
	then
        echo "Loading resource $file"
        xrdb -merge "$file"
    fi
done

export PATH=$HOME/bin:$PATH

# For xdotool
setxkbmap fr

# Set Xorg default cursor
xsetroot -cursor_name left_ptr

# Register X fonts
find /usr/share/fonts \( ! -name fonts -prune \) -type d ! -name 'util' \
	! -name 'encodings' | paste -sd, | xargs xset +fp

[ -x /usr/bin/gpg-agent ] && eval "$(/usr/bin/gpg-agent --daemon)"

wallpaper_cycle.sh ~/.wallpapers/current ~/.wallpapers
xwallpaper --maximize ~/.wallpapers/current      &
redshift -l 43.36:3.52                           &
# xscreensaver -nosplash 2>/dev/null               &
if [ -d ~/Music ] && ! aplay -l 2>&1 | grep -qF 'no soundcards found'
then
	ionice -c2 -n0 mus_daemon -s ~/.config/lemonbar/mus_status.sh &
fi
st -c neomutt -e zsh -ic 'neomutt; exec zsh'     &
st -c sfeed -e zsh -ic 'sfeed_view.sh; exec zsh' &
sxhkd                                            &
exec bspwm