Yury Krivopalov
8f4bc0a374
swaybar: Group child processes for signalling
...
Fixes child proccess killing, when status_command is a complex command
like "i3status | wrapper.sh".
Set the process group id of the child process by calling `setpgid` after
forking and before calling `exec`.
The process group ID will be set to the process ID of the forked
process. Processes spawned by this child process will also have this
group ID.
Send signals to the process group with `killpg`. This will send the
signal to all of the process group.
2017-06-12 23:12:31 +03:00
Drew DeVault
9aed9d9359
UnGNUify the codebase
2017-03-10 23:41:24 -05:00
Drew DeVault
b2226ac655
Add client support for HiDPI
...
This adds HiDPI support to swaybar, swaybg, and swaylock.
2016-09-05 11:36:48 -04:00
Drew DeVault
61184e3208
Initial testing on hidpi clients
2016-09-05 10:32:21 -04:00
Drew DeVault
416417a54c
Reorganize includes
2016-09-01 08:18:37 -04:00
Hummer12007
06f46955c0
Fix a warning
2016-07-18 00:57:49 +03:00
Drew DeVault
3bb880bf20
Implement configurable wrapping on bar ws scroll
2016-07-17 11:26:38 -04:00
Drew DeVault
147a88260a
Fix #753
2016-07-16 09:09:22 -04:00
David Eklov
e38d6b94b8
Change workspace when mouse wheel is scrolled while hovering over the bar
2016-07-15 19:14:31 -05:00
David Eklov
250ddc66c6
Rename pointer_input::notify to indicate that is called on button clicks
2016-07-15 19:14:31 -05:00
David Eklov
a0c8799c80
Compute what workspace button is clicked
...
This commit does not do anything with this information other than logging it.
2016-07-14 17:18:01 -05:00
David Eklov
103954dd2b
Setup to receive mouse click events and log them
2016-07-14 17:18:01 -05:00
David Eklov
d3752b4140
swaybar: Make swaybar a shell surface
2016-07-04 21:59:47 -05:00
Drew DeVault
c55ae9956b
Fix another -Wunused-result
2016-04-29 11:04:21 -04:00
crondog
9c42557b66
Stop swaybar crashing without args
2016-03-31 20:56:14 +11:00
Mikkel Oscar Lyderik
af7a251806
Poll before wl_display_dispatch
2016-02-27 22:12:35 +01:00
Mikkel Oscar Lyderik
6d57f03028
Make single bar handle multiple outputs
2016-02-27 22:12:35 +01:00
Mikkel Oscar Lyderik
ed227f5664
swaybar: move headers to include/bar
2016-01-24 15:55:58 +01:00
Mikkel Oscar Lyderik
aa6ad09183
swaybar: rename state to bar
2016-01-24 14:22:19 +01:00