From 280e1bbe5e733128a451260685cc8ecd10a042a3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 17 Oct 2026 21:53:43 +1300 Subject: feat: Dendritic pattern This re-write was done with the help of claude, and still needs a decent amount of changes before it properly follows the dendritic pattern --- home-manager/i3/scripts/monitor-config.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100755 home-manager/i3/scripts/monitor-config.sh (limited to 'home-manager/i3/scripts/monitor-config.sh') diff --git a/home-manager/i3/scripts/monitor-config.sh b/home-manager/i3/scripts/monitor-config.sh deleted file mode 100755 index 8f17660..0000000 --- a/home-manager/i3/scripts/monitor-config.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -choice=$(echo -e "One monitor\nTwo monitors" | rofi -dmenu -i -p "What monitor setup to use") - -monitor1=$(xrandr | grep -E "eDP(-1(-1)?)?" | awk '{print $1 }') -monitor2=$(xrandr | grep -E "HDMI(-A-0)?(-1(-1)?)?" | awk '{print $1 }') - -case $choice in - "One monitor") - xrandr --output $monitor1 --primary --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal --output $monitor2 --off - sleep 1 - i3-msg restart - ;; - "Two monitors") - xrandr --output $monitor1 --primary --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal --output $monitor2 --mode 1920x1080 --rate 144 --pos 1920x0 --rotate normal - sleep 1 - i3-msg restart - ;; - *) - notify-send "Invalid response, canceling" - ;; -esac - -- cgit v1.3.1