no longer using wallpaper symlink
This commit is contained in:
parent
2d8e13598c
commit
40d73b15d6
@ -1,4 +1,4 @@
|
|||||||
WALLPAPER_DIR="$HOME/.config/wryn/wallpaper";
|
source "$HOME/.config/wryn/env/env"
|
||||||
|
|
||||||
[ -d $WALLPAPER_DIR ] \
|
[ -d "$WALLPAPER_PATH" ] \
|
||||||
&& feh --recursive --randomize --bg-fill "$WALLPAPER_DIR";
|
&& feh --recursive --randomize --bg-fill "$WALLPAPER_PATH";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
source "$HOME/.config/wryn/env/env"
|
||||||
|
|
||||||
RESOLUTION='1920x1080';
|
RESOLUTION='1920x1080';
|
||||||
|
|
||||||
@ -17,6 +18,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$CURRENT_M
|
|||||||
xrandr --output $display --off;
|
xrandr --output $display --off;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
feh --bg-fill --randomize $HOME/.config/wryn/wallpaper;
|
"$DOTWRYN/bin/desktop/feh/randomize-background.sh"
|
||||||
|
|
||||||
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx gamedock
|
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx gamedock
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
source "$HOME/.config/wryn/env/env"
|
||||||
|
|
||||||
NATIVE_MONITOR='eDP1';
|
NATIVE_MONITOR='eDP1';
|
||||||
CONNECTED_MONITOR=$(xrandr | grep ' connect' | awk '{print $1;}' | grep -v "$NATIVE_MONITOR" | head -n 1);
|
CONNECTED_MONITOR=$(xrandr | grep ' connect' | awk '{print $1;}' | grep -v "$NATIVE_MONITOR" | head -n 1);
|
||||||
|
|
||||||
@ -28,5 +30,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$NATIVE_MO
|
|||||||
xrandr --output $display --off;
|
xrandr --output $display --off;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
feh --recursive --bg-fill --randomize $HOME/.config/wryn/wallpaper;
|
"$DOTWRYN/bin/desktop/feh/randomize-background.sh"
|
||||||
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx login
|
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx login
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
source "$HOME/.config/wryn/env/env"
|
||||||
|
|
||||||
NATIVE_MONITOR='eDP1';
|
NATIVE_MONITOR='eDP1';
|
||||||
HOMEDOCK_MONITOR=$(xrandr | grep ' connect' | awk '{print $1;}' | grep -v "$NATIVE_MONITOR" | head -n 1);
|
HOMEDOCK_MONITOR=$(xrandr | grep ' connect' | awk '{print $1;}' | grep -v "$NATIVE_MONITOR" | head -n 1);
|
||||||
|
|
||||||
@ -15,6 +17,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$HOMEDOCK_
|
|||||||
xrandr --output $display --off;
|
xrandr --output $display --off;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
feh --bg-fill --randomize $HOME/.config/wryn/wallpaper;
|
"$DOTWRYN/bin/desktop/feh/randomize-background.sh"
|
||||||
|
|
||||||
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx homedock
|
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx homedock
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
source "$HOME/.config/wryn/env/env"
|
||||||
|
|
||||||
NATIVE_MONITOR='eDP1';
|
NATIVE_MONITOR='eDP1';
|
||||||
TV_DISPLAY=$(xrandr | grep ' connect' | awk '{print $1;}' | grep -v "$NATIVE_MONITOR" | head -n 1);
|
TV_DISPLAY=$(xrandr | grep ' connect' | awk '{print $1;}' | grep -v "$NATIVE_MONITOR" | head -n 1);
|
||||||
|
|
||||||
@ -15,6 +17,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$TV_DISPLA
|
|||||||
xrandr --output $display --off;
|
xrandr --output $display --off;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
feh --bg-fill --randomize $HOME/.config/wryn/wallpaper;
|
"$DOTWRYN/bin/desktop/feh/randomize-background.sh"
|
||||||
|
|
||||||
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx gamedock
|
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx gamedock
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
source "$HOME/.config/wryn/env/env"
|
||||||
|
|
||||||
NATIVE_MONITOR='eDP1';
|
NATIVE_MONITOR='eDP1';
|
||||||
NATIVE_MODE="$(xrandr | grep -A 2 "$NATIVE_MONITOR" | sed -n '2 p' | awk '{print $1;}')";
|
NATIVE_MODE="$(xrandr | grep -A 2 "$NATIVE_MONITOR" | sed -n '2 p' | awk '{print $1;}')";
|
||||||
|
|
||||||
@ -17,6 +19,5 @@ for display in $(xrandr | grep connect | awk '{print $1;}' | grep -v "$NATIVE_MO
|
|||||||
xrandr --output $display --off;
|
xrandr --output $display --off;
|
||||||
done;
|
done;
|
||||||
|
|
||||||
feh --bg-fill --randomize $HOME/.config/wryn/wallpaper;
|
"$DOTWRYN/bin/desktop/feh/randomize-background.sh"
|
||||||
|
|
||||||
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx undock
|
[ -f $HOME/.config/wryn/sfx ] && $HOME/.config/wryn/sfx undock
|
||||||
|
6
env/env
vendored
6
env/env
vendored
@ -1,11 +1,13 @@
|
|||||||
#!/bin/sh
|
|
||||||
DOTWRYN="$HOME/.wryn"
|
DOTWRYN="$HOME/.wryn"
|
||||||
SCHOOL_PATH="$HOME/School"
|
SCHOOL_PATH="$HOME/School"
|
||||||
RD_PATH="$HOME/RentDynamics"
|
RD_PATH="$HOME/RentDynamics"
|
||||||
|
|
||||||
SFX_PATH="$HOME/Media/sfx"
|
SFX_PATH="$HOME/Media/sfx"
|
||||||
|
WALLPAPER_PATH="$HOME/Pictures/bg"
|
||||||
|
|
||||||
# ordered from least-preferred to most-preferred
|
# ordered from least-preferred to most-preferred
|
||||||
PREFERRED_EDITOR=(vi vim)
|
PREFERRED_EDITOR=(vi vim)
|
||||||
|
|
||||||
# plays audio files located throughout the system
|
# plays audio files located throughout the system
|
||||||
MEDIA_ENGINE="$(which canberra-gtk-play) -f"
|
MEDIA_ENGINE="canberra-gtk-play -f"
|
||||||
|
Loading…
Reference in New Issue
Block a user