From 95edd754ca0b924f26a2e9b3db69e560877dd719 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 23 Apr 2024 16:55:29 +0530 Subject: (Scripts)+labelled_terminals This script creates n labelled terminals, where n is passed in as a command line argument. This makes demonstrating and understanding differing layouts in say DWM or some other window manager easier as we can directly see how the stack changes based on operations. --- Scripts/.local/scripts/labelled_terminals | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 Scripts/.local/scripts/labelled_terminals (limited to 'Scripts/.local/scripts/labelled_terminals') diff --git a/Scripts/.local/scripts/labelled_terminals b/Scripts/.local/scripts/labelled_terminals new file mode 100755 index 0000000..2f72a95 --- /dev/null +++ b/Scripts/.local/scripts/labelled_terminals @@ -0,0 +1,7 @@ +#!/usr/bin/env sh + +for v in $(seq 1 $1) +do + $TERMINAL -e sh -c "figlet ${v} && echo \"Press any key to exit...\" && read" & + sleep 0.5 +done -- cgit v1.2.3-13-gbd6f