diff --git a/completions/caelestia.fish b/completions/caelestia.fish index d0ad348..38fbc7f 100644 --- a/completions/caelestia.fish +++ b/completions/caelestia.fish @@ -22,7 +22,7 @@ complete -c caelestia -n $not_seen -a 'wallpaper' -d 'Change the wallpaper' complete -c caelestia -n $not_seen -a 'pip' -d 'Picture in picture utilities' # Install -set -l commands discord foot fuzzel hypr safeeyes scripts shell gtk +set -l commands discord foot fuzzel hypr safeeyes scripts shell gtk vscode complete -c caelestia -n "$seen install && not $seen $commands" -a "$commands" # Shell diff --git a/main.fish b/main.fish index e1ed05d..a4f405e 100755 --- a/main.fish +++ b/main.fish @@ -44,7 +44,7 @@ if test "$argv[1]" = scheme end if test "$argv[1]" = install - set -l valid_modules discord foot fuzzel hypr safeeyes scripts shell gtk + set -l valid_modules discord foot fuzzel hypr safeeyes scripts shell gtk vscode contains -- "$argv[2]" $valid_modules && $src/install/$argv[2].fish $argv[3..] || error "Invalid module: $argv[2]" exit end