aboutsummaryrefslogtreecommitdiffstats
path: root/swaygrab/main.c
Commit message (Collapse)AuthorAge
* fixes a hanging swaygrabLibravatar Markus Ongyerth2017-09-11
| | | | | | | | | https://github.com/SirCmpwn/sway/issues/1350 is fixed with this. The commit that change swaygrab to use fork instead of Popen tried to write to the read end of the pipe in the child branch and exec in the parent branch. This commit fixes both of those and closes the write fd after writing, so convert actually exits.
* Use fork in swaygrab instead of popen.Libravatar Clar Charr2017-08-27
|
* FFmpeg options for swaygrabLibravatar David Blajda2017-06-17
|
* FreeBSD fixesLibravatar johalun2017-06-06
| | | | | | | Increase _POSIX_SOURCE value where needed. Increase _XOPEN_SOURCE value where needed. Conditionally link to libcap (only on Linux). Possibly some trailing whitespace fixes (automatic).
* Add -DVERSION flag for release version numbersLibravatar Sebastian Noack2017-04-26
|
* UnGNUify the codebaseLibravatar Drew DeVault2017-03-10
|
* implement "focused container" feature for swaygrabLibravatar Zandr Martin2016-09-18
|
* Added -R option to getopt opt_stringLibravatar Hummer120072016-03-28
|
* Correctly exit sway on errors.Libravatar Mikkel Oscar Lyderik2016-02-26
| | | | | | | | Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
* Revert "s/numlen/log10/g"Libravatar Drew DeVault2016-01-23
| | | | This reverts commit 038bb8cc7c4dee77f8ee4ba3ac1ffc47409b2370.
* s/numlen/log10/gLibravatar Drew DeVault2016-01-23
|
* Copy filename from argvLibravatar Mikkel Oscar Lyderik2016-01-17
| | | | Fix #449
* Fix whitespace issues.Libravatar Mikkel Oscar Lyderik2016-01-05
|
* swaygrab: Fix memory leak when recording videosLibravatar Julien Savard2015-12-22
|
* swaygrab: add default output filename.Libravatar Mikkel Oscar Lyderik2015-12-17
| | | | | | | | | With this it's possible to run `swaygrab` without a filename argument. With no filename supplied it will use a default name based on the current time. The default file will get the extension `png` for screenshots and `webm` for video capture.
* swaygrab: make focused output defaultLibravatar Mikkel Oscar Lyderik2015-12-17
| | | | | This makes swaygrab use the currently focused output as source if no other output is defined with the `-o, --output <output>` option.
* Move numlen(1) to sway/util.cLibravatar Mikkel Oscar Lyderik2015-12-14
|
* Fix option parsingLibravatar Christoph Gysin2015-11-28
| | | | | | | | | | Using 'flag' results in duplicate code paths for short and long options. This broke the -q short option in swaymsg, because there was: {"quiet", no_argument, &quiet, 'q'} Which will set quiet to 'q' and return 0, not 'q'.
* swaygrab: Add --help option that prints usageLibravatar Christoph Gysin2015-11-28
|
* swaygrab: Print usage and exit on unknown optionsLibravatar Christoph Gysin2015-11-28
|
* Use macros for exit valuesLibravatar Christoph Gysin2015-11-28
|
* Remove extraneous logging from swaygrabLibravatar Drew DeVault2015-11-28
|
* Rearrange logging headersLibravatar Drew DeVault2015-11-28
| | | | Ref #270
* Fix uninitialized variable warning in swaygrabLibravatar Drew DeVault2015-11-27
|
* Add ffmpeg capture to swaygrab (with limitations)Libravatar Drew DeVault2015-11-27
| | | | | This needs to be multithreaded to have any sort of realistic expectation of performance, due to issues with syncronous I/O.
* Fix swaygrab memory leakLibravatar Drew DeVault2015-11-27
|
* Implement swaygrab for still imagesLibravatar Drew DeVault2015-11-27
|
* Add command line to swaygrabLibravatar Drew DeVault2015-11-27
| | | | | Also modifies IPC client so that we can work with persistent connections.
* Add swaygrab subprojectLibravatar Drew DeVault2015-11-27