summary refs log tree commit diff
path: root/.config/river/mklayout.sh
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-02-10 12:32:48 +0100
committerRobert Günzler <r@gnzler.io>2026-02-10 12:41:25 +0100
commit63feeb9f369fc6176e85c1c2d8fcc863caad1946 (patch)
tree41cd5d2d1ec36e74e464caab722cc9b460153f04 /.config/river/mklayout.sh
parent5bd0a4aca65ecb9818ef1285982d160b6b6ff665 (diff)
start new
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/river/mklayout.sh')
-rwxr-xr-x.config/river/mklayout.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/.config/river/mklayout.sh b/.config/river/mklayout.sh
deleted file mode 100755
index a6151cd..0000000
--- a/.config/river/mklayout.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-set -eu
-
-case "${1:-}" in
-reset)
-	riverctl send-layout-cmd rivertile "main-ratio 0.66"
-	riverctl send-layout-cmd rivertile "main-count 1"
-	riverctl send-layout-cmd rivertile "main-location left"
-	;;
-dev)
-	workspace=$(
-		zoxide query -l |
-			xargs zenity \
-				--title 'river-mklayout' \
-				--text 'Select a workspace to enter into' \
-				--list \
-				--column 1
-	)
-	# spawn 3 terminals in the workspace
-	riverctl spawn "foot -D $workspace"
-	riverctl spawn "foot -D $workspace"
-	riverctl spawn "foot -D $workspace"
-	# terminate the terminal that ran mklayout (if any)
-	test -t 0 && riverctl close
-	;;
-*)
-	exit 1
-	;;
-esac