fixed background in xinitrc
This commit is contained in:
parent
f080a6cc9f
commit
c4411447bb
2 changed files with 22 additions and 1 deletions
2
.xinitrc
2
.xinitrc
|
@ -12,7 +12,7 @@ fi
|
||||||
xrdb -merge ~/.Xresources
|
xrdb -merge ~/.Xresources
|
||||||
setxkbmap -option caps:swapescape
|
setxkbmap -option caps:swapescape
|
||||||
|
|
||||||
feh --bg-center ~/nix/wallpapers/inverted.png
|
feh --bg-scale ~/nix/wallpapers/inverted.png
|
||||||
|
|
||||||
dwmblocks &
|
dwmblocks &
|
||||||
dunst &
|
dunst &
|
||||||
|
|
21
.xinitrc.laptop
Executable file
21
.xinitrc.laptop
Executable file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue