Commit Graph

68 Commits

Author SHA1 Message Date
Ingo Bürk 47562b4143 Introduce support for specifying variables from X resources. (#2286)
This patch introduces a new 'set_from_resource' config directive which
allows defining a variable by retrieving its value from the X resource
database. This avoids having to configure a color scheme in multiple
files. The directive takes an additional fallback value which is used
in case the resource cannot be found or during config validation where
no X connection is available.

Furthermore, this patch includes the following changes:
- If the same variable is defined twice, we now properly overwrite the
  value of the assignment rather than inserting two variable definitions
  with the same key.
- We now depend on xcb-util-xrm to query the resource.
- Increase the buffer size for variable / resource assignments.

fixes #2130
2016-05-08 12:55:27 +02:00
Michael Stapelberg 0d33f70ac7 debian/control: bump standards-version to 3.9.7 2016-03-06 16:16:55 +01:00
Michael Stapelberg 3ee7828460 debian/compat: bump debhelper compat level to 9 2016-03-06 16:16:53 +01:00
Michael Stapelberg ebf5941456 debian: promote suggests to recommends to install a terminal emulator
fixes #1587
2015-03-26 09:19:50 +01:00
Michael Stapelberg 1ee6bf1077 make AnyEvent::I3 dependency versioned (Thanks sur5r) 2014-08-05 11:49:16 +02:00
Michael Stapelberg 01d8d10c57 libxkbcommon 0.4.0 is required, 0.2.0 is too old (Thanks Mii)
fixes #1295
2014-06-25 17:57:48 +02:00
Michael Stapelberg 3f5a0f0024 Switch to xcb-xkb and libxkbcommon
This removes our last dependency on Xlib! :)

(Okay, an Xlib dependency still comes in through other libraries that we
 link against, but it’s not us. Our code is simpler by this change and
 uses one less connection to X11.)
2014-06-21 19:10:37 +02:00
Michael Stapelberg 2924044505 debian: bump standards-version to 3.9.5 (no changes necessary) 2014-06-15 19:37:03 +02:00
Michael Stapelberg 6fe44d8584 debian: recommend fonts-dejavu-core after we switched the default 2014-06-08 22:28:13 +02:00
Michael Stapelberg dda9a7f6e0 debian: require libyajl >= 2.0.4 (Thanks Koston) 2014-05-16 18:15:53 +02:00
Michael Stapelberg 0b8a7b2d16 debian/: add perl recommends to i3-wm for i3-save-tree(1) 2013-12-22 21:54:13 +01:00
Michael Stapelberg da20cd397c switch from libXcursor to xcb-util-cursor 2013-08-17 09:44:20 +02:00
Michael Stapelberg 6562f440c5 update debian/ packaging 2013-08-07 21:21:47 +02:00
Michael Stapelberg 140c1062b6 drop the flex/bison dependency \o/ 2012-12-25 14:20:21 +01:00
Michael Stapelberg b3d7531947 refactor both i3-nagbar starts into src/util.c
With this change, libev >= 4 is a hard dependency. It should be present
in all major linux distributions (even the latest ubuntu LTS).
2012-12-24 16:53:20 +01:00
Michael Stapelberg 5bea7cb7df docs: generate HTML from testsuite POD documentation 2012-09-10 12:03:14 +02:00
Michael Stapelberg ba8b5c480d debian: make 'i3' recommend dunst 2012-08-13 13:44:54 +02:00
Michael Stapelberg 1173740a35 debian/control: format build-depends nicely, add pango/cairo 2012-08-13 13:44:36 +02:00
Michael Stapelberg b4ef809101 debian: update changelog with new upload, add .menu file, update email, bump standards-version, fix section 2012-04-12 16:32:19 +02:00
Michael Stapelberg 41d034a6db replace the refcard with an HTML version (by SardemFF7)
This eliminates our build-depedency on latex.
2012-04-12 16:04:29 +02:00
Michael Stapelberg 061f24b247 debian: make meta-package i3 depend on the precise version of i3-wm (Thanks Merovius)
This has the advantage that apt-get install i3/sid actually does what you expect :).
2011-11-16 20:10:48 +00:00
Michael Stapelberg 4539546f48 debian: update package descriptions 2011-10-23 17:01:56 +01:00
Michael Stapelberg d8eb4f3fdc debian: use ${perl:Depends}, remove perl from build-deps, update recommends
We can drop the perl module recommends since i3-wsbar no longer ships with i3.
2011-10-23 16:53:16 +01:00
Michael Stapelberg 620b192e90 debian: raise dependency on debhelper 2011-10-23 12:02:03 +01:00
Michael Stapelberg 82c8a77e7d lower dependency on libstartup-notification, fix build-dep in debian/control 2011-10-23 12:01:22 +01:00
Michael Stapelberg ad9ffcc917 debian: update debian/control with new build-dep libstartup-notification0-dev 2011-10-10 15:54:18 +01:00
Michael Stapelberg 8f0e0dee58 debian: add libpcre3-dev as build-dependency 2011-09-10 23:56:23 +01:00
Michael Stapelberg cd9056afc7 debian: wrap debian/control correctly 2011-08-28 19:56:46 +02:00
Michael Stapelberg df076113a6 debian: s/dwm-tools/suckless-tools (Thanks sur5r) 2011-08-22 12:44:44 +02:00
Michael Stapelberg a0bb296f1b update debian packaging 2011-08-01 14:39:45 +02:00
Michael Stapelberg 7f4af2c599 debian: bump standards-version, update website 2011-07-31 22:42:39 +02:00
Michael Stapelberg 50f97b8bd7 debian: add missing τεχ build dependencies for the refcard 2011-07-24 22:57:55 +02:00
Michael Stapelberg a21155e24c update debian/ to include all documentation/bump standars version
Conflicts:

	debian/control
