Commit Graph

335 Commits

Author SHA1 Message Date
June Tate-Gans
fa65c30c87 Ignore PKGBUILD noise 2023-10-28 13:06:55 -05:00
June Tate-Gans
f026b0d815 Fix the layout to be less insane. 2023-10-28 13:06:15 -05:00
June Tate-Gans
88af73ade3 Add in Manjaro PKGBUILD support. 2023-10-28 10:13:02 -05:00
June Tate-Gans
5dd39e4eee Make makefile more distro generic 2023-10-28 10:01:11 -05:00
June Tate-Gans
dc7986f4fd Update bitwidget font handling to match PIL changes 2023-10-28 10:00:58 -05:00
June Tate-Gans
86eb8f2e67 readme: Update the info on what this is. 2022-05-13 15:48:47 -05:00
June Tate-Gans
38384f512c bitwidgets: Import X11 misc fonts since they're PD
We really heavily depend on these fonts, so in the name of portability, it's
okayish to import them here. The license for these files is apparently the
public domain, so this should be okay.

Adjusts the fonts package to load in the fonts using importlib and some BytesIO
wizardry.
2022-05-13 15:21:25 -05:00
June Tate-Gans
206c096829 meson: Fix the project name to not be lutris 2022-05-13 15:07:45 -05:00
June Tate-Gans
aa07ee91b0 Rip out my google address. 2021-07-13 14:05:16 -05:00
June Tate-Gans
3db5dc5027 Update the appindicator icon to match others 2021-05-30 15:40:16 -05:00
June Tate-Gans
b418dafb00 icons: Fixup the G13 icons installation and usage
This actually makes the G13 icon show up everywhere, like we actually want. No
more blank icons!
2021-05-30 11:32:20 -05:00
June Tate-Gans
03fcb5452b Ensure the profiles desktop file starts profiles 2021-05-24 08:39:53 -05:00
June Tate-Gans
efd90b0700 Remove the systemd triggering from udev 2021-05-24 08:39:33 -05:00
June Tate-Gans
98f3675219 Cleanup the changelog 2021-05-23 13:28:15 -05:00
June Tate-Gans
991cc9e04d Remove an unused file. 2021-05-23 13:27:07 -05:00
June Tate-Gans
ad2f8f6c6a Fixes to make the meson build actually build. 2021-05-23 13:19:47 -05:00
June Tate-Gans
23c8cf095f Fix a syntax error. 2021-05-23 13:17:12 -05:00
June Tate-Gans
7ace3a9fd4 Ignore meson build artifacts. 2021-05-23 13:16:55 -05:00
June Tate-Gans
bd57e171dd Add a makefile so we can easily build esoteric commands 2021-05-23 13:14:48 -05:00
June Tate-Gans
e052ddd525 build: Add a meson build file to simplify creation of packages 2021-05-23 13:14:32 -05:00
June Tate-Gans
308b43ae7f Add an AUTHORS file so we can be more like upstream python apps 2021-05-23 13:14:15 -05:00
June Tate-Gans
b6a0bf9a7c g13gui: Swap to using appdirs 2021-05-23 13:14:03 -05:00
June Tate-Gans
6e5b5481b2 setup: Clean up requires and fix entry_points 2021-05-23 13:13:49 -05:00
June Tate-Gans
db00301a1b pipenv: Swap to appdirs instead of xdg 2021-05-23 13:13:37 -05:00
June Tate-Gans
a9986142b9 packaging: Add in some debian files so we can generate a package 2021-05-23 13:13:20 -05:00
June Tate-Gans
1d1c0ce63a bin: Add simple scripts to start our gui and apps 2021-05-23 13:13:05 -05:00
June Tate-Gans
a00788ac07 setup: Add in manifest files 2021-05-23 13:12:57 -05:00
June Tate-Gans
3685a73622 setup: Clean up dependencies 2021-05-23 12:18:47 -05:00
June Tate-Gans
a62a8f3a38 pipenv: Setup for pipenv development
This makes handling our dependencies a bit easier.
2021-05-23 12:07:51 -05:00
June Tate-Gans
9958ea234d pipenv: Pre-migration to pipenv things
- Use an alternative xdg module that provides functions to generate XDG-paths.
  - Fix startup routines for the main configurator.
2021-05-23 12:04:43 -05:00
June Tate-Gans
5481bbff22 setup: Clean up the classifiers, requirements, and data files
We have a bunch more info that is nearly correct, though I haven't validated
this yet. Currently exploring using pipenv instead, since that helps manage
these more effectively.
2021-05-23 11:32:25 -05:00
June Tate-Gans
802b342a1c clock: Display CPU percentage correctly
psutil.cpu_percent() actually delivers a percentage from 0 to 100. We need to
normalize that value to 0..1 to display properly.
2021-05-23 11:31:12 -05:00
June Tate-Gans
9fb8dbab4d switcher: Remove switcher from the list of applets
There's really no point to switching to the switcher when the BD key always
brings it up. It was also causing problems since we introduced switching back to
the previous applet by pressing BD while the switcher is up.
2021-05-23 11:30:18 -05:00
June Tate-Gans
c336d9c4cf applet: Rework how manager pings work
This swaps to notifying the applet internally when registration is lost after a
ping fails.
2021-05-23 11:29:14 -05:00
June Tate-Gans
298cefe9c2 applets: Rework how keys are delivered
This makes us use strings instead of numbers. This allows us to export more of
the G13's key matrix to applets, so we can include things like MR, BD, and the
rest of the keyboard matrix.

