mirror of
https://github.com/swaywm/sway.git
synced 2025-12-15 08:56:30 -05:00
added basic zsh shell completion for sway, swaybg, and swaygrab
This commit is contained in:
parent
fe241126bb
commit
fcd0071555
5 changed files with 90 additions and 1 deletions
|
|
@ -45,6 +45,7 @@ option(enable-swaygrab "Enables the swaygrab utility" YES)
|
|||
option(enable-swaymsg "Enables the swaymsg utility" YES)
|
||||
option(enable-gdk-pixbuf "Use Pixbuf to support more image formats" YES)
|
||||
option(enable-binding-event "Enables binding event subscription" YES)
|
||||
option(zsh-completions "Zsh shell completions" YES)
|
||||
option(default-wallpaper "Installs the default wallpaper" YES)
|
||||
|
||||
find_package(JsonC REQUIRED)
|
||||
|
|
@ -117,7 +118,9 @@ if(enable-swaylock)
|
|||
message(WARNING "Not building swaylock - cairo, pango, and PAM are required.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(zsh-completions)
|
||||
add_subdirectory(completions/zsh)
|
||||
endif()
|
||||
install(
|
||||
FILES ${CMAKE_CURRENT_SOURCE_DIR}/sway.desktop
|
||||
DESTINATION share/wayland-sessions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue