summaryrefslogtreecommitdiffstats
path: root/.config/x11/xinitrc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/x11/xinitrc32
1 files changed, 24 insertions, 8 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc
index 460e680..fc2fa90 100644
--- a/.config/x11/xinitrc
+++ b/.config/x11/xinitrc
@@ -4,24 +4,40 @@ 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 plank
+ 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
-"$HOME"/.local/bin/setwp
+"$HOME"/.local/bin/setwp "$HOME"/pics/wp.jpg
"$HOME"/.local/bin/kb
xset s off
xset -dpms
-xsetroot -name 'Loading bar...'
+# xsetroot -name 'Loading bar...'
+# if xrandr | grep -F 'DisplayPort-0 connected' >/dev/null 2>&1; then
+# "$HOME"/.local/bin/scr
+# else
+# "$HOME"/.local/bin/dscr
+# fi
startif dunst
startif picom
# startif lowbat
-startif mpd-notification
-startif xscreensaver --no-splash
-startif dwmblocks
-startif sb-updatempd
+# startif mpd-notification
+startif xscreensaver
+delay_desktop &
+# startif dwmblocks
+# startif sb-updatempd
# /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 dwm
+notify-send -u normal 'Welcome' " Welcome back, partner\!"
+# dbus-launch openbox