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.
8 years ago
Drew DeVault
9aed9d9359
UnGNUify the codebase
8 years ago
Drew DeVault
b2226ac655
Add client support for HiDPI
...
This adds HiDPI support to swaybar, swaybg, and swaylock.
9 years ago
Drew DeVault
61184e3208
Initial testing on hidpi clients
9 years ago
Drew DeVault
416417a54c
Reorganize includes
9 years ago
Hummer12007
06f46955c0
Fix a warning
9 years ago
Drew DeVault
3bb880bf20
Implement configurable wrapping on bar ws scroll
9 years ago
Drew DeVault
147a88260a
Fix #753
9 years ago
David Eklov
e38d6b94b8
Change workspace when mouse wheel is scrolled while hovering over the bar
9 years ago
David Eklov
250ddc66c6
Rename pointer_input::notify to indicate that is called on button clicks
9 years ago
David Eklov
a0c8799c80
Compute what workspace button is clicked
...
This commit does not do anything with this information other than logging it.
9 years ago
David Eklov
103954dd2b
Setup to receive mouse click events and log them
9 years ago
David Eklov
d3752b4140
swaybar: Make swaybar a shell surface
9 years ago
Drew DeVault
c55ae9956b
Fix another -Wunused-result
9 years ago
crondog
9c42557b66
Stop swaybar crashing without args
9 years ago
Mikkel Oscar Lyderik
af7a251806
Poll before wl_display_dispatch
9 years ago
Mikkel Oscar Lyderik
6d57f03028
Make single bar handle multiple outputs
9 years ago
Mikkel Oscar Lyderik
ed227f5664
swaybar: move headers to include/bar
9 years ago
Mikkel Oscar Lyderik
aa6ad09183
swaybar: rename state to bar
9 years ago