Michael Stapelberg
73c6eb2d4c
use param structs everywhere for consistency
2021-11-02 21:45:31 +01:00
Jonas Große Sundrup
3451a0d9fc
Allow selective pango-markup in tztime-module ( #430 )
...
Closes #421
2020-08-31 08:30:59 +02:00
Orestis Floros
980164ccca
Fix various memory leaks
...
Fixes #362
2020-05-01 13:55:19 +02:00
Felix Buehler
7418b5bebb
use format_placeholder for time
2020-03-31 16:13:24 +02:00
Michael Stapelberg
a57cdc84e2
Switch to autotools ( #316 )
2019-01-23 08:56:40 +01:00
eplanet
1b7501b7ea
Corrections according to PR review
2018-11-15 22:27:23 +01:00
eplanet
ac6c2a7d46
Add timezone switch
2018-11-10 10:47:05 +01:00
Felix Buehler
52e9f6f63b
able to print percentage
...
its now possible to have percentage before and after a variable. except
for the date. But percentage with dates does not make much sense to me, so
i skipped it.
2018-07-13 15:03:31 +02:00
eplanet
20a701bdf0
Call tzset at each time print
2017-12-09 15:48:18 +01:00
Björn Lindström
be87c5ac38
Setting of custom locale in tztime configuration. ( #168 )
...
To be able to show my birth country's time zone in that country's locale, and my local time in my current locale.
2016-10-24 08:43:04 +02:00
Kenneth Lyons
dcd0518e25
Added support for Pango markup.
2015-12-04 10:27:18 -08:00
Ingo Bürk
0a84bcb74a
Pass the "instance" JSON property key for tztime blocks
...
fixes #10
2015-03-23 21:42:52 +01:00
Michael Stapelberg
d74e904bf4
clang-format-3.5 -i **/*.[ch], update modeline
...
From here on, we’ll use clang-format to automatically format the source.
This has worked well in i3, so we are introducing it for i3status.
2015-03-16 10:01:07 +01:00
Michael Stapelberg
8c273e54b8
use stdbool instead of (int)1 and (int)0 directly
2013-02-10 17:21:46 +01:00
Michael Stapelberg
78cd0e1e01
s/\<timezone\>/tz/ in order to not shadow the timezone var from time.h
2013-02-10 17:19:56 +01:00
Emil Mikulic
2ebe1f3726
Add tztime module to support multiple different timezones.
2013-02-10 17:18:32 +01:00
Michael Stapelberg
1b3aa40485
add yajl compat code
2012-04-08 14:05:47 +02:00
Michael Stapelberg
12b1bfa9b8
Properly output JSON with libyajl
2012-03-25 22:05:00 +02:00
Michael Stapelberg
d5b4c8e368
Implement the i3bar JSON protocol
...
This hardcodes all the JSON parts. Strings are not properly escaped currently.
The best/easiest way to fix this is by actually using libyajl.
2012-02-16 23:30:54 +00:00
Michael Stapelberg
4fa8a4e0ab
get time at the beginning of the loop
2011-04-21 20:50:14 +02:00
Axel Wagner
da595ee9f7
Do proper error handling in print_time()
2010-06-19 12:44:19 +02:00
Michael Stapelberg
f947d0a446
Breaks configfiles! Major refactoring of i3status, see below
...
We finally switched to libconfuse for a configuration file format
which does not require much work for the programmer nor for the user.
Plus, it avoids the Not-Invented-Here syndrome of yet another config
file format.
Furthermore, as a consequence of providing format strings for every
"module" (ipv6, wireless, …), we directly print the output and thus
we needed to drop support for wmii. This allowed us to get rid of
quite some complexity.
Documentation about the new configuration file and options will
follow. This commit is the beginning of what will be i3status v2.0.
2009-10-11 22:14:29 +02:00