2011-07-23 22:32:16 +02:00
Michael Stapelberg a55396a4fc update debian packaging 2011-07-23 22:18:42 +02:00
Michael Stapelberg 015a94bd85 debian: fix build-deps for recent debian systems 2011-06-10 13:00:24 +02:00
Fernando Tarlá Cardoso Lemos 69fc6449dc libXcursor support (themed cursors). 2010-11-28 13:01:45 +01:00
Michael Stapelberg 9a9ba1b859 ipc: implement GET_WORKSPACES message type
This is the foundation to use dzen2 or similar as a complete
replacement for the internal workspaces bar.

A testcase is included, more documentation about the IPC interface
will follow.
2010-03-11 15:58:39 +01:00
Michael Stapelberg 5d4d9681a0 debian: re-require libxcb-xinerama0-dev 2010-03-10 12:36:22 +01:00
Michael Stapelberg 296a0078ad debian: require libxcb-randr0-dev instead of libxcb-xinerama0-dev 2010-03-02 18:56:57 +01:00
Michael Stapelberg a61e34d277 Add x11-utils as dependency to have xmessage(1) for the welcome message 2009-12-16 22:59:25 +01:00
Michael Stapelberg 36989b8b5d debian: set priority only for the source package, binaries will inherit 2009-11-23 21:34:21 +01:00
Michael Stapelberg 6655307951 debian: Add flex/bison to build-deps 2009-11-09 22:44:40 +01:00
Michael Stapelberg c98bf4ba8c debian: update packaging 2009-11-09 22:41:31 +01:00
Michael Stapelberg c6d1b68a9b debian: Recommend xfonts-base (necessary for misc-fixed used in default config) 2009-11-05 20:25:40 +01:00
Michael Stapelberg 8b72c8eb31 debian: Don’t depend on the exact revision of asciidoc 2009-06-29 13:43:14 +02:00
Michael Stapelberg 28c4b045d6 Merge branch 'next' (3.β is stable now) 2009-06-26 13:27:06 +02:00
Michael Stapelberg c662b33e47 debian: add recommendation for i3status 2009-06-24 21:25:53 +02:00
Michael Stapelberg 183b6d8942 debian: change Priority to extra (makes more sense, plus necessary because xcb is in extra) 2009-06-21 17:05:23 +02:00
Michael Stapelberg 553db28664 Switch to libev for the event loop to build a base for IPC stuff. Please test! 2009-06-01 20:59:40 +02:00
Michael Stapelberg 3ab4ecdb01 debian: Fix section/priority/dependencies of i3-wm-dbg (Thanks chrish) 2009-05-09 23:25:06 +02:00