@@ -113,14 +113,15 @@ export extern "aerospace focus" [
113113 -- help(-h) # Print help
114114 command ?:string @" nu-complete aerospace-focus"
115115 -- window-id :int @" nu-complete aerospace-list-all-windows"
116- -- dfs-index :int @" nu-complete aersoace-list-dfs-indices"
116+ -- dfs-index :int
117+ # --dfs-index:int@"nu-complete aerospace-list-dfs-indices"
117118]
118119
119120def "nu-complete aerospace-focus-boundaries" [] {
120121 [' workspace' , ' all-monitors-outer-frame' ]
121122}
122123
123- def "nu-complete aerosapce -focus-boundaries-action" [] {
124+ def "nu-complete aerospace -focus-boundaries-action" [] {
124125 [' stop' , ' wrap-around-the-workspace' , ' wrap-around-all-monitors' ]
125126}
126127
@@ -159,7 +160,7 @@ export extern "aerospace focus-back-and-forth" [
159160def "nu-complete aerospace-focus-monitor-numbers" [] {
160161 ^ aerospace list-monitors - count
161162 | 1 .. $in
162- | to str
163+ | into string
163164}
164165
165166def "nu-complete aerospace-focus-monitor-regex" [] {
@@ -219,7 +220,7 @@ export extern "aerospace focus-monitor prev" [
219220 -- wrap-around # Make it possible to wrap around focus
220221]
221222
222- def "nu-complete aerospace fullscreen" [] {
223+ def "nu-complete aerospace- fullscreen" [] {
223224 [
224225 " on" ,
225226 " off"
@@ -262,7 +263,7 @@ export extern "aerospace join-with" [
262263 command :string @" nu-complete aerospace-join-with"
263264]
264265
265- def "nu-complete aerospace-join-with " [] {
266+ def "nu-complete aerospace-layout " [] {
266267 [
267268 " h_tiles" ,
268269 " v_tiles" ,
@@ -353,25 +354,73 @@ export extern "aerospace list-workspaces" [
353354 -- json # Output in JSON format. Can be used in combination with --format to specify which data to include into the json. Incompatible with --count
354355]
355356
356- # TODO: resume here
357+ def "nu-complete aerospace-macos-native-fullscreen" [] {
358+ [
359+ " on" ,
360+ " off"
361+ ]
362+ }
363+
357364export extern "aerospace macos-native-fullscreen" [
358365 -- help(-h) # Print help
366+ -- window-id :int @" nu-complete aerospace-list-all-windows" # Act on the specified window instead of the focused window
367+ command ?:string @" nu-complete aerospace-macos-native-fullscreen"
368+ ]
369+
370+ export extern "aerospace macos-native-fullscreen on" [
371+ -- help(-h) # Print help
372+ -- window-id :int @" nu-complete aerospace-list-all-windows" # Act on the specified window instead of the focused window
373+ -- fail-if-noop # Exit with non-zero exit code if already fullscreen
374+ ]
375+
376+ export extern "aerospace macos-native-fullscreen off" [
377+ -- help(-h) # Print help
378+ -- window-id :int @" nu-complete aerospace-list-all-windows" # Act on the specified window instead of the focused window
379+ -- fail-if-noop # Exit with non-zero exit code if already not fullscreen
359380]
360381
361382export extern "aerospace macos-native-minimize" [
362383 -- help(-h) # Print help
363384]
364385
386+ def "nu-complete aerospace-binding-mode" [] {
387+ ^ aerospace list-modes
388+ | lines
389+ }
390+
365391export extern "aerospace mode" [
366392 -- help(-h) # Print help
393+ command :string @" nu-complete aerospace-binding-mode"
367394]
368395
396+ def "nu-complete aerospace-move" [] {
397+ [
398+ " left" ,
399+ " down" ,
400+ " up" ,
401+ " right"
402+ ]
403+ }
404+
369405export extern "aerospace move" [
370406 -- help(-h) # Print help
407+ command :string @" nu-complete aerospace-move"
408+ -- window-id :int @" nu-complete aerospace-list-all-windows" # Act on the specified window instead of the focused window
371409]
372410
411+ def "nu-complete aerospace-move-mouse" [] {
412+ [
413+ " monitor-lazy-center" ,
414+ " monitor-force-center" ,
415+ " window-lazy-center" ,
416+ " window-force-center"
417+ ]
418+ }
419+
373420export extern "aerospace move-mouse" [
374421 -- help(-h) # Print help
422+ command :string @" nu-complete aerospace-move-mouse"
423+ -- fail-if-noop # Exit with non-zero exit code if already not fullscreen
375424]
376425
377426export extern "aerospace move-node-to-monitor" [
0 commit comments