Most of this work is done in prep for the real-time macro recording
functionality that I'm attempting to hack in.
2021-05-23 11:27:20 -05:00
June Tate-Gans
f485f2cbf0 etc: Add a bunch of desktop files and an icon 2021-05-23 11:22:47 -05:00
June Tate-Gans
e1b7befb82 bitwidgets: Add a "Dialog" box to the toolkit
This allows for simple messages to be displayed on top of the screen.
2021-05-09 23:12:55 -05:00
June Tate-Gans
9d7d4fafa2 ui: Make MainWindow actually save prefs to disk on change 2021-05-09 23:12:28 -05:00
June Tate-Gans
c924aba55c bitwidgets: Make rectangles actually have variable width outlines 2021-05-09 23:11:38 -05:00
June Tate-Gans
b2cc80e404 bitwidgets: Make ListView resilient to empty models 2021-05-09 23:11:15 -05:00
June Tate-Gans
fa7a84ca3f bitwidgets: Make rectangle render unfilled outlines
Something I've wanted for a while has been the ability to draw a rectangle
anywhere on the screen without it being filled in. Hopefully this does the
trick.
2021-05-09 14:57:41 -05:00
June Tate-Gans
e51c7ca0fc
Merge pull request #22 from jtgans/clock-enhancements
clock: Add 24-hour toggle, load, ram graphs
2021-05-09 12:10:11 -07:00
June Tate-Gans
1212ce91de clock: Add 24-hour toggle, load, ram graphs
This adds a ton of new functionality to the clock widget, and exercises the
bitwidgets widgets a bit more. This adds a new button widget, called a
LabelWidget. These are pretty unsurprising -- they're just a label inside of a
button slot in the buttonbar. They do give us the ability to toggle and add
"more" glyphs in the button for more flexibility in the buttonbar.

  - Make Clock toggle between 12 and 24 hour clock modes.
  - Add CPU load and RAM load histograms.
  - Create a new button type, LabelButton.
  - Create a new widget, the Graph, which shows a histogram of values over
    time.
  - Make Button not assign values by way of accessors in the constructor.
  - Make Label actually dynamically change its bounds based upon properties.
2021-05-09 14:05:18 -05:00
June Tate-Gans
d8fa49c1ed
Merge pull request #21 from jtgans/dbus-fixes
applet: Make the AppletManager more resilient in the face of errors
2021-05-09 10:33:11 -07:00
June Tate-Gans
c934abb28b applet: Make the AppletManager more resilient in the face of errors
This wraps most of the proxy calls with some exception handling code which
removes an applet from the list of applets. This is kinda remedial, but should
make developing applets a bit smoother, as we end up restarting them
periodically. IOW, this prevents the configurator from completely crashing out.

  - Give switcher the ability to handle applet removals
  - Wrap most proxy methods in try...except blocks
  - Add a removeActiveApplet method to kill off the currently stuck applet in
    the face of an error.
2021-05-09 12:26:51 -05:00
June Tate-Gans
9bb98176c5
Merge pull request #19 from jtgans/profile-switcher
applet: Add a profile switching applet
2021-05-09 09:57:17 -07:00
June Tate-Gans
4ca08c5f05 applet: Add a profile switching applet
This exposes the profile list, currently selected profile, and the ability to
set the selected profile via the AppletManager's D-Bus interface. This isn't
really the ideal place for it, but Gtk Actions aren't really suited for this,
either. Additionally, it creates the profile switcher applet as an external
applet to better exercise the Applet interface.

  - Manager passes in the preferences object to the AppletManager, so that these
    variables can be exposed over D-Bus.
  - Exposed the list of profiles, get/set of active profile via D-Bus.
  - Created the Profiles applet.
  - Exposed a onRegistered / onUnregistered hook for Applets to make use of.
  - Removed the onUpdateScreen hook from KeyPressed/KeyReleased, since the
    onKeyPressed/onKeyReleased hooks handle this nicely already.
  - Fixed the AppletManager's method authorization checks.
2021-05-09 11:50:09 -05:00
June Tate-Gans
4eb039bc27 glyphs: Add box and filled box
We can use these in buttons as a fast indicator if a particular setting is
enabled/disabled.
2021-05-09 10:30:12 -05:00
June Tate-Gans
bfdf8e1190 docs: Add some information about the applet model 2021-05-09 09:02:31 -05:00
June Tate-Gans
60cfef5e79 project: Add in a DOAP file so we can be semantic 2021-05-09 08:27:59 -05:00