aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormadblobfish <madblobfish@users.noreply.github.com>2018-10-27 16:54:20 +0200
committermadblobfish <madblobfish@users.noreply.github.com>2018-10-27 16:54:20 +0200
commit834f23f57aefd78921a997ef3e0a835a682461ca (patch)
tree02f32d9c268d18ed675c3f2056fc882b33e205e8
parentfe32a745ee699d278d8b15582260e749f95c107c (diff)
added fish completions for swayidle
-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',
)