dotfiles

regexghost dotfiles and scripts
git clone https://git.regexghost.com/dotfiles.git
Log | Files | Refs | README

st-title.sh (197B)


      1 #!/bin/sh
      2 
      3 # Simple script to give each st window a random title from a list
      4 
      5 LIST="$XDG_CONFIG_HOME/regexghost/terminal-names.txt"
      6 
      7 name="$(cat "$LIST" | grep -v "^#" | shuf -n 1)"
      8 
      9 st -t "$name"