summaryrefslogtreecommitdiff
path: root/.local/bin/dock
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dock')
-rwxr-xr-x.local/bin/dock8
1 files changed, 4 insertions, 4 deletions
diff --git a/.local/bin/dock b/.local/bin/dock
index c4ffb01..9be72c1 100755
--- a/.local/bin/dock
+++ b/.local/bin/dock
@@ -19,16 +19,16 @@ dock () {
barpos bottom
xrandr --output HDMI-1 --mode 2560x1440 --rate 70 --primary
xrandr --output eDP-1 --off
- xwallpaper --center $XDG_CONFIG_HOME/wallpaper/bg
- betterlockscreen -u $XDG_CONFIG_HOME/wallpaper/lock &>/dev/null &
+ xwallpaper --center "$XDG_CONFIG_HOME/wallpaper/bg"
+ betterlockscreen -u "$XDG_CONFIG_HOME/wallpaper/lock" >/dev/null 2>&1 &
}
undock () {
barpos top
xrandr --output eDP-1 --mode 1920x1080 --primary
xrandr --output HDMI-1 --off
- xwallpaper --center $XDG_CONFIG_HOME/wallpaper/bg
- betterlockscreen -u $XDG_CONFIG_HOME/wallpaper/lock &>/dev/null &
+ xwallpaper --center "$XDG_CONFIG_HOME/wallpaper/bg"
+ betterlockscreen -u "$XDG_CONFIG_HOME/wallpaper/lock" >/dev/null 2>&1 &
}
main "$@"