Added new xinitrc

This commit is contained in:
FredzyW 2024-07-15 14:04:28 +02:00
parent 4ef2f81022
commit 6fe5df4636

24
.xinitrc.jobb Executable file
View file

@ -0,0 +1,24 @@
#!/bin/sh
#
if test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval $(dbus-launch --exit-with-session --sh-syntax)
fi
systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
xrdb -merge ~/.Xresources
setxkbmap -option caps:swapescape
feh --bg-scale ~/nix/wallpapers/inverted.png
dwmblocks &
dunst &
xbanish &
xrandr --output "DP-1-1" --auto --same-as "eDP-1"
exec dwm