mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
swaygrab: make focused output default
This makes swaygrab use the currently focused output as source if no other output is defined with the `-o, --output <output>` option.
This commit is contained in:
parent
101a14faf8
commit
d49282b2c3
2 changed files with 47 additions and 8 deletions
|
|
@ -1,9 +1,14 @@
|
|||
include_directories(
|
||||
${JSONC_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_executable(swaygrab
|
||||
main.c
|
||||
)
|
||||
|
||||
target_link_libraries(swaygrab
|
||||
sway-common
|
||||
${JSONC_LIBRARIES}
|
||||
rt
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue