Initial commit of bash scripts
This commit is contained in:
@@ -2,5 +2,12 @@
|
||||
|
||||
#set -x
|
||||
source ~/.config/hypr/scripts/functions
|
||||
create_workspace ${@}
|
||||
|
||||
name="$(rofi -dmenu -p "new workspace name" -l 0 < /dev/null)"
|
||||
if [[ -z "${@}" ]]; then
|
||||
create_workspace "${name}"
|
||||
else
|
||||
after_name="${1}"; shift
|
||||
create_workspace "${name}" "${after_name}"
|
||||
fi
|
||||
#set +x
|
||||
|
||||
Reference in New Issue
Block a user