Drew DeVault
e5bb08cc18
Print /proc/<pid>/maps on segfault
2016-01-28 07:57:07 -05:00
crondog
7916eb70b9
commands: move position mouse
...
Bounds checking works ok except it overlaps the bar. Just like with
normal floating. Should be fixed once swaybar is fixed.
2016-01-28 22:10:56 +11:00
Drew DeVault
a6e57dd7ac
Merge pull request #480 from crondog/swaylocktrans2
...
swaylock: Allow for transparent color values
2016-01-27 22:12:05 -05:00
crondog
73ec01d854
swaylock: Allow for transparent color values
...
There is only a slight issue. When using a transparent color the views
are arranged to make room for swaylock which we can now see. I tried removing
the arrange call but that just made it worse by putting in an opaque view on the
workspace and not making the lockoverlay color. Ill raise an issue if
this is not easily solved
2016-01-28 13:44:18 +11:00
Drew DeVault
3a4564a367
Merge pull request #479 from crondog/font
...
font: Allow adding font to the config. In prep for border titles
2016-01-27 04:55:44 -05:00
crondog
0ee5547406
font: Allow adding font to the config. In prep for border titles
...
v2: Give default font and make bar use it if no bar font
2016-01-27 20:53:31 +11:00
Drew DeVault
baa958eaf2
Remove pointer from swaylock surface
2016-01-26 18:38:05 -05:00
Drew DeVault
f1f4791a3b
Fix returning to sway after swaylock completes
2016-01-26 18:33:50 -05:00
Mikkel Oscar Lyderik
a97b325b26
Merge pull request #478 from SethBarberee/swaymsg-zsh
...
refactored to include single dash options
2016-01-26 22:25:17 +01:00
Seth Barberee
1ce1fa3d18
refactored to include single dash options
2016-01-26 15:22:17 -06:00
Drew DeVault
f1e1ba0a56
Merge pull request #476 from christophgysin/cairo_set_source_u32
...
extract cairo_set_source_u32()
2016-01-25 16:06:46 -05:00
Christoph Gysin
a5345e807e
extract cairo_set_source_u32()
2016-01-25 22:44:33 +02:00
Drew DeVault
d2af1f3395
Merge pull request #475 from christophgysin/swaylock_color
...
swaylock: implement --color
2016-01-25 15:28:38 -05:00
Christoph Gysin
42bd8c53ee
swaylock: support --color
2016-01-25 21:46:26 +02:00
Christoph Gysin
2b58c03ed5
swaylock: extract render_image
2016-01-25 21:18:53 +02:00
Drew DeVault
bbd6c5be91
Merge pull request #474 from christophgysin/swaylock_pam
...
swaylock pam fixes
2016-01-25 13:28:39 -05:00
Christoph Gysin
071e097214
swaylock: don't memset memory that has been freed
...
swaylock is randomly crashing because we write to password that has already been
freed in pam_authenticate().
2016-01-25 20:15:00 +02:00
Christoph Gysin
dab651a240
swaylock: fix pam conversation
2016-01-25 20:14:59 +02:00
Christoph Gysin
52fea93693
swaylock: add pam conversation debug output
2016-01-25 20:14:44 +02:00
Christoph Gysin
b116af629b
swaylock: remove global variable pam_reply
2016-01-25 19:43:51 +02:00
Mikkel Oscar Lyderik
123de86001
swaybar: Fix plaintext handling.
...
Fix #473
2016-01-25 15:24:12 +01:00
Mikkel Oscar Lyderik
96935f2682
Fix colors off by one
2016-01-25 01:11:33 +01:00
Drew DeVault
55ac868898
Merge pull request #471 from mikkeloscar/fix-exec-quotes
...
Add quotes to multiword arguments.
2016-01-24 18:33:06 -05:00
Mikkel Oscar Lyderik
32ae26e519
Add quotes to multiword arguments.
...
This adds quotes around multiword arguments before they are passed to
`/bin/sh -c` in an exec command.
Example:
I connect to irc like this:
exec termite -e "mosh server tmux a"
Without this patch the arguments are passed to sh as:
termite -e mosh server tmux a
When it should be:
termite -e "mosh server tmux a"
For the command to work.
2016-01-25 00:14:13 +01:00
Mikkel Oscar Lyderik
ed227f5664
swaybar: move headers to include/bar
2016-01-24 15:55:58 +01:00
Drew DeVault
4b48a8399a
Merge pull request #467 from mikkeloscar/swaybar-refactor
...
[WIP] Swaybar refactor
2016-01-24 09:46:28 -05:00
Mikkel Oscar Lyderik
a61a27c485
swaybar: cleanup CmakeLists.txt
2016-01-24 14:22:19 +01:00
Mikkel Oscar Lyderik
aa6ad09183
swaybar: rename state to bar
2016-01-24 14:22:19 +01:00
Mikkel Oscar Lyderik
c6fc0033e1
swaybar: move core functionality to state.c
2016-01-24 14:22:19 +01:00
Mikkel Oscar Lyderik
6140f9c42c
swaybar: Move swaybar_teardown to free_state
2016-01-24 14:22:19 +01:00
Mikkel Oscar Lyderik
fcc47cb3bd
swaybar: move ipc stuff to ipc.{h,c}
2016-01-24 14:22:19 +01:00
Mikkel Oscar Lyderik
a6349a2444
swaybar: feactor render, statusline
2016-01-24 14:22:19 +01:00
Mikkel Oscar Lyderik
bb986cb336
swaybar: Separate config
2016-01-24 14:22:17 +01:00
Mikkel Oscar Lyderik
c8cf3f70f9
numlen(0) == 1
2016-01-24 03:02:51 +01:00
Mikkel Oscar Lyderik
2707be7199
use log10 in numlen
2016-01-24 02:59:58 +01:00
Drew DeVault
fe35ea633a
Merge pull request #457 from mikkeloscar/move-view-fix
...
Fix rendering of view when moving to new workspace
2016-01-23 16:48:00 -05:00
Drew DeVault
ef407559e2
Add new wlc thing to views
2016-01-23 16:35:39 -05:00
Drew DeVault
a416715372
Revert "s/numlen/log10/g"
...
This reverts commit 038bb8cc7c
.
2016-01-23 16:35:32 -05:00
Drew DeVault
038bb8cc7c
s/numlen/log10/g
2016-01-23 15:51:38 -05:00
Drew DeVault
ed68571815
Merge pull request #466 from christophgysin/swaybar_usage
...
swaybar: add usage
2016-01-23 14:35:27 -05:00
Christoph Gysin
ac3f36c091
swaybar: add --help option
2016-01-23 21:32:33 +02:00
Drew DeVault
f8de29baf6
Merge pull request #464 from christophgysin/swaylock
...
swaylock: option parsing
2016-01-23 14:27:28 -05:00
Drew DeVault
78b2808c52
Merge pull request #465 from sardemff7/master
...
Some fixes in commands/assign
2016-01-23 14:26:45 -05:00
Christoph Gysin
bba72fb21a
swaybar: debug option takes no argument
2016-01-23 21:23:00 +02:00
Quentin Glidic
449617f104
commands: Fix memory allocation in assign
...
Also use the safer snprintf since we just computed the size.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-01-23 20:22:51 +01:00
Quentin Glidic
43483d8fee
commands: Fix usage of arrow in assign
...
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2016-01-23 20:22:51 +01:00
Mikkel Oscar Lyderik
06f6552eed
travis: remove wlc dep: xcb-util-wm
2016-01-23 16:40:39 +01:00
Christoph Gysin
7b25caba47
swaylock: add i3lock compatible options
2016-01-23 16:36:19 +02:00
Mikkel Oscar Lyderik
a3f809d95d
travis: don't build wlc, depend on wlc-git instead
2016-01-23 15:11:23 +01:00
Christoph Gysin
259dc25ba3
swaylock: add option parsing
2016-01-23 16:00:14 +02:00