dotfiles/.xinitrc
2023-07-07 11:02:04 +02:00

23 lines
514 B
Bash

#!/bin/bash
# Make sure this is before the 'exec' command or it won't be sourced.
# [ -f /etc/xprofile ] && . /etc/xprofile
eval "$(dbus-launch --sh-syntax --exit-with-session)"
[ -f ~/.xprofile ] && . ~/.xprofile
#[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources
feh --bg-center "$HOME/Pictures/bg.png" &
xautolock -locker slock -secure -time 5 &
#pipewire &
dbus-run-session pipewire &
pipewire-pulse &
dwmblocks &
while true; do
dbus-launch --sh-syntax --exit-with-session dwm
#exec dwm
done