summaryrefslogtreecommitdiff
path: root/dockd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dockd.sh')
-rwxr-xr-xdockd.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dockd.sh b/dockd.sh
index d74e6b3..6c5831e 100755
--- a/dockd.sh
+++ b/dockd.sh
@@ -40,6 +40,9 @@ undock() {
notify-send Undocked
}
+[ "$1" = "dock" ] && dock && return 0
+[ "$1" = "undock" ] && undock && return 0
+
while sleep 5
do
xrandr=$(xrandr)