aboutsummaryrefslogtreecommitdiff
path: root/xorg/.xinitrc
blob: d51a201984cb5931e25c0eef35dd6a44c4843179 (plain)
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
#!/bin/bash

setxkbmap us
# . "$HOME/.screenlayout/newhome.sh"
feh --bg-fill "$HOME/.config/wallpaper"

# should this be in .profile / .bash_profile ?
env_file="$HOME/.config/env"
modmap_file="$HOME/.Xmodmap"
resources_file="$HOME/.Xresources"

[[ -f "$env_file" ]] && . "$env_file"
[[ -f "$modmap_file" ]] && xmodmap "$modmap_file"
[[ -f "$resources_file" ]] && xrdb -merge -I"$HOME" "$resources_file"

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

mkdir -p "$HOME"/.local/share/keyrings
eval $(/usr/bin/gnome-keyring-daemon --start) && export SSH_AUTH_SOCK

updates check &

# move this to .local/bin/autostart ?
# or .xsession
# unclutter -idle 1 &
# brightness load &
# otd-daemon &
clipmenud &
fcitx5 -d &
# syncthing --no-browser &
slstatus &
# plank &
dunst &
picom &

[ ! -s "$HOME/.config/mpd/pid" ] && mpd &

# exec dwl # 2> "$HOME/dwm.log"
exec dwm # 2> "$HOME/dwm.log"
# exec leftwm
# exec awesome
# exec openbox

wal -R