mirror of
https://github.com/ericonr/dotfiles.git
synced 2024-04-21 09:12:33 -05:00
17 lines
234 B
Bash
Executable File
17 lines
234 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# generic launcher for floating alacritty with size WIDTH X LENGTH
|
|
|
|
if [ -z $WIDTH ]
|
|
then
|
|
WIDTH=60
|
|
fi
|
|
|
|
if [ -z $LENGTH ]
|
|
then
|
|
LENGTH=30
|
|
fi
|
|
|
|
alacritty --dimensions $WIDTH $LENGTH --title launcher --command "$@"
|
|
|