Commit graph

2925 commits

Author SHA1 Message Date
progandy 8f1ac1ef2c sway: enable workspace selection by number 2015-12-18 01:21:31 +01:00
Drew DeVault 89341c0c70 Merge pull request #351 from mikkeloscar/swaygrab-default-file
swaygrab: add default output filename.
2015-12-17 13:12:01 -05:00
Mikkel Oscar Lyderik c97555d9f0 swaygrab: add default output filename.
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.
2015-12-17 18:37:09 +01:00
Drew DeVault b656297d4f Merge pull request #350 from mikkeloscar/swaygrab-auto-output
swaygrab: update man page
2015-12-17 10:52:35 -05:00
Mikkel Oscar Lyderik 64ccd63f13 swaygrab: update man page 2015-12-17 16:47:18 +01:00
Drew DeVault ef44b3cf59 Merge pull request #349 from mikkeloscar/swaygrab-auto-output
swaygrab: make focused output default
2015-12-17 10:35:35 -05:00
Mikkel Oscar Lyderik d49282b2c3 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.
2015-12-17 16:09:03 +01:00
Drew DeVault 101a14faf8 [swaylock] Stupid implementation of password entry 2015-12-17 08:56:08 -05:00
Drew DeVault 9c141f0bf1 Implement PAM password verification in swaylock 2015-12-17 08:44:30 -05:00
Drew DeVault d91185d67b Fix null dereference in swaybar 2015-12-17 08:30:45 -05:00
Drew DeVault 7b8f02146f Add PAM configuration for swaylock 2015-12-17 08:30:45 -05:00
Drew DeVault 3a829362f2 Merge pull request #348 from mikkeloscar/bar-segv
swaybar: Check that registry is set before teardown
2015-12-16 20:55:26 -05:00
Mikkel Oscar Lyderik 0f7614306d swaybar: Check that registry is set before teardown 2015-12-17 02:45:14 +01:00
Drew DeVault d1405da502 Actually that screenshot wasn't so good 2015-12-16 20:22:05 -05:00
Drew DeVault b673f3c931 New README screenshot 2015-12-16 20:18:14 -05:00
Drew DeVault adadb109a7 Only re-render swaybar when it has changed
Fixes #345
2015-12-16 20:09:23 -05:00
Drew DeVault 5a9cc96446 Make swaybar a little quieter 2015-12-16 19:37:03 -05:00
Drew DeVault 03787871d0 Fix bar invocation for multihead setup 2015-12-16 19:36:31 -05:00
Drew DeVault 1a365f19c9 Use system swaybar instead of local swaybar 2015-12-16 19:30:38 -05:00
Drew DeVault 60c204a09b Invoke swaybar when an output matches a bar config 2015-12-16 19:29:47 -05:00
Drew DeVault f6da4dda4b Bring unmanaged windows to front on output arrange
Fixes #312
2015-12-16 19:20:34 -05:00
Drew DeVault 2231acb790 Merge pull request #340 from mikkeloscar/seperator-separator
Correct typo seperator -> separator
2015-12-16 10:42:56 -05:00
Mikkel Oscar Lyderik 3bd388a307 Remove trailing whitespace 2015-12-16 16:31:12 +01:00
Mikkel Oscar Lyderik 1db4b4a8f5 Correct typo seperator -> separator 2015-12-16 16:30:43 +01:00
Drew DeVault 9c0be49024 Merge pull request #337 from fluxchief/swaybar-check-command-args
Make swaybar check command arguments
2015-12-16 09:20:38 -05:00
Drew DeVault 01798a5ae2 Merge pull request #338 from mikkeloscar/bar-separator-symbol
Implement bar option: separator_symbol
2015-12-16 07:47:00 -05:00
Drew DeVault b8f30cbae4 Merge pull request #339 from mikkeloscar/free-bar-3
Use free_flat_list for simple char* list.
2015-12-16 07:46:30 -05:00
Mikkel Oscar Lyderik 053fb09d1e Use free_flat_list for simple char* list.
No need to reimplement free_flat_list functionality.
2015-12-16 13:06:54 +01:00
Mikkel Oscar Lyderik 2fd7dd64ec Implement bar option: separator_symbol 2015-12-16 13:01:11 +01:00
Kevin Hamacher a9f6cd0e17 Make swaybar run without status_command 2015-12-16 12:17:18 +01:00
Kevin Hamacher ce8b71415f Make swaybar check command arguments 2015-12-16 11:13:12 +01:00
Drew DeVault 1825cf32bf Apply color config from swaybar 2015-12-15 22:31:35 -05:00
Drew DeVault 473ac4531f [swaybar] Get bar config via IPC 2015-12-15 22:22:22 -05:00
Drew DeVault f80e7364b1 Parse command line in swaybar 2015-12-15 22:08:09 -05:00
Drew DeVault efff8e5ba5 Merge pull request #335 from mikkeloscar/bar-font
Implement bar option: font <font>
2015-12-15 18:11:21 -05:00
Mikkel Oscar Lyderik 9316851715 Implement bar option: font <font> 2015-12-15 23:59:16 +01:00
Drew DeVault c09af4c165 Merge pull request #336 from mikkeloscar/binding-mode-indicator
Implement bar option: binding_mode_indicator <yes|no>
2015-12-15 17:50:56 -05:00
Mikkel Oscar Lyderik ded8919c69 Implement bar option: binding_mode_indicator <yes|no> 2015-12-15 23:38:17 +01:00
Drew DeVault 916ab81c02 Merge pull request #334 from MonokelPinguin/master
fix segfault when doesn't have a trailing '/'
2015-12-15 17:11:36 -05:00
Nicolas Werner 8fae31e96c fix segfault when doesn't have a trailing '/' 2015-12-15 22:56:48 +01:00
Drew DeVault 87739618ca Merge pull request #333 from mikkeloscar/free-list
Correctly free bindings list
2015-12-15 16:26:10 -05:00
Mikkel Oscar Lyderik 47f4aea9e7 Correctly free bindings list 2015-12-15 22:16:54 +01:00
Drew DeVault 614034b001 Merge pull request #332 from mikkeloscar/bar-output
Implement bar option: output <output>
2015-12-15 16:14:28 -05:00
Mikkel Oscar Lyderik f59f5d27aa Implement bar option: output <output> 2015-12-15 22:01:53 +01:00
Drew DeVault 5b16b235ad Merge pull request #329 from mikkeloscar/fix-bar-colors
Fix active_workspace_border color definition
2015-12-15 09:19:27 -05:00
Mikkel Oscar Lyderik 05e7334106 Fix active_workspace_border color definition 2015-12-15 15:08:41 +01:00
Drew DeVault 809c251df8 Merge pull request #328 from mikkeloscar/bar-height
Add bar height option (Airblader/i3)
2015-12-15 09:08:40 -05:00
Mikkel Oscar Lyderik 6834a33290 Add bar height option (Airblader/i3) 2015-12-15 15:02:13 +01:00
Drew DeVault 432e3310f6 Fix crash from ipc_json_describe_workspace
destroying workspace '10'
Error: Signal 11. Printing backtrace
Backtrace: sway(error_handler+0x2f) [0x41478f]
Backtrace: /usr/lib/libc.so.6(+0x33680) [0x7f06d9a99680]
Backtrace: /usr/lib/libc.so.6(strlen+0x2a) [0x7f06d9ae70ca]
Backtrace: /usr/lib/libc.so.6(__strdup+0xe) [0x7f06d9ae6dfe]
Backtrace: /usr/lib/libjson-c.so.2(json_object_new_string+0x39) [0x7f06da01ffe9]
Backtrace: sway(ipc_json_describe_workspace+0xd8) [0x410408]
Backtrace: sway(ipc_event_workspace+0x38) [0x410618]
Backtrace: sway(set_focused_container+0x190) [0x40daf0]
Backtrace: sway(workspace_switch+0x1a1) [0x4142b1]
Backtrace: sway() [0x4096c6]
Backtrace: sway(handle_command+0x178) [0x405eb8]
Backtrace: sway() [0x40e6ee]
Backtrace: /usr/lib/libwlc.so.0(+0x19a1b) [0x7f06da6f0a1b]
Backtrace: /usr/lib/libwlc.so.0(+0x11b0c) [0x7f06da6e8b0c]
Backtrace: /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x72) [0x7f06d9e13242]
Backtrace: /usr/lib/libwayland-server.so.0(wl_display_run+0x25) [0x7f06d9e119a5]
Backtrace: /usr/lib/libwlc.so.0(wlc_run+0xfc) [0x7f06da6fda1c]
Backtrace: sway(main+0x25f) [0x4125cf]
Backtrace: /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7f06d9a86610]
Backtrace: sway(_start+0x29) [0x405bf9]
2015-12-15 08:41:10 -05:00
Drew DeVault b76acbaf4f Implement IPC_GET_BAR_CONFIG 2015-12-15 08:25:53 -05:00