Commit Graph
127 Commits
Author SHA1 Message Date
o9000 14c3824632 Launcher: Add support for Terminal=true 2017-09-02 10:53:20 +02:00
o9000 eb93af3622 preprent "tint2:" to all logging messages 2017-09-01 18:23:46 +02:00
o9000 b7691afb8d Print logging output consistently to stderr 2017-09-01 18:11:35 +02:00
o9000 8e50c20c9d Reinitialize timers correctly when created from their own callbacks 2017-08-21 14:26:20 +02:00
o9000 cd33e5b274 Battery: better Unknown state handling 2017-06-22 19:03:05 +02:00
o9000 201ea843a0 Battery: new config option battery_full_cmd (fixes issue #585) 2017-06-20 20:38:26 +02:00
o9000 ea0e52c5a2 Battery format fixes 2017-06-20 18:58:22 +02:00
o9000 b5578ff5bc battery: Do not redefine strncat with different semantics 2017-06-20 16:18:28 +02:00
o9000 f9ad3cb029 Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) 2017-06-20 13:15:41 +02:00
o9000 30429b88b3 Merge battery format from https://gitlab.com/berkley4/tint2 (issue #229) 2017-06-20 12:36:04 +02:00
o9000 948bf10bad Refactor text rendering 2017-06-05 16:12:51 +02:00
o9000 067234e9fb Unify code used to execute external programs 2017-04-29 13:42:37 +02:00
o9000 701b57e113 Open current tint2 config automatically when started from tint2 2017-04-22 19:07:49 +02:00
o9000 affac4cfa6 Changed indentation everywhere 2017-04-13 14:07:23 +02:00
o9000 d7f294d7c2 Refactor panel refresh; new debug option debug_frames 2017-03-04 12:25:10 +01:00
o9000 fca752849b Battery: fix issue #616 2016-12-28 19:13:54 +01:00
o9000 1d15c41c1b Fix resizing logic (taskbar_distribute_size was broken, resizing triggered unnecessary redraws) 2016-10-09 16:33:33 +02:00
o9000 61a80b996f Add option to shrink panel (fixes issue #333) 2016-10-08 14:45:00 +02:00
o9000 a5434a362b Gradients: release memory 2016-10-04 17:57:03 +02:00
o9000 b4c2b3e6af Gradients: mostly done 2016-10-03 20:25:35 +02:00
o9000 fc56e48781 Add option to debug geometry (set env var DEBUG_GEOMETRY) (issue #583) 2016-06-04 13:53:22 +02:00
o9000 ed802d7602 Compute layouts correctly with partial borders (issue #580) 2016-05-21 15:14:57 +02:00
o9000 fea91746a4 Battery: do not show negative durations when the sensors return garbage 2016-04-23 11:54:38 +02:00
o9000 b023229600 Battery: do not sample too often if the battery level changes slowly (and there is no support for reading current/power) 2016-03-26 13:36:49 +01:00
o9000 1edaf21bde Add area.name, useful for debugging 2016-03-25 11:13:05 +01:00
o9000 7b6ce97940 Cleanup whitespace 2016-03-24 20:45:17 +01:00
o9000 0a77293f7d Mouse effects: highlight clickable areas even when the mouse is on the panel border 2016-02-27 13:41:36 +01:00
o9000 995a257b2c Use standard macro to identify Linux (fixes build on powerpc) 2016-02-21 19:58:30 +01:00
o9000 ec7e9e18ad Move terminal color reset code to the same line (issue #545) 2016-01-24 20:08:52 +01:00
o9000 a6da0186e0 Cache pixmaps for mouse effects to improve performance 2016-01-01 04:57:08 +01:00
o9000 a38b90dbab Fix battery compilation for DragonFly BSD 2015-12-31 16:45:08 +01:00
o9000 3790723483 Code cleanup 2015-12-13 11:39:12 +01:00
o9000 9a85f7f2c5 Use default desktop font (Gtk/FontName from XSettings) when the font is not specified in the config file 2015-12-12 15:14:42 +01:00
o9000 17f94205b4 Execplugin: add pango markup option 2015-12-05 11:42:07 +01:00
o9000 33645f9b5a Battery: refactoring 2015-11-23 16:12:42 +01:00
o9000 8df91bd475 Battery: Only redraw when needed, not after each tick 2015-11-23 16:12:17 +01:00
o9000 5c474f4256 Fix battery showing/hiding (issue #531) 2015-11-23 12:05:07 +01:00
o9000 4a6937826c Cleanup indentation with clang-format and changed a few variable names 2015-11-20 23:28:37 +01:00
o9000 c0e62e2e79 Cleanup: area.h 2015-11-18 21:57:10 +01:00
o9000 732b9d3910 Mouse pressed effect + some fixes for mouse over 2015-11-04 12:19:23 +01:00
o9000 294fdee57f Mouse over effects 2015-11-04 01:32:13 +01:00
o9000 b52f193804 Fix lost settings on battery plug/unplug 2015-10-18 17:28:58 +02:00
o9000 23ce5df057 Refactored text size computation (missed a change for the battery) 2015-10-18 17:04:21 +02:00
o9000 985c557dcd Refactored text size computation 2015-10-18 16:51:08 +02:00
o9000 005e5a49c0 Battery: minor code style change 2015-09-12 12:23:50 +02:00
o9000 85b3b8a749 Battery: fix comment in estimate_power_usage 2015-09-12 12:22:32 +02:00
o9000 42d1ba2b20 Battery: prevent division by zero 2015-09-12 12:21:31 +02:00
o9000 b887d50409 Merge branch 'sre/support-missing-power-usage-information' 2015-09-12 12:17:25 +02:00
o9000 66b38cc7d6 Initialize ac_connected_cmd and ac_disconnected_cmd 2015-09-12 11:18:21 +02:00
Sebastian Reichel 89f26595b6 support missing power usage data
Some notebooks do not provide power usage data. This code tries
to estimate the current power usage by measuring the battery level
difference in a specific time interval.
2015-09-12 04:34:32 +02:00