Nathan Schulte
4fa87a0c43
format i3bar src/outputs.c w/ clang-format
2017-04-02 19:26:55 -05:00
lebenlechzer
2f0f8b16c2
i3bar: accept 'primary' for output config option
2017-03-12 21:17:12 +01:00
Michael Stapelberg
f354f53435
Ensure all *.[ch] files include config.h
...
Including config.h is necessary to get e.g. the _GNU_SOURCE define and
any other definitions that autoconf declares. Hence, config.h needs to
be included as the first header in each file.
This is done either via:
1. Including "common.h" (i3bar)
2. Including "libi3.h"
3. Including "all.h" (i3)
4. Including <config.h> directly
Also remove now-unused I3__FILE__, add copyright/license statement
where missing and switch include/all.h to #pragma once.
2016-10-23 21:09:24 +02:00
Eric Engeström
66d9c983e4
Fix spelling mistakes
2016-04-04 09:33:59 +02:00
David Simon
dc05d905c1
Optionally change i3bar color on focused output, implements #2020
2015-10-27 09:12:57 -04:00
David Simon
071f11f9b9
Use separate buffers for i3bar statusline for each workspace, track short and long renders separately, fixes #1824
2015-10-26 16:15:01 -04:00
Ingo Bürk
0750b450b2
Use sasprintf() instead of alloc'ing and strncpy() in i3bar.
...
resolves #1995
2015-10-17 22:14:48 +02:00
Ingo Bürk
410c5da7cf
Use cairo for all drawing operations in i3bar.
...
fixes #1878
2015-10-05 09:29:17 +02:00
Deiz
884214f14f
Update copyright notices and get rid of ranges
...
The script used to make these changes can be found at:
https://gist.github.com/Deiz/32322020f76d23e2bf8f
2015-04-20 17:50:21 -04:00
shdown
e8704bb33b
i3bar: spelling fixes
2015-03-23 22:56:49 +03:00
Michael Stapelberg
4c06e7a573
clang-format-3.5 **/*.h **/*.c
...
This should be the last commit that formats a big bunch of files. From
here on, whenever I merge patches, I’ll run clang-format like described
in the title.
2014-06-19 11:20:32 +02:00
Michael Stapelberg
9200094203
format **/*.c with clang-format-3.5
...
This has multiple effects:
1) The i3 codebase is now consistently formatted. clang-format uncovered
plenty of places where inconsistent code made it into our code base.
2) When writing code, you don’t need to think or worry about our coding
style. Write it in yours, then run clang-format-3.5
3) When submitting patches, we don’t need to argue about coding style.
The basic idea is that we don’t want to care about _how_ we write the
code, but _what_ it does :). The coding style that we use is defined in
the .clang-format config file and is based on the google style, but
adapted in such a way that the number of modifications to the i3 code
base is minimal.
2014-06-15 19:07:02 +02:00
Tony Crisci
13db562551
Remove yajl major version conditionals
...
Yajl version ≥ 2 is required.
fixes #1156
2014-05-04 22:52:37 +02:00
Alexander Kedrik
de3901bb29
use designated initializers for yajl_callbacks struct
2014-01-06 22:12:14 +01:00
Michael Stapelberg
2fea5ef82b
Revert "use designated initializers for yajl_callbacks struct"
...
This reverts commit 705b43294a
.
This commit broke i3bar for some users.
2014-01-05 13:05:31 +01:00
Alexander Kedrik
705b43294a
use designated initializers for yajl_callbacks struct
2014-01-04 20:46:46 +01:00
eeemsi
b9255f51f8
Use (void) instead of () for functions without args
2012-08-23 19:34:37 +02:00
Michael Stapelberg
189b27b01e
i3bar: Bugfix: Properly update the primary flag
2012-04-22 20:43:43 +02:00
Jose Pereira
9a58c1fcaa
Added option to select primary display on tray_output
2012-04-05 14:42:07 +02:00
Michael Stapelberg
726f2a1e5a
normalize file headers across **/*.{h,c}
2011-10-25 21:19:38 +01:00
Michael Stapelberg
15f021b4fc
i3bar: Implement the output option
2011-10-21 22:17:41 +01:00
Michael Stapelberg
d71db710dd
i3bar: use safewrappers from libi3
2011-10-21 19:30:46 +01:00
Michael Stapelberg
64a7017c32
i3bar: add modelines to all files
2011-10-09 14:28:20 +01:00
Michael Stapelberg
737cd10bdf
i3bar: properly handle the _XEMBED_INFO property
2011-08-24 01:18:27 +02:00
Michael Stapelberg
2046e4112f
i3bar: Correctly handle removal of tray clients
2011-08-24 01:18:27 +02:00
Michael Stapelberg
025dd68f62
i3bar: quick & dirty systray implementation
...
Works correctly only with exactly one dock client on exactly one output. Maybe
not even then. You have been warned. Proof-of-concept code ;).
2011-08-24 01:18:26 +02:00
Michael Stapelberg
dddce72bd7
little comment spelling fixes
2011-08-12 23:09:59 +02:00
Axel Wagner
8d09ed7bf5
Update changelog and copyright, bump version and more
2011-07-31 16:16:17 +02:00
Axel Wagner
b150ec1c47
Apply ugly yajl-compatibility-fix (thx sECuRE)
2011-04-28 20:23:12 +02:00
Michael Stapelberg
3de12beef6
make i3bar work with tree branch again (current_workspace is a string now)
2010-11-22 09:44:29 +01:00
Axel Wagner
920721bb93
Use DLOG/ELOG-macros, provide --verbose-option
2010-09-17 06:49:28 +02:00
Axel Wagner
60da522e13
Add licensing information
2010-08-07 18:05:16 +02:00
Axel Wagner
e7ba3183df
Correct behaviour of parsing null-values in src/outputs.c
2010-08-07 02:37:12 +02:00
Axel Wagner
cee972280d
Add comments
2010-08-07 02:10:05 +02:00
Axel Wagner
a4b1e0d01a
Modify the active-flag on parsing the output-list
2010-08-06 05:49:57 +02:00
Axel Wagner
1daa395a77
Added Unicode-Support
2010-08-06 03:32:05 +02:00
Axel Wagner
7d7867acce
Be more strict with encapsulation
...
I.e. move the xcb-event-handling into xcb.c and the
child-process-communications into newly created child.c.
Also change some includes.
2010-08-05 05:09:59 +02:00
Axel Wagner
8595d3bb48
Change the indention-style
2010-08-03 21:20:11 +02:00
Axel Wagner
43c057f19a
Migrate to queue.h
2010-07-30 03:11:54 +02:00
Axel Wagner
8a274bd279
Draw the workspace-buttons
2010-07-26 17:21:46 +02:00
Axel Wagner
fb2afacce3
Rework the IPC-Code
2010-07-23 04:43:43 +02:00
Axel Wagner
02df973564
Start tracking changes
2010-07-22 01:15:18 +02:00