mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 22:22:40 +00:00
feat: Begins moving some scripts into a utils folder and using them as subcommands.
This commit is contained in:
3
env/.local/scripts/hypr/close-windows
vendored
3
env/.local/scripts/hypr/close-windows
vendored
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
THIS_FILE=${BASH_SOURCE[0]}
|
||||
THIS=$(basename "$THIS_FILE")
|
||||
# Allows script name to be set when called from a parent script or defaults to filename.
|
||||
THIS=${THIS:-$(basename "$THIS_FILE")}
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
|
||||
Reference in New Issue
Block a user