summaryrefslogtreecommitdiffstats
path: root/.local/bin/i3cmds/hover
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/i3cmds/hover')
-rwxr-xr-x.local/bin/i3cmds/hover3
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/i3cmds/hover b/.local/bin/i3cmds/hover
index d02bbbc..a8a3e19 100755
--- a/.local/bin/i3cmds/hover
+++ b/.local/bin/i3cmds/hover
@@ -1,4 +1,5 @@
-#!/usr/bin/env sh
+#!/bin/sh
+
[ -z "$1" ] && exit # If $1 is left, hovers in the bottom left, if right, the bottom right
current=$(xdotool getwindowfocus)
newwidth=$(($(xdotool getdisplaygeometry | awk '{print $2}') / 3))