commit aa48cf841b6b80d008c12491a581942473637461 parent a5c2a3684f27e771a0f6bbd31234a88a21c81444 Author: hhvn <dev@hhvn.uk> Date: Wed, 7 Jul 2021 17:58:36 +0100 .s/b/dmon: remove Diffstat:
D | .scripts/bin/dmon | | | 27 | --------------------------- |
1 file changed, 0 insertions(+), 27 deletions(-)
diff --git a/.scripts/bin/dmon b/.scripts/bin/dmon @@ -1,27 +0,0 @@ -#!/bin/sh -# -# dmon -# Created by Hayden Hamilton -# -# hayden@haydenvh.com -# Copyright (c) 2020 Hayden Hamilton - -choice=$(xrandr -q | grep "[A-Z]* con" | dmenu -i | awk '//{print $1}') -cmd="xrandr --output $choice --primary" -while true -do - bchoice="$choice" - choice=$(printf "DONE\nRight\nLeft\nAbove\nBelow" | dmenu -i -p "Add monitor to:") - case $choice in - "") exit ;; - Right) direction="right-of" ;; - Left) direction="left-of" ;; - Above) direction="above" ;; - Below) direction="below" ;; - DONE) $cmd; exit 0 ;; - esac - choice2=$(xrandr -q | grep "[A-Z]* con" | dmenu -i -p "Select monitor:" | awk '//{print $1}') - cmd="$cmd --output $choice2 --$direction $bchoice" - setup=$(($setup+1)) - echo "$cmd" -done