From 6fe5df46364f5ad8a6c644bc7ad51216faf06e7d Mon Sep 17 00:00:00 2001 From: FredzyW Date: Mon, 15 Jul 2024 14:04:28 +0200 Subject: [PATCH] Added new xinitrc --- .xinitrc.jobb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 .xinitrc.jobb diff --git a/.xinitrc.jobb b/.xinitrc.jobb new file mode 100755 index 0000000..814895b --- /dev/null +++ b/.xinitrc.jobb @@ -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 +