Jerzi Kaminsky
c9694ee63d
Add resolve_path() to utils
8 years ago
Drew DeVault
9aed9d9359
UnGNUify the codebase
8 years ago
Calvin Lee
34e2c70abc
Feature for #1078 : Configurable swaylock colors
...
Colors are configured through the command line so that swaylock conforms
to the i3lock fork 'github.com/chrjguill/i3lock-color'. Differences from
it are that one letter options '-r' and '-s' are not implimentend because
'-s' is already used by '--scaling' in swaylock.
This commit also fixed whitespace in 'include/swaylock/swaylock.h' and
changed `parse_color` in 'common/util.h' so that it can accept colors
that do not start with a hash. This was done to keep compatability with
the i3lock fork.
8 years ago
Drew DeVault
416417a54c
Reorganize includes
8 years ago
progandy
bf4056a2c6
common: use strtoul in parse_color to avoid clamp
...
Some implementations of strtol may clamp the values to LONG_MAX instead of
wrapping around to negative values, so use strtoul instead to parse colors.
9 years ago
Zandr Martin
98aa59fdda
implement solid color rendering for swaybg
9 years ago
Zandr Martin
9ecb43ea3b
couple small fixes
9 years ago
Zandr Martin
2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin
03d79b41c7
semi-working (only non-client/server wayland apps)
9 years ago
Mikkel Oscar Lyderik
c8cf3f70f9
numlen(0) == 1
9 years ago
Mikkel Oscar Lyderik
2707be7199
use log10 in numlen
9 years ago
Drew DeVault
a416715372
Revert "s/numlen/log10/g"
...
This reverts commit 038bb8cc7c
.
9 years ago
Drew DeVault
038bb8cc7c
s/numlen/log10/g
9 years ago
Mikkel Oscar Lyderik
dffacea831
Add function for getting list of modifier names.
...
Get an array of modifier names from modifier masks.
9 years ago
Mikkel Oscar Lyderik
95e0f44c73
Move modifier name table to common/util.c
...
Lookup of modifier names is required in several places, thus it makes
sense to move it to a general place.
9 years ago
Mikkel Oscar Lyderik
cf56c41c10
Move sway/util.c to common/util.c
9 years ago