diff --git a/.xinitrc b/.xinitrc index 07d5d98..7ba1585 100755 --- a/.xinitrc +++ b/.xinitrc @@ -12,7 +12,7 @@ fi xrdb -merge ~/.Xresources setxkbmap -option caps:swapescape -feh --bg-center ~/nix/wallpapers/inverted.png +feh --bg-scale ~/nix/wallpapers/inverted.png dwmblocks & dunst & diff --git a/.xinitrc.laptop b/.xinitrc.laptop new file mode 100755 index 0000000..07d5d98 --- /dev/null +++ b/.xinitrc.laptop @@ -0,0 +1,21 @@ +#!/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-center ~/nix/wallpapers/inverted.png + +dwmblocks & +dunst & +xbanish & + +exec dwm