diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 16:55:29 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 16:55:29 +0530 |
commit | 95edd754ca0b924f26a2e9b3db69e560877dd719 (patch) | |
tree | 00fea09ce28dbcfcd7e1f5eb5d7c0a9428edcbfc /Scripts/.local/scripts/labelled_terminals | |
parent | be9f4530f54b5228e0befe89f6da42334d9d0ab9 (diff) | |
download | dotfiles-95edd754ca0b924f26a2e9b3db69e560877dd719.tar.gz dotfiles-95edd754ca0b924f26a2e9b3db69e560877dd719.tar.bz2 dotfiles-95edd754ca0b924f26a2e9b3db69e560877dd719.zip |
(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.
Diffstat (limited to 'Scripts/.local/scripts/labelled_terminals')
-rwxr-xr-x | Scripts/.local/scripts/labelled_terminals | 7 |
1 files changed, 7 insertions, 0 deletions
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 |