summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
blob: e39cbd3b5f1266e156a2809e0e0fe3a851e7cefa (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
# vim: filetype=sh

startif() {
	pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
}

export LANG='en_US.UTF-8'
pgrep musicpd >/dev/null || musicpd >/dev/null 2>&1
xrandr --output HDMI-1 --primary --mode 2560x1440 --pos 1920x347 --rotate normal --output eDP-1 --mode 1920x1080 --pos 0x1024 --rotate normal --output DP-1 --mode 1280x1024 --pos 640x0 --rotate normal --output DP-2 --mode 2560x1440 --pos 4480x347 --rotate normal
"$HOME"/.local/bin/setwp "$HOME"/pics/wp.jpg
"$HOME"/.local/bin/kb
xset s off
xset -dpms
# xsetroot -name 'Loading bar...'
startif dunst
startif picom
startif lowbat
startif mpd-notification
startif xscreensaver --no-splash
# startif dwmblocks
# startif sb-updatempd
startif tint2
startif idesk
startif cairo-clock -x 900 -y 20 --width 300 --height 300 --theme zen &
startif cairo-dock
startif conky -d -c "$HOME"/.config/conkyrc
# /compat/linux/usr/lib/protonmail/bridge/proton-bridge --noninteractive
# ekb
cd "$HOME"
xrdb "$HOME"/.config/x11/xresources
notify-send -u normal 'Welcome' "  Welcome back, partner\!"
dbus-launch openbox