summaryrefslogtreecommitdiff
path: root/.local/bin/dock
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/dock')
-rwxr-xr-x.local/bin/dock10
1 files changed, 6 insertions, 4 deletions
diff --git a/.local/bin/dock b/.local/bin/dock
index 8d39930..5764213 100755
--- a/.local/bin/dock
+++ b/.local/bin/dock
@@ -16,19 +16,21 @@ dock () {
echo "error: HDMI not connected"; exit 1
fi
- barpos bottom
+ # barpos bottom
+ barlaunch
xrandr --output HDMI-1 --mode 2560x1440 --rate 70 --primary
xrandr --output eDP-1 --off
xwallpaper --center ~/.local/share/bg
- betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
+ # betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
}
undock () {
- barpos top
+ # barpos top
+ barlaunch
xrandr --output eDP-1 --mode 1920x1080 --primary
xrandr --output HDMI-1 --off
xwallpaper --center ~/.local/share/bg
- betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
+ # betterlockscreen -u ~/.local/share/lock >/dev/null 2>&1 &
}
main "$@"