summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-01-17 12:11:40 +0100
committerJoe <rrbo@proton.me>2023-01-17 12:11:40 +0100
commit2a7c5b426d7eadc79af452a6e1c082388ef49166 (patch)
tree79254f1d82fc785046408d65bc03467b24f69310 /.config/x11/xinitrc
parentup (diff)
downloaddotfiles-bsd-2a7c5b426d7eadc79af452a6e1c082388ef49166.tar.gz
dotfiles-bsd-2a7c5b426d7eadc79af452a6e1c082388ef49166.tar.bz2
dotfiles-bsd-2a7c5b426d7eadc79af452a6e1c082388ef49166.tar.xz
dotfiles-bsd-2a7c5b426d7eadc79af452a6e1c082388ef49166.tar.zst
dotfiles-bsd-2a7c5b426d7eadc79af452a6e1c082388ef49166.zip
up
Diffstat (limited to '.config/x11/xinitrc')
-rw-r--r--.config/x11/xinitrc15
1 files changed, 10 insertions, 5 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index e39cbd3..a61f84d 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -4,6 +4,15 @@ startif() {
pgrep "$(basename "$1")" >/dev/null || "$@" >/dev/null 2>&1 &
}
+delay_desktop() {
+ sleep 5
+ startif conky -d -c "$HOME"/.config/conkyrc
+ startif tint2
+ startif cairo-clock -x 900 -y 20 --width 300 --height 300 --theme zen
+ startif cairo-dock
+ startif idesk
+}
+
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
@@ -17,13 +26,9 @@ startif picom
startif lowbat
startif mpd-notification
startif xscreensaver --no-splash
+delay_desktop &
# 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"