aboutsummaryrefslogtreecommitdiff
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 @@
+# swayidle
+complete -c swayidle -s h --description 'show help'
+complete -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
if (get_option('fish-completions'))
fish_files = files(
'completions/fish/sway.fish',
+ 'completions/fish/swayidle.fish',
'completions/fish/swaylock.fish',
'completions/fish/swaymsg.fish',
)