From 767c0821ee0a1ad893efe9b5bc8e84f5629f8416 Mon Sep 17 00:00:00 2001 From: adam <56338480+adastx@users.noreply.github.com> Date: Fri, 4 Nov 2022 21:43:06 +0100 Subject: scripts: removed bashisms --- .local/bin/dock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '.local/bin/dock') 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 "$@" -- cgit v1.2.3-70-g09d2