summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--completions/fish/swayidle.fish3
-rw-r--r--meson.build1
2 files changed, 4 insertions, 0 deletions
diff --git a/completions/fish/swayidle.fish b/completions/fish/swayidle.fish
new file mode 100644
index 00000000..71279925
--- /dev/null
+++ b/completions/fish/swayidle.fish
@@ -0,0 +1,3 @@
1# swayidle
2complete -c swayidle -s h --description 'show help'
3complete -c swayidle -s d --description 'debug'
diff --git a/meson.build b/meson.build
index 1e2b53fa..4687986b 100644
--- a/meson.build
+++ b/meson.build
@@ -244,6 +244,7 @@ endif
244if (get_option('fish-completions')) 244if (get_option('fish-completions'))
245 fish_files = files( 245 fish_files = files(
246 'completions/fish/sway.fish', 246 'completions/fish/sway.fish',
247 'completions/fish/swayidle.fish',
247 'completions/fish/swaylock.fish', 248 'completions/fish/swaylock.fish',
248 'completions/fish/swaymsg.fish', 249 'completions/fish/swaymsg.fish',
249 ) 250 )