My dotfiles for my Linux rice managed with stow and make
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cliprog 276B

1234567891011
  1. #!/bin/bash
  2. INSTANCE=$1
  3. COMMAND=$2
  4. if ! xdotool search --classname "$INSTANCE" > /dev/null; then
  5. i3-msg "exec urxvt -name $INSTANCE -e /home/micah/.config/i3/scripts/runner \"$COMMAND\""
  6. sleep .8
  7. fi
  8. i3-msg "[instance="$INSTANCE"] scratchpad show; move position center"