Daniel Eklöf
095766ca12
meson: generate man pages
2019-05-03 22:37:47 +02:00
Daniel Eklöf
e563761093
meson: install plugins
2019-05-01 22:08:15 +02:00
Daniel Eklöf
ded98baa4e
meson: don't reference xcb_stuff in wayland-only builds
2019-05-01 20:27:17 +02:00
Daniel Eklöf
3995464d49
meson: modules: make it data-driven
2019-05-01 20:24:31 +02:00
Daniel Eklöf
88a415cbbd
meson: decorations: don't set target_type
2019-05-01 20:24:17 +02:00
Daniel Eklöf
55ae279bb9
ci: switch to meson
2019-05-01 20:07:15 +02:00
Daniel Eklöf
fdb9a9bc1c
meson: initial support for building plugins as shared libraries
2019-05-01 18:21:35 +02:00
Daniel Eklöf
51e9d691e4
meson: initial build conf
...
Not that well tested yet, does not support plugins-as-modules
2019-05-01 12:39:59 +02:00
Daniel Eklöf
a1be489293
plugin: set lib = RTLD_DEFAULT for builtin plugins
2019-05-01 12:39:00 +02:00
Daniel Eklöf
0d8765da1f
cmake: doc: require 'scdoc' and 'gzip'
2019-04-29 19:21:10 +02:00
Daniel Eklöf
bed2c071e5
doc: mention that XDG_CONFIG_HOME is searched (before ~/.config)
2019-04-29 18:55:13 +02:00
Daniel Eklöf
63f7f6b3d8
main: get_config_path: look in XDG_CONFIG_HOME first
2019-04-29 18:55:08 +02:00
Daniel Eklöf
750615b35f
PKGBUILD.wayland-only: provides 'f00bar'
2019-04-29 18:50:59 +02:00
Daniel Eklöf
5ace4d77c7
yml: handle root's node being NULL
2019-04-29 18:49:44 +02:00
Daniel Eklöf
6622616ec7
yml: post-process: root's node may be NULL (empty configuration)
2019-04-29 18:47:46 +02:00
Daniel Eklöf
aba597d5cc
main: print error and exit when we fail to find a conf file
2019-04-29 18:47:21 +02:00
Daniel Eklöf
d1c958aae0
wlr-protocols: bump
2019-04-25 19:26:53 +02:00
Daniel Eklöf
bec50782b8
particle: improve error handling in on-click handler
...
* Make sure to _exit() in all forked code paths that doesn't end in a
successful exec()
* Report errno to parent process on failure so that we can log it
The second point is implemented by a) manually double forking instead
of calling daemon(), and b) using a pipe in the inner fork to be able
to wait for the child process to either succeed in its exec() call, or
write errno to the pipe on failure.
This fixes hangs and crashes when e.g. the binary we're trying to
execute doesn't exist.
2019-04-23 19:02:21 +02:00
Daniel Eklöf
853ab244a9
doc: tips for writing configuration
2019-04-22 12:51:25 +02:00
Daniel Eklöf
6b050ff457
doc: xwindow
2019-04-22 12:32:26 +02:00
Daniel Eklöf
040aa9417b
doc: xkb
2019-04-22 12:28:58 +02:00
Daniel Eklöf
70ff05b2e2
doc: removables
2019-04-22 12:22:40 +02:00
Daniel Eklöf
05b54a6141
doc: network
2019-04-22 12:07:44 +02:00
Daniel Eklöf
35bd1bb66c
doc: mpd
2019-04-22 11:58:43 +02:00
Daniel Eklöf
69dcc66b8a
doc: label
2019-04-22 11:10:09 +02:00
Daniel Eklöf
e76dbbacd6
doc: i3
2019-04-22 11:06:09 +02:00
Daniel Eklöf
f7c9a1a47e
doc: clock
2019-04-22 10:44:41 +02:00
Daniel Eklöf
4b79603129
doc: battery
2019-04-22 10:39:58 +02:00
Daniel Eklöf
52dc372a9f
doc: module: backlight: example
2019-04-21 21:08:12 +02:00
Daniel Eklöf
839de289ba
doc: module: backlight
2019-04-21 21:06:10 +02:00
Daniel Eklöf
e36d061f3f
doc: modules: 'font' and 'foreground' are common attributes
2019-04-21 21:05:54 +02:00
Daniel Eklöf
0f2d9b48b8
wip: man pages
2019-04-21 20:44:13 +02:00
Daniel Eklöf
bde34d81fb
wip: man pages
2019-04-21 20:24:21 +02:00
Daniel Eklöf
8d81091e1e
PKGBUILD: makedepend on scdoc (for man page generation)
2019-04-21 13:59:18 +02:00
Daniel Eklöf
682463f785
ci: install scdoc (for man page generation)
2019-04-21 13:58:42 +02:00
Daniel Eklöf
276ebf7141
wip: man pages
2019-04-21 13:57:55 +02:00
Daniel Eklöf
221a6809c0
wip: man pages
2019-04-21 11:49:33 +02:00
Daniel Eklöf
879d5cefb1
wayland: HiDPI: initial support for HiDPI displays
...
We do it differently from everybody else...
A traditional HiDPI implementation typically scales up
everything. I.e. if the user wants a 1px border, it's scaled up to
2px. The wayland server typically presents an output width/height that
has been scaled *down*.
This is all a bit backwards, but perhaps was the best choice to make
legacy applications at least work.
f00bar on the other hand, wants to give the user absolute
control. Thus, we don't scale up at all. If the user wants a 25px bar
height, that's what he gets.
This does mean however, that we need to scale *down* the surface size
since it's in logical pixels, not physical.
So we scale *down* the surface size (which then gets scaled back up by
the wayland server), and then render everything *on* that surface
without any scaling.
2019-04-15 11:08:38 +02:00
Daniel Eklöf
89d9f15f59
PKGBUILD: alternative PKGBIULD that configures f00bar for wayland only
2019-03-31 14:45:19 +02:00
Daniel Eklöf
a8370d08d5
PKGBUILD: f00bar is both X11 and Wayland compatible
2019-03-31 14:44:13 +02:00
Daniel Eklöf
902245da7a
PKGBUILD: i3-wm is no longer a dependency
2019-03-31 14:23:47 +02:00
Daniel Eklöf
aac2a81c2b
ci: i3wm-dev shouldn't be needed anymore; we use our own i3/ipc.h
2019-03-31 12:10:26 +02:00
Daniel Eklöf
7dc5694965
module/i3: use our own copy of i3/ipc.h
...
The main advantage is when targeting sway/wayland instead of i3/x11;
sway doesn't package ipc.h. There *is* an ipc.h in the sway sources,
but it doesn't define e.g the header format, and has different names
for the constants.
2019-03-31 12:08:44 +02:00
Daniel Eklöf
065c40a9e6
ci: looks like i3wm packages has been split up into i3wm and i3wm-dev
2019-03-31 12:00:10 +02:00
Daniel Eklöf
0aee7befd8
bar/wayland: better name for SHM backing memfd
2019-03-30 22:24:13 +01:00
Daniel Eklöf
fa586b9ac1
wayland: depend on xdg-output for output size/positioning information
2019-03-14 19:41:06 +01:00
Daniel Eklöf
2123956b14
particle: refactor command line tokenization
2019-03-07 21:31:30 +01:00
Daniel Eklöf
67e12e8d1e
bump wlr-protocols
2019-03-06 20:17:03 +01:00
Daniel Eklöf
6030ef5298
bar/wayland: use cairo_format_stride_for_width() to calculate stride
2019-03-03 12:56:13 +01:00
Daniel Eklöf
cf680573c2
particle/string: improve font centering
...
* Use ascent+descent instead of 'height'
* Center around 'ascent', except when 'descent' is negative
2019-03-01 17:55:05 +01:00