-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Support gnome-extensions, gdbus, gsettings, dconf
- Loading branch information
Showing
9 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# :fzf-tab:complete:(\\|*/|)dconf-dump: | ||
case $group in | ||
directory) | ||
# https://github.com/Aloxaf/fzf-tab/issues/325 | ||
# no real toml | ||
dconf dump $ctxt[hpre]$word | bat -ltoml | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# :fzf-tab:complete:(\\|*/|)dconf-list: | ||
case $group in | ||
directory) | ||
# https://github.com/Aloxaf/fzf-tab/issues/325 | ||
dconf list $ctxt[hpre]$word | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# :fzf-tab:complete:(\\|*/|)dconf(|-help): | ||
case $group in | ||
command) | ||
dconf help $word | bat -lhelp | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# :fzf-tab:complete:(\\|*/|)gdbus: | ||
# FIXME: strip trailing whitespaces | ||
word=${word%% } | ||
[[ $word != -* ]] && gdbus $word --help |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# :fzf-tab:complete:(\\|*/|)gnome-extensions: | ||
if [[ $word == *@* ]]; then | ||
gnome-extensions show $word | bat -lyaml | ||
else | ||
gnome-extensions help $word 2>&1 | bat -lhelp | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# :fzf-tab:complete:(\\|*/|)gsettings-list-children: | ||
case $group in | ||
schema) | ||
gsettings list-children $word | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# :fzf-tab:complete:(\\|*/|)gsettings-list-keys: | ||
case $group in | ||
schema) | ||
gsettings list-keys $word | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# :fzf-tab:complete:(\\|*/|)gsettings-list-recursively: | ||
case $group in | ||
schema) | ||
gsettings list-recursively $word | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# :fzf-tab:complete:(\\|*/|)gsettings(|-help): | ||
case $group in | ||
command) | ||
gsettings help $word | bat -lhelp | ||
;; | ||
esac |