S. Christoffer Eliesen
6ace37d0b1
config: load_swaybars: Fix name comparison.
9 years ago
Drew DeVault
3777c8993b
Merge pull request #366 from mikkeloscar/fix-swaybar-high-cpu
...
swaybar: use select instead of busyloop
9 years ago
Mikkel Oscar Lyderik
bc9b93f597
swaybar: use select instead of busyloop
...
Use of busyloop caused high cpu usage for sway because swaybar had to be
redrawn all the time. By using select instead the bar only has to be
redrawn when the status_command changes (i.e. every second) or when the
workspaces are updated.
Fix #345
9 years ago
Drew DeVault
616ea27e19
Merge pull request #364 from cyberhuman/master
...
Update readme dependency list and build instructions
9 years ago
Raman Varabets
bb4339f62e
Update readme dependency list
9 years ago
Drew DeVault
155fb7a221
Merge pull request #362 from crondog/master
...
swaybar: use position from config
9 years ago
crondog
c8555f5813
swaybar: use position from config
9 years ago
Drew DeVault
859f2fea0c
Just bail if ws_json is fucked up
9 years ago
Drew DeVault
de2f3b393a
Wow that was stupid
9 years ago
Drew DeVault
d1e031025d
I'm still getting crashes without this line
9 years ago
Drew DeVault
3282163f64
Implement compositor support for swaylock
...
This makes swaylock more or less work.
9 years ago
Drew DeVault
eefc93db43
Fix lock extension setup in compositor
9 years ago
Drew DeVault
253efad437
Merge pull request #361 from mikkeloscar/i3bar-command
...
Add support for running swaybar_command
9 years ago
Mikkel Oscar Lyderik
207678e809
Add support for running swaybar_command
9 years ago
Drew DeVault
7647762bab
Fix default workspace name generation
...
This fixes the issue where workspace 10 ends up being the default.
9 years ago
Drew DeVault
2ab4e5676e
Merge pull request #360 from sce/fix_arrange_windows
...
Fix arrange windows
9 years ago
Drew DeVault
f62502e78d
Drop sway-xorg.desktop
9 years ago
Drew DeVault
b9f14cee41
Merge pull request #359 from mikkeloscar/i3bar-command
...
Add bar option: swaybar_command <command>
9 years ago
Mikkel Oscar Lyderik
9d7f1afdfb
Add bar option: swaybar_command <command>
9 years ago
Drew DeVault
6555aad7f9
Merge pull request #358 from mikkeloscar/reload-swaybg-swaybar
...
Reload swaybar/swaybg on config reload.
9 years ago
S. Christoffer Eliesen
f0b3ee6d84
layout: arrange_windows: Partially fix swaybar irregularties.
9 years ago
S. Christoffer Eliesen
0ad5059b6f
layout: arrange_windows: Fix/better debug output.
9 years ago
Mikkel Oscar Lyderik
90ff36cab8
Terminate children when freeing output container
9 years ago
Mikkel Oscar Lyderik
ede27eabc5
Reload swaybar/swaybg on config reload.
...
This works by tracking the pids of the child processes in the related
output container and terminating the processes and spawning new ones on
a config reload.
Should solve: #347
9 years ago
Drew DeVault
73c8a48417
Merge pull request #357 from sce/fix_swaybar_crashes
...
swaybar: ipc_update_ws: Fix memory corruption.
9 years ago
S. Christoffer Eliesen
de219f6bec
swaybar: ipc_update_ws: Fix memory corruption.
...
json_object_object_get_ex does not require json_object_put according to
docs, this should fix the random crashes.
9 years ago
Drew DeVault
a116eafaa4
Fix possible segfault in swaybar
9 years ago
Drew DeVault
7558a274fa
Add shims for swaylock on compositor
9 years ago
Drew DeVault
7f7be26cfe
Merge pull request #356 from sce/output_vs_workspace_size
...
layout: Keep output at the correct size, workspace can be smaller.
9 years ago
S. Christoffer Eliesen
ed730db11b
layout: Keep output at the correct size, workspace can be smaller.
...
If the output is not at the correct size then that info must be queried
from wlc. The output size is used by e.g. seamless mouse to detect
output edges.
With this patch the output size is now correct and the workspace size is
adjusted according to any panels.
Without this patch seamless mouse would fail to detect outputs
above/below each other if there was a panel in between because the
output would offically end where the panel started, not at the actual
screen edge.
9 years ago
Drew DeVault
8033eb4d6a
Merge pull request #355 from sce/fix_moving_last_ws
...
focus: Fix moving last workspace.
9 years ago
Drew DeVault
62649a56c5
Merge pull request #354 from sce/fix_swaybar_for_fedora
...
swaybar: Remove stropts.h, fixes build for fedora.
9 years ago
S. Christoffer Eliesen
18a7afa1b3
focus: Fix moving last workspace.
...
If there's only one workspace on an output and it's moved to a different
output then active workspace will be NULL.
9 years ago
S. Christoffer Eliesen
8a6e05d7a1
swaybar: Remove stropts.h, fixes build for fedora.
...
Turns out that fedora killed off stropts.h some time ago [1] and
removing it seems to work just fine. (Tested on Fedora 23)
[1] https://bugzilla.redhat.com/show_bug.cgi?id=439403
9 years ago
Drew DeVault
5f9909c9dd
Merge pull request #353 from mikkeloscar/swaybar-close-statuscmd
...
swaybar: terminate status_command process
9 years ago
Mikkel Oscar Lyderik
529ee83ef6
swaybar: terminate status_command process
...
Fix #346
Send SIGTERM to the `status_command` process before swaybar exits.
9 years ago
Drew DeVault
f994f00d00
Merge pull request #352 from progandy/workspace-numbers
...
Workspace numbers
9 years ago
progandy
76c520a04b
sway: insert numbered workspaces in order
...
fixes #308
Ordered by number ascending, with insert before same numbers.
Workspaces without numbers are appended at the end of the list.
Example order:
1 2:named 3:the_second 3:the_first 9 FIRST_NAME SECOND_NAME ...
9 years ago
progandy
8f1ac1ef2c
sway: enable workspace selection by number
9 years ago
Drew DeVault
89341c0c70
Merge pull request #351 from mikkeloscar/swaygrab-default-file
...
swaygrab: add default output filename.
9 years ago
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.
9 years ago
Drew DeVault
b656297d4f
Merge pull request #350 from mikkeloscar/swaygrab-auto-output
...
swaygrab: update man page
9 years ago
Mikkel Oscar Lyderik
64ccd63f13
swaygrab: update man page
9 years ago
Drew DeVault
ef44b3cf59
Merge pull request #349 from mikkeloscar/swaygrab-auto-output
...
swaygrab: make focused output default
9 years ago
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.
9 years ago
Drew DeVault
101a14faf8
[swaylock] Stupid implementation of password entry
9 years ago
Drew DeVault
9c141f0bf1
Implement PAM password verification in swaylock
9 years ago
Drew DeVault
d91185d67b
Fix null dereference in swaybar
9 years ago
Drew DeVault
7b8f02146f
Add PAM configuration for swaylock
9 years ago
Drew DeVault
3a829362f2
Merge pull request #348 from mikkeloscar/bar-segv
...
swaybar: Check that registry is set before teardown
9 years ago