Fix .xsessionrc
This commit is contained in:
parent
7fe5f823fe
commit
c704b8fed5
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
|
if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
@ -15,9 +15,11 @@ if [[ "$DESKTOP_SESSION" = "dwm" ]]; then
|
|||||||
|
|
||||||
if test -f /usr/share/backgrounds/gnome/Road.jpg ; then
|
if test -f /usr/share/backgrounds/gnome/Road.jpg ; then
|
||||||
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
|
feh --bg-scale /usr/share/backgrounds/gnome/Road.jpg &
|
||||||
else if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then
|
else
|
||||||
|
if test -f /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg ; then
|
||||||
feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg &
|
feh --bg-scale /usr/share/backgrounds/brad-huchteman-stone-mountain.jpg &
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v nextcloud &> /dev/null ; then
|
if command -v nextcloud &> /dev/null ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user