Nikolas Garofil
ce5a64d08a
Removed all code depending on MIXER_IS_ALSA
...
Reasons:
-As far as i know, all systems can use the non-MIXER_IS_ALSA way to get the values
-This code shows wrong mixer values
-You can't define MIXER_IS_ALSA with the current cmake configuration
-In the current state this code is incorrect c++ and does not compile (altough it's
probably correct c, i didn't check that)
The 3 last reasons can be fixed, but i'm not in favor of doing that because of the 1st reason
2010-04-12 16:55:03 +02:00
Nikolas Garofil
96ec637af9
Bugfix: mixerbar showed wrong values
2010-04-12 13:37:49 +02:00
Nikolas Garofil
1de13eb728
update docs
2010-04-12 12:48:02 +02:00
Nikolas Garofil
a6b43da875
Bugfix: ac-adapter is sometimes called ADP1 in sysfs instead of AC
2010-04-12 12:33:24 +02:00
Nikolas Garofil
15326c502c
Bugfix: battery_bar should also work without argument
2010-04-11 19:13:14 +02:00
Nikolas Garofil
34f3547c0d
Bugfix: When the first line behind TEXT was a comment, the start of the second line wasn't parsed
2010-04-10 20:11:20 +02:00
Pavel Labath
939985042a
Remove a redundant copy of arg[cv]
2010-03-19 20:33:49 +01:00
Pavel Labath
d3723e727c
Fix a leak in mpd.cc (refcount fail)
2010-03-18 21:31:18 +01:00
Pavel Labath
8c30957671
fix "conky's $mpd_* don't update", sf.net #2970555
2010-03-18 21:26:10 +01:00
Pavel Labath
4b38666777
Fix a couple of problems when compiling without OWN_WINDOW
2010-03-14 22:26:29 +01:00
Cesare Tirabassi
cc71dea079
Fix doc re. mixer names
...
(cherry picked from commit 1fe99bc578
)
2010-03-13 19:30:58 +01:00
Pavel Labath
5e13dce11c
Simplify border width expressions by common subexpression elimination
2010-03-12 19:27:07 +01:00
Pavel Labath
405a175366
add vi modeline
2010-03-12 19:05:59 +01:00
Pavel Labath
88064ef8db
set current_text_color if needed
2010-03-12 19:05:01 +01:00
Pavel Labath
0584d423e6
make default_{shade_,outline_,}color lua settings
2010-03-11 12:08:55 +01:00
Pavel Labath
ac8d4385eb
Make colorN a lua setting
2010-03-11 11:31:10 +01:00
Pavel Labath
68272383fa
make conversion functions inline
2010-03-10 21:18:03 +01:00
Pavel Labath
b1a871b9b9
reorder things a bit, make background_colour setting check the value for validity
2010-03-10 21:02:13 +01:00
Pavel Labath
c41a507e62
Initialize X when out_to_x is set (using the infractructure from previous commit)
2010-03-10 20:01:26 +01:00
Pavel Labath
ba79c58f37
Change setting setter call order, add cleanup function
...
Call setting setters in the order in which they were registered.
Add a cleanup function, called in the reverse registration order.
2010-03-10 19:33:45 +01:00
Nikolas Garofil
7264b97e7a
Add missing header after commit d93dc72e6dbaaa254eaf7ccf0b014d6af1bb45ea;hpb=0336b5d67daf0b03868c4e594a0eca15a4aecd00
2010-03-08 18:13:55 +01:00
Pavel Labath
1d20229d74
make uppercase a lua setting
2010-03-07 13:46:58 +01:00
Pavel Labath
9d8e89a119
make format_human_readable a lua setting
2010-03-07 13:44:33 +01:00
Pavel Labath
06bf26b757
make short_units a lua setting
2010-03-07 13:36:40 +01:00
Pavel Labath
aa95dfdd5e
make top_cpu_separate a lua setting
2010-03-07 13:33:48 +01:00
Pavel Labath
357a505dc4
make no_buffers a lua setting
2010-03-07 13:20:16 +01:00
Pavel Labath
d6ff7b7315
make use_spacer a lua setting
2010-03-05 21:05:05 +01:00
Pavel Labath
964b8eaf28
make disable_auto_reload a lua setting
2010-03-05 21:00:25 +01:00
Pavel Labath
667b0d1d8c
make extra_newline a lua setting
2010-03-05 20:58:39 +01:00
Pavel Labath
48346c8325
make times_in_seconds a lua setting
2010-03-05 14:20:04 +01:00
Pavel Labath
b713536dad
make draw_shades/outline lua settings
2010-03-05 14:10:47 +01:00
Pavel Labath
22931c2c67
make draw_(graph_)borders lua settings
2010-03-05 14:06:15 +01:00
Pavel Labath
147d16e763
make show_graph_scale/range lua settings
...
PS: at some point a would like to make these per-graph settings, instead of global ones
2010-03-05 13:37:52 +01:00
Pavel Labath
021d6f98c7
make background a lua setting
2010-03-05 13:33:22 +01:00
Pavel Labath
fe9c0609cc
Make display a lua setting
2010-03-04 18:31:28 +01:00
Pavel Labath
70d53b770f
Merge branch 'master' into lua-config
...
Conflicts:
src/conky.cc
2010-03-04 18:23:46 +01:00
Pavel Labath
af02eab4b6
This appears to plug a leak.
2010-03-04 17:40:37 +01:00
Pavel Labath
d93dc72e6d
Random C++ification: to_real_path() and current_config
2010-03-04 17:40:20 +01:00
Pavel Labath
241f336f0f
Merge remote branch 'origin/master' into lua-config
2010-03-02 20:33:58 +01:00
Pavel Labath
4a4172c92d
Make own_window_hints a lua setting
2010-03-02 20:30:15 +01:00
Pavel Labath
5b65fce42d
C++ version of lua::state::pushstring
2010-03-02 20:29:37 +01:00
Cesare Tirabassi
0336b5d67d
Fix sf: #2961602
...
Add missing --quiet option and optional arguments to --pause and --interval
(cherry picked from commit a9e5820a34
)
2010-03-02 20:29:36 +01:00
Pavel Labath
41ddaf9e23
refactor settings classes
...
result: easier declaration of settings, easier construction of custom setting classes, commitcount++
2010-03-02 19:29:51 +01:00
Pavel Labath
a810804a6b
make own_window_colour a lua setting
2010-02-28 15:51:01 +01:00
Pavel Labath
2ad1809f87
s/substract/subtract/
2010-02-28 14:05:28 +01:00
Pavel Labath
b8bed06cc8
C++ version of get_x11_color()
2010-02-28 12:26:18 +01:00
Pavel Labath
5c3d06346a
Use min() and max() instead of infinity() for default limits
...
because integral types do not have infinite values
2010-02-28 12:13:37 +01:00
Pavel Labath
a4a08c82b5
make own_window_argb_value a lua setting
2010-02-27 22:28:33 +01:00
Pavel Labath
f6aa8a558f
range_checking_accessors class. makes sure setting's value belongs to a specified range
2010-02-27 15:15:25 +01:00
Pavel Labath
4a5304b395
Make own_window_type a lua setting
2010-02-26 18:48:57 +01:00