summaryrefslogtreecommitdiff
path: root/mondetach-tofi
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-10-09 01:19:04 -0500
committerzachir <zachir@librem.one>2022-10-09 01:19:04 -0500
commit0ad890bae271b17a7eaf76f70b2c462e4ca10333 (patch)
treee81457c2d4cf414a66edb010b4cfbc2e0974e400 /mondetach-tofi
parentd36e7cd095371deb8b70115fc7817d351bcfa645 (diff)
reorganize .local/bin folder
Diffstat (limited to 'mondetach-tofi')
-rwxr-xr-xmondetach-tofi10
1 files changed, 0 insertions, 10 deletions
diff --git a/mondetach-tofi b/mondetach-tofi
deleted file mode 100755
index 1512b88..0000000
--- a/mondetach-tofi
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/sbin/sh
-
-XSTATS="$(xrandr)"
-
-PRIMARY="$(echo "$XSTATS" | grep "primary" | awk '{print $1}')"
-
-OUTPUT="$(echo "$XSTATS" | grep '[0-9]*x[0-9]*+[0-9]*+[0-9]' | grep -v 'primary' | awk '{print $1}' | tofi --height 24 --prompt 'Which output?')"
-[ -z "$OUTPUT" ] && exit 2
-
-xrandr --output "$OUTPUT" --off