Siraaj Khandkar [Tue, 10 Mar 2020 07:18:01 +0000 (03:18 -0400)]
Add missing return from main
Siraaj Khandkar [Tue, 10 Mar 2020 07:14:09 +0000 (03:14 -0400)]
Rename "file" to "fifo"
Siraaj Khandkar [Mon, 9 Mar 2020 15:48:28 +0000 (11:48 -0400)]
Sort includes according to NetBSD KNF
Siraaj Khandkar [Mon, 9 Mar 2020 09:25:00 +0000 (05:25 -0400)]
Initialize some of uninitialized variables
Siraaj Khandkar [Mon, 9 Mar 2020 09:08:32 +0000 (05:08 -0400)]
Enable extra warnings and remove unused variable
Siraaj Khandkar [Mon, 9 Mar 2020 09:01:19 +0000 (05:01 -0400)]
Optionally set X root window name
Siraaj Khandkar [Sun, 8 Mar 2020 22:07:30 +0000 (18:07 -0400)]
Add TODOs
Siraaj Khandkar [Sun, 8 Mar 2020 20:47:29 +0000 (16:47 -0400)]
Read FIFO up to LF or width
Siraaj Khandkar [Sun, 8 Mar 2020 01:18:00 +0000 (20:18 -0500)]
Check that file exists and that it is a FIFO
apparently lstat() is not compliant with ANSI, so we cannot use C99.
Could use gnu99, but that would make it awfully too specific,
me thinks...
Siraaj Khandkar [Sun, 8 Mar 2020 00:44:45 +0000 (19:44 -0500)]
Build with C99
Siraaj Khandkar [Sun, 8 Mar 2020 00:44:10 +0000 (19:44 -0500)]
Switch from regular files to fifos
Siraaj Khandkar [Thu, 5 Mar 2020 17:06:59 +0000 (12:06 -0500)]
Switch from malloc to calloc
Siraaj Khandkar [Thu, 5 Mar 2020 01:56:22 +0000 (20:56 -0500)]
Overhaul and read/print all given files
Siraaj Khandkar [Wed, 4 Mar 2020 22:30:00 +0000 (17:30 -0500)]
Use thermal zone x86_pkg_temp by default
Siraaj Khandkar [Wed, 4 Mar 2020 22:25:31 +0000 (17:25 -0500)]
Ease device switching in sanity_check
Siraaj Khandkar [Fri, 28 Jun 2019 21:12:02 +0000 (17:12 -0400)]
Add IPC ideas
Siraaj Khandkar [Sat, 25 May 2019 00:44:44 +0000 (20:44 -0400)]
Begin work on X5
parsing CLI params
Siraaj Khandkar [Thu, 11 Apr 2019 00:08:28 +0000 (20:08 -0400)]
Update main screenshot
Siraaj Khandkar [Thu, 28 Mar 2019 10:55:01 +0000 (06:55 -0400)]
Just use default pulseaudio sink for volume
Siraaj Khandkar [Thu, 28 Mar 2019 00:45:19 +0000 (20:45 -0400)]
Use smaller mpd state symbols for pause and stop
Siraaj Khandkar [Mon, 25 Mar 2019 23:23:59 +0000 (19:23 -0400)]
Tweak sanity_check presentation
Siraaj Khandkar [Mon, 25 Mar 2019 18:30:29 +0000 (14:30 -0400)]
Add an alternative energy sensor, via poll
Siraaj Khandkar [Mon, 25 Mar 2019 18:15:21 +0000 (14:15 -0400)]
Add volume sensor
Siraaj Khandkar [Fri, 22 Mar 2019 20:31:26 +0000 (16:31 -0400)]
Kill more thoroughly
Siraaj Khandkar [Fri, 22 Mar 2019 20:11:31 +0000 (16:11 -0400)]
Use daemon flag instead of bg operator
Siraaj Khandkar [Fri, 22 Mar 2019 20:08:42 +0000 (16:08 -0400)]
Start all test sensors with explicit parameters
Siraaj Khandkar [Fri, 22 Mar 2019 20:06:07 +0000 (16:06 -0400)]
Add disk sensor
Siraaj Khandkar [Fri, 22 Mar 2019 19:47:07 +0000 (15:47 -0400)]
Add temperature sensor
Siraaj Khandkar [Fri, 22 Mar 2019 19:45:44 +0000 (15:45 -0400)]
Allow early opts break, so per-sensor can be defined
Siraaj Khandkar [Fri, 22 Mar 2019 18:55:10 +0000 (14:55 -0400)]
Add load average sensor
Siraaj Khandkar [Fri, 22 Mar 2019 18:48:00 +0000 (14:48 -0400)]
Add memory sensor
Siraaj Khandkar [Fri, 22 Mar 2019 18:05:05 +0000 (14:05 -0400)]
Differentiate start functions rather than setting a variable
Siraaj Khandkar [Tue, 19 Mar 2019 12:46:06 +0000 (08:46 -0400)]
Port connection-counting x4 bluetooth sensor to x2
Siraaj Khandkar [Sun, 10 Mar 2019 04:44:26 +0000 (23:44 -0500)]
Fix wifi link status
Siraaj Khandkar [Wed, 6 Mar 2019 19:43:22 +0000 (14:43 -0500)]
Ignore /sys/classa/net/$iface/carrier access errors
which begin when interface is disabled.
Siraaj Khandkar [Wed, 6 Mar 2019 18:26:25 +0000 (13:26 -0500)]
Fix coercion-related ambiguities
Siraaj Khandkar [Wed, 6 Mar 2019 18:03:13 +0000 (13:03 -0500)]
Fix shown as percentage when no link present
Siraaj Khandkar [Wed, 6 Mar 2019 13:55:50 +0000 (08:55 -0500)]
Fix field separator
Siraaj Khandkar [Wed, 6 Mar 2019 13:55:33 +0000 (08:55 -0500)]
Fix typo
Siraaj Khandkar [Wed, 6 Mar 2019 11:23:19 +0000 (06:23 -0500)]
Add method for wifi link strength only
Siraaj Khandkar [Wed, 6 Mar 2019 11:04:22 +0000 (06:04 -0500)]
Reimplement net status as checking carrier rather than addr
Siraaj Khandkar [Wed, 6 Mar 2019 02:06:55 +0000 (21:06 -0500)]
Override empty net addr with default place holder
Siraaj Khandkar [Wed, 6 Mar 2019 01:56:59 +0000 (20:56 -0500)]
Include net_addr in sanity_check
Siraaj Khandkar [Wed, 6 Mar 2019 01:56:19 +0000 (20:56 -0500)]
Do not override default value in net_addr method implementation
Siraaj Khandkar [Wed, 6 Mar 2019 01:50:50 +0000 (20:50 -0500)]
Implement a simplified net interface status method
Siraaj Khandkar [Wed, 6 Mar 2019 01:49:59 +0000 (20:49 -0500)]
Simplify wifi negative status
Siraaj Khandkar [Tue, 5 Mar 2019 13:53:10 +0000 (08:53 -0500)]
Do not show mpd song
Siraaj Khandkar [Tue, 5 Mar 2019 13:32:36 +0000 (08:32 -0500)]
Show only left speaker volume
Siraaj Khandkar [Tue, 5 Mar 2019 13:28:14 +0000 (08:28 -0500)]
Shorten volume variable names
Siraaj Khandkar [Thu, 14 Feb 2019 21:07:59 +0000 (16:07 -0500)]
Add bluetooth sensor
Siraaj Khandkar [Thu, 14 Feb 2019 20:31:40 +0000 (15:31 -0500)]
Break up into procedures
Siraaj Khandkar [Thu, 14 Feb 2019 20:26:46 +0000 (15:26 -0500)]
Run sanity_check sensors as children and pre-kill all existing
Siraaj Khandkar [Mon, 11 Feb 2019 00:34:32 +0000 (19:34 -0500)]
Combine mpd status and use symbolic state indicators
Siraaj Khandkar [Fri, 8 Feb 2019 22:36:58 +0000 (17:36 -0500)]
Begin X4 prototype
Siraaj Khandkar [Fri, 8 Feb 2019 03:57:39 +0000 (22:57 -0500)]
Hide curl progress meter, but still show errors
Siraaj Khandkar [Fri, 8 Feb 2019 03:57:15 +0000 (22:57 -0500)]
Add rebuild recipe
Siraaj Khandkar [Fri, 8 Feb 2019 03:47:41 +0000 (22:47 -0500)]
Add uninstall and reinstall recipes
Siraaj Khandkar [Fri, 8 Feb 2019 03:33:00 +0000 (22:33 -0500)]
Use newer mpd API
Siraaj Khandkar [Thu, 7 Feb 2019 22:00:21 +0000 (17:00 -0500)]
Replace `metar` with custom parser of NOAA XML API
Siraaj Khandkar [Thu, 7 Feb 2019 21:15:11 +0000 (16:15 -0500)]
Simplify bluetoothctl command
Siraaj Khandkar [Tue, 5 Feb 2019 01:16:56 +0000 (20:16 -0500)]
Fix close mpd connection
Siraaj Khandkar [Sun, 3 Feb 2019 23:41:20 +0000 (18:41 -0500)]
Improve overview and experiment naming
Siraaj Khandkar [Fri, 18 Jan 2019 14:08:23 +0000 (09:08 -0500)]
Note the meaning of version numbers
Siraaj Khandkar [Fri, 18 Jan 2019 00:05:09 +0000 (19:05 -0500)]
Split and update README
Siraaj Khandkar [Thu, 17 Jan 2019 23:36:09 +0000 (18:36 -0500)]
Bring back v1 from the dead
Siraaj Khandkar [Thu, 17 Jan 2019 22:13:56 +0000 (17:13 -0500)]
Separate v2 and v3 into dedicated directories
Siraaj Khandkar [Sat, 8 Dec 2018 17:53:06 +0000 (12:53 -0500)]
Index volume by alsa.device property
instead of pulseaudio sink number, which keeps changing upon
plugging/unplugging of speakers
Siraaj Khandkar [Thu, 15 Nov 2018 00:34:39 +0000 (19:34 -0500)]
Handle multiple batteries
Siraaj Khandkar [Tue, 13 Nov 2018 00:30:36 +0000 (19:30 -0500)]
Add a TODO item - track energy usage rate
Siraaj Khandkar [Tue, 13 Nov 2018 00:24:21 +0000 (19:24 -0500)]
Add issue to fix - handle multiple batteries
Siraaj Khandkar [Thu, 13 Sep 2018 12:26:06 +0000 (08:26 -0400)]
Fix incorrectly organized AWK source file
Siraaj Khandkar [Mon, 10 Sep 2018 23:09:14 +0000 (19:09 -0400)]
Do not rely on FS for msg parsing
- makes patterns easier to read (no more field addressing by number)
- allows inclusion of the whole msg lib without conflicting with existing FS
Siraaj Khandkar [Mon, 10 Sep 2018 21:42:18 +0000 (17:42 -0400)]
Remove superfluous string concatenation
Siraaj Khandkar [Mon, 10 Sep 2018 21:38:08 +0000 (17:38 -0400)]
Refactor cache dumper
Siraaj Khandkar [Sun, 9 Sep 2018 01:56:45 +0000 (21:56 -0400)]
Merge branch 'cache-dumper'
Siraaj Khandkar [Sun, 9 Sep 2018 01:54:59 +0000 (21:54 -0400)]
Clean after ocamlbuild
Siraaj Khandkar [Sun, 9 Sep 2018 01:53:23 +0000 (21:53 -0400)]
Remove executable permission from AWK source files
Siraaj Khandkar [Fri, 7 Sep 2018 00:45:22 +0000 (20:45 -0400)]
Move remaining code out of bin
and reserve it for built files from now on
Siraaj Khandkar [Mon, 3 Sep 2018 19:47:12 +0000 (15:47 -0400)]
Implement a basic cache dumper
Siraaj Khandkar [Wed, 5 Sep 2018 20:52:20 +0000 (16:52 -0400)]
Merge branch 'redesign-msg-format'
Siraaj Khandkar [Wed, 5 Sep 2018 20:48:23 +0000 (16:48 -0400)]
Redesign message format
- supports distributed khatus (adds node field)
- separates messages into types (data, error, alert, log)
Siraaj Khandkar [Mon, 3 Sep 2018 19:33:38 +0000 (15:33 -0400)]
Normalize alert msg
Siraaj Khandkar [Thu, 30 Aug 2018 16:52:35 +0000 (12:52 -0400)]
Update README
Siraaj Khandkar [Thu, 30 Aug 2018 14:42:43 +0000 (10:42 -0400)]
Move (most of) bar formatting to the user
Siraaj Khandkar [Wed, 29 Aug 2018 23:57:31 +0000 (19:57 -0400)]
Break out status component values from formatting
first step in giving user more fine-grained bar control
Siraaj Khandkar [Wed, 29 Aug 2018 21:47:53 +0000 (17:47 -0400)]
Fix alert to include src module in msg
Siraaj Khandkar [Wed, 29 Aug 2018 21:36:08 +0000 (17:36 -0400)]
Add build instructions
Siraaj Khandkar [Wed, 29 Aug 2018 21:33:12 +0000 (17:33 -0400)]
Move install script to make
Siraaj Khandkar [Wed, 29 Aug 2018 21:13:10 +0000 (17:13 -0400)]
Bring back src module name in messages
Siraaj Khandkar [Wed, 29 Aug 2018 18:39:53 +0000 (14:39 -0400)]
Don't complain if cleaning pre-emptively
Siraaj Khandkar [Wed, 29 Aug 2018 18:39:26 +0000 (14:39 -0400)]
Re-use AWK build recipe
Siraaj Khandkar [Wed, 29 Aug 2018 18:19:59 +0000 (14:19 -0400)]
Re-use AWK components
Siraaj Khandkar [Wed, 29 Aug 2018 15:25:22 +0000 (11:25 -0400)]
Add summary of process state meanings
Siraaj Khandkar [Wed, 29 Aug 2018 15:09:29 +0000 (11:09 -0400)]
Implement user-selected status bar components
Siraaj Khandkar [Sat, 25 Aug 2018 18:24:55 +0000 (14:24 -0400)]
Add execute-on-mount option
mainly to launch a file manager on mount, but potentially anything
Siraaj Khandkar [Sat, 25 Aug 2018 17:25:36 +0000 (13:25 -0400)]
Implement device auto-mounter
Siraaj Khandkar [Sat, 25 Aug 2018 16:46:30 +0000 (12:46 -0400)]
Add TODO - formalize message format and protocol
Siraaj Khandkar [Sat, 25 Aug 2018 16:31:19 +0000 (12:31 -0400)]
Add device-tracking idea
Siraaj Khandkar [Fri, 24 Aug 2018 00:41:58 +0000 (20:41 -0400)]
Do not process collect data we do not use
at least for now, since khatus_bar is now using a noticeable amount of CPU time
(~2-3%, up from ~0-0.7%)
Definitely need to be more-discriminate about who gets what data, instead of
forcing everyone to filter
Siraaj Khandkar [Wed, 22 Aug 2018 14:34:39 +0000 (10:34 -0400)]
Monitor process states totals
This page took 0.084929 seconds and 4 git commands to generate.