Skip to content

Commit

Permalink
feat (Hyde code ) : Supports Cursor IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
kRHYME7 committed Sep 12, 2024
1 parent 1bebab6 commit d6525cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 39 deletions.
2 changes: 1 addition & 1 deletion Hyde
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ HELP
}
codet=${*:-wallbash}
[[ "$*" == "-"* ]] && { help ; exit 1; }
readarray -t codeConf < <(find "${confDir}" -mindepth 1 -maxdepth 1 -type d -name "Code*" -o -name "VSCodium*" | sort)
readarray -t codeConf < <(find "${confDir}" -mindepth 1 -maxdepth 1 -type d -name "Code*" -o -name "VSCodium*" -o -name "Cursor" | sort)
print_prompt -y "Setting '${codet}' as code theme..."
for i in "${!codeConf[@]}" ; do
[ -f "${codeConf[i]}/User/settings.json" ] || continue
Expand Down
2 changes: 1 addition & 1 deletion Scripts/FUNCTIONS-hyde
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ SelectOption() { #! Can be improved soon using other package.:- Used fzf.

ConfigCtl() {
FILE="$1"
EDITOR="${EDITOR:-code}" #* Use VS Code as the default editor
EDITOR="${EDITOR:-xdg-open}" #* Use VS Code as the default editor
echo -e "[Editor]: $EDITOR (\"export EDITOR=pref_editor\") \n[Modifying]: $FILE \nPress Any Key if done editing"
#kitty -o allow_remote_control=yes -o listen_on=unix:/${HYDE_RUNTIME_DIR}/mykitty $(which $EDITOR) "$FILE" > /dev/null 2>&1 &
kitty "$(which $EDITOR)" "$FILE" >/dev/null 2>&1 &
Expand Down
37 changes: 0 additions & 37 deletions Scripts/change_variable.sh

This file was deleted.

0 comments on commit d6525cb

Please sign in to comment.