diff options
| author | bozo.kopic <bozo.kopic@gmail.com> | 2020-05-08 19:37:41 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo.kopic@gmail.com> | 2020-05-08 19:37:41 +0200 |
| commit | 6c9130e407ab4a7d67588ba2cc47c39d0839cfe2 (patch) | |
| tree | 3cff6c218fc584fe9b9bff68b0bf899584a0c2f8 /i3/terminal.sh | |
| parent | e691d655633cc43b6275aad2b16eadfe3842a719 (diff) | |
.
Diffstat (limited to 'i3/terminal.sh')
| -rwxr-xr-x | i3/terminal.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/i3/terminal.sh b/i3/terminal.sh new file mode 100755 index 0000000..5d6808d --- /dev/null +++ b/i3/terminal.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +CLASSNAME=scratchpad_term + +[[ -z $(xdotool search --classname $CLASSNAME) ]] && \ + alacritty --class $CLASSNAME -e tmux new-session -A -s default + +i3-msg [instance=\"$CLASSNAME\"] scratchpad show, \ + resize set 100 ppt 100 ppt, \ + resize shrink height 22 px, \ + move position center |
