Merge branch 'master' into fake_hidpp20_device
This commit is contained in:
commit
df77db88eb
|
|
@ -8,12 +8,20 @@ assignees: ''
|
|||
---
|
||||
|
||||
**Information**
|
||||
<!-- Make sure that your issue is not one of the known issues in the Solaar documentation at https://pwr-solaar.github.io/Solaar/ -->
|
||||
<!-- Do not bother opening an issue for a version older than 1.1.8. Upgrade to the latest version and see if your issue persists. -->
|
||||
<!-- If you are not running the current version of Solaar, strongly consider upgrading to the newest version. -->
|
||||
<!-- Make sure that your issue is not one of the known issues in the
|
||||
Solaar documentation at https://pwr-solaar.github.io/Solaar/ -->
|
||||
<!-- Make sure that Solaar's udev rule is running by executing
|
||||
`ls -l /dev/hidraw*` and looking for + as the last character of the permissions. -->
|
||||
<!-- Do not bother opening an issue for a version older than 1.1.14.
|
||||
Upgrade to the current version and see if your issue persists. -->
|
||||
<!-- If you are not running the current version of Solaar,
|
||||
strongly consider upgrading to the current version. -->
|
||||
<!-- Note that some distributions have very old versions of Solaar
|
||||
as their default version. -->
|
||||
|
||||
- Solaar version (`solaar --version` or `git describe --tags` if cloned from this repository):
|
||||
- Distribution:
|
||||
- Kernel version (ex. `uname -srmo`): `KERNEL VERSION HERE`
|
||||
- Kernel version (ex. `uname -srmo`):
|
||||
- Output of `solaar show`:
|
||||
|
||||
<details>
|
||||
|
|
@ -34,11 +42,11 @@ CONTENTS HERE
|
|||
|
||||
|
||||
- Errors or warrnings from Solaar:
|
||||
<!-- Under normal operation Solaar keeps a log of warning and error messages in ~/.tmp
|
||||
while it is running as a file starting with 'Solaar'.
|
||||
<!-- Under normal operation Solaar keeps a log of warning and error messages
|
||||
in ~/.tmp while it is running, as a file starting with 'Solaar'.
|
||||
If this file is not available or does not have useful information you can
|
||||
run Solaar as `solaar -dd`, after killing any running Solaar processes to
|
||||
have Solaar log informational, warning, and error messages to stdout. -->
|
||||
run Solaar as `solaar -ddd`, after killing any running Solaar processes to
|
||||
have Solaar log debug, informational, warning, and error messages to stdout. -->
|
||||
|
||||
|
||||
**Describe the bug**
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [3.8]
|
||||
python-version: [3.8, 3.13]
|
||||
fail-fast: false
|
||||
|
||||
steps:
|
||||
|
|
@ -69,12 +69,15 @@ jobs:
|
|||
- name: Set up macOS dependencies
|
||||
run: |
|
||||
make install_brew
|
||||
- name: Add Homebrew's library directory to dyld search path
|
||||
run: |
|
||||
echo "DYLD_FALLBACK_LIBRARY_PATH=$(brew --prefix)/lib:$DYLD_FALLBACK_LIBRARY_PATH" >> $GITHUB_ENV
|
||||
- name: Install Python dependencies
|
||||
run: |
|
||||
make install_pip PIP_ARGS='.["test"]'
|
||||
- name: Run tests on macOS
|
||||
run: |
|
||||
export DYLD_LIBRARY_PATH=$(brew --prefix hidapi)/lib:$DYLD_LIBRARY_PATH && pytest --cov --cov-report=xml
|
||||
pytest --cov --cov-report=xml
|
||||
- name: Upload coverage to Codecov
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: codecov/codecov-action@v4.5.0
|
||||
|
|
|
|||
106
CHANGELOG.md
106
CHANGELOG.md
|
|
@ -1,3 +1,109 @@
|
|||
# 1.1.17
|
||||
|
||||
* Add dark icons
|
||||
* Permit onboard profiles version 5
|
||||
* Update Russian and Polish translations
|
||||
* Add onboard profiles warning to sensitivity tooltip
|
||||
* Better error messages for solaar profile
|
||||
* Remove Solaar name for mice with WPID 4008
|
||||
* Prevent lock failure when showing debug messages
|
||||
* Replace color picker (#3028)
|
||||
* Add setting for HAPTIC feature
|
||||
* Add setting to adjust force needed for force-sensing buttons
|
||||
* Expand new settings type
|
||||
* Add new settings type for structure-backed setting
|
||||
* Use PATH instead of hardcoded absolute paths (#3014)
|
||||
* Add scroll ratchet force setting
|
||||
* Fix debug messages for MouseClick rule
|
||||
* Improve debug message for rule evaluation
|
||||
* App wrapper and launch agent scripts for MacOS
|
||||
* Ignore hidden features
|
||||
* Don't pop up window in response to ADC changes
|
||||
* Update bug report template
|
||||
* Fixed malformed doc file by adding closing tag
|
||||
* Fix error in low-level request for device with no recevier
|
||||
* Update documentation files
|
||||
|
||||
# 1.1.16
|
||||
|
||||
* Add new flags for reprogrammable keys feature
|
||||
* Correctly handle missing battery feature
|
||||
|
||||
# 1.1.15
|
||||
|
||||
* Correctly re-raise permissions exception
|
||||
* Add several new special keys and tasks
|
||||
* Update several translations
|
||||
* Center labels and remove buggy entry resizing logic
|
||||
* Add shape keys from Key POP Icon
|
||||
* Device and Action rule conditions match on codename and name
|
||||
* Fix listing hidpp10 devices - bytes vs string concatenation (#2856)
|
||||
* Add present flag, unset when internal error occurs, set when notification appears
|
||||
* Pause setting up features when error occurs; use ADC message to signal connection and disconnection
|
||||
* Fix listing of hidpp10 peripherals
|
||||
* Complete DEVICE_FEATURES to DeviceFeature transition for hidpp10 devices
|
||||
* Fix NOTIFICATION_FLAG to NotificationFlag transition leftovers
|
||||
* Fix github workflow stopping all matrix jobs when one of them fails
|
||||
* Fix ubuntu github CI
|
||||
* Update index.md
|
||||
* Python documentation appears to be broken so don't set it up
|
||||
* Improve documentation on onboard profiles
|
||||
* Use correct LOD values for extended adjustable dpi
|
||||
* Better support RGB Effects - not readable
|
||||
* Fix crash when asking for help about config
|
||||
* Fix error when updating ChoiceControlBig box
|
||||
* Add uninstallation docs
|
||||
* Handle unknown power switch locations again
|
||||
* Correctly handle selection of [empty] in rule editor
|
||||
* Handle `HIDError` in `hidapi.hidapi_impl._match()` (#2804)
|
||||
* Give ghost devices a path
|
||||
* Guard against typeerror when setting the value of a control box
|
||||
* Recover from errors in ping
|
||||
* Replace spaces by underscores when looking up features
|
||||
* Rewrote string concatenation/format with f strings
|
||||
* Fix logo not showing in about dialog box
|
||||
* Make typing-extensions dependency mandatory
|
||||
* Properly ignore unsupported locale
|
||||
* hidapi: skip unsupported devices and handle exception on open
|
||||
* Ignore macOS junk files and pipenv config
|
||||
* Fix ui desktop notifications test
|
||||
* hidpp20: Remove dependency to NamedInts
|
||||
* Estimate accurate battery level for some rechargable devices (#2745)
|
||||
* Upgrade desktop notifications tests to take notifications availability into account
|
||||
* Update tests to run on Python 3.13
|
||||
* Remove outdated logger enabled checks
|
||||
* Introduce GTK signal types
|
||||
* Introduce error types
|
||||
* Remove alias for SupportedFeature
|
||||
* Refactor process_device_notification
|
||||
* Refactor process_receiver_notification
|
||||
* Refactor receiver event handling
|
||||
* Introduce custom logger
|
||||
* Refactor notifications
|
||||
* Rename variable to full name notification
|
||||
* Test notifications
|
||||
* Test extraction of serial and max. devices
|
||||
* Refactor extraction of serial and max. devices
|
||||
* macOS: Fix int.from_bytes, int.to_bytes for show.py
|
||||
* macOS: Remove udev rule warning
|
||||
* macOS: Add support for Bluetooth devices
|
||||
* Add back and forward mouseclick actions
|
||||
* Speedup lookup of known receivers
|
||||
* Refactor device filtering
|
||||
* Reorder private functions and variable definitions
|
||||
* Turn filter_products_of_interest into a public function
|
||||
* Improve tests of known receivers
|
||||
* Refactor: Remove NamedInts and move enums where used
|
||||
* Add docstrings and type hints
|
||||
* Enforce rules on RuleComponentUI subclasses
|
||||
* Simplify settings UI class
|
||||
* Remove diversion alias
|
||||
* Refactor: Convert Kind to IntEnum
|
||||
* Split up huge settings module
|
||||
* Remove Python 2 specific path handling
|
||||
* Delete logging temp file on exit
|
||||
* Update Swedish translation
|
||||
|
||||
# 1.1.14
|
||||
|
||||
* Handle fake feature enums in show
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@ that are otherwise ignored by the Linux input system.
|
|||
<a href="https://pwr-solaar.github.io/Solaar/usage">Usage</a> -
|
||||
<a href="https://pwr-solaar.github.io/Solaar/capabilities">Capabilities</a> -
|
||||
<a href="https://pwr-solaar.github.io/Solaar/rules">Rules</a> -
|
||||
<a href="https://pwr-solaar.github.io/Solaar/installation">Manual Installation</a>
|
||||
<a href="https://pwr-solaar.github.io/Solaar/installation">Manual Installation</a> -
|
||||
<a href="https://pwr-solaar.github.io/Solaar/issues">Known Issues</a>
|
||||
|
||||
|
||||
[](https://codecov.io/gh/pwr-Solaar/Solaar)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,21 @@
|
|||
# Notes on Major Changes in Releases
|
||||
|
||||
## Version 1.1.17
|
||||
|
||||
* Several new features have been added related to the MX Master 4
|
||||
* The scroll ratchet force can be adjusted
|
||||
* The force required to click the button under your thumb can be adjusted
|
||||
* The haptic force can be adjusted
|
||||
* Haptic feeback can be triggered by commands like `solaar config 'mx master 4' haptic-play 'HAPPY ALER'`
|
||||
|
||||
## Version 1.1.16
|
||||
|
||||
* Two bugs that were affecting users in 1.1.15 are fixed.
|
||||
|
||||
## Version 1.1.15
|
||||
|
||||
* Some key names have been changed to match Logitech names. Rules that use removed names will no longer work and will end up with a key of 0.
|
||||
* Device and Action rule conditions match on device codename and name
|
||||
* Solaar supports configuration of Bluetooth devices on macOS.
|
||||
|
||||
## Version 1.1.13
|
||||
|
|
|
|||
|
|
@ -0,0 +1,132 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
<https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and modification follow.
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
|
||||
b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
|
||||
c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||
b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
|
||||
c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
END OF TERMS AND CONDITIONS
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
one line to give the program's name and an idea of what it does.
|
||||
Copyright (C) yyyy name of author
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
|
||||
type `show w'. This is free software, and you are welcome
|
||||
to redistribute it under certain conditions; type `show c'
|
||||
for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright
|
||||
interest in the program `Gnomovision'
|
||||
(which makes passes at compilers) written
|
||||
by James Hacker.
|
||||
|
||||
signature of Moe Ghoul, 1 April 1989
|
||||
Moe Ghoul, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.
|
||||
|
|
@ -178,7 +178,7 @@ For more information on Mouse Gestures rule conditions see
|
|||
|
||||
Solaar uses the standard Logitech names for keyboard keys. Some Logitech keyboards have different icons on some of their keys and have different functionality than suggested by these names.
|
||||
|
||||
Solaar is uses the standard US keyboard layout. This currently only matters for the `Per-key Lighting` setting. Users who want to have the key names for this setting reflect the keyboard layout that they use can create and edit `~/.config/solaar/keys.yaml` which contains a YAML dictionary of key names and locations. For example, switching the `Y` and `Z` keys can be done as:
|
||||
Solaar uses the standard US keyboard layout. This currently only matters for the `Per-key Lighting` setting. Users who want to have the key names for this setting reflect the keyboard layout that they use can create and edit `~/.config/solaar/keys.yaml` which contains a YAML dictionary of key names and locations. For example, switching the `Y` and `Z` keys can be done as:
|
||||
|
||||
Z: 25
|
||||
Y: 26
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,59 +1,62 @@
|
|||
Solaar version 1.1.3
|
||||
Solaar version 1.1.14
|
||||
|
||||
1: PRO X Wireless
|
||||
2: PRO X Wireless
|
||||
Device path : None
|
||||
WPID : 4093
|
||||
Codename : PRO X
|
||||
Kind : mouse
|
||||
Protocol : HID++ 4.2
|
||||
Polling rate : 8 ms (125Hz)
|
||||
Serial number: 42F42E12
|
||||
Report Rate : 1ms
|
||||
Serial number: 8B24D1D1
|
||||
Model ID: 4093C0940000
|
||||
Unit ID: 42F42E12
|
||||
Bootloader: BL1 25.00.B0013
|
||||
Other:
|
||||
Firmware: MPM 25.01.B0018
|
||||
Unit ID: 8B24D1D1
|
||||
1: BL1 25.01.B0018
|
||||
3:
|
||||
0: MPM 25.01.B0018
|
||||
Supports 28 HID++ 2.0 features:
|
||||
0: ROOT {0000}
|
||||
1: FEATURE SET {0001}
|
||||
2: DEVICE FW VERSION {0003}
|
||||
Firmware: Bootloader BL1 25.00.B0013 AB00BE657A82
|
||||
Firmware: Other
|
||||
Firmware: Firmware MPM 25.01.B0018 4093FE92436C
|
||||
Unit ID: 42F42E12 Model ID: 4093C0940000 Transport IDs: {'wpid': '4093', 'usbid': 'C094'}
|
||||
3: DEVICE NAME {0005}
|
||||
0: ROOT {0000} V0
|
||||
1: FEATURE SET {0001} V0
|
||||
2: DEVICE FW VERSION {0003} V3
|
||||
Firmware: 1 BL1 25.01.B0018 AB00FE92436C
|
||||
Firmware: 3
|
||||
Firmware: 0 MPM 25.01.B0018 4093FE92436C
|
||||
Unit ID: 8B24D1D1 Model ID: 4093C0940000 Transport IDs: {'wpid': '4093', 'usbid': 'C094'}
|
||||
3: DEVICE NAME {0005} V0
|
||||
Name: PRO X Wireless
|
||||
Kind: mouse
|
||||
4: WIRELESS DEVICE STATUS {1D4B}
|
||||
5: RESET {0020}
|
||||
6: UNIFIED BATTERY {1004}
|
||||
7: COLOR LED EFFECTS {8070} internal, hidden
|
||||
8: ONBOARD PROFILES {8100}
|
||||
Device Mode: Host
|
||||
Onboard Profiles (saved): Disable
|
||||
Onboard Profiles : Disable
|
||||
9: MOUSE BUTTON SPY {8110}
|
||||
10: REPORT RATE {8060}
|
||||
Polling Rate (ms): 1
|
||||
Polling Rate (ms) (saved): 1
|
||||
Polling Rate (ms) : 1
|
||||
11: ADJUSTABLE DPI {2201}
|
||||
Sensitivity (DPI) (saved): 1000
|
||||
Sensitivity (DPI) : 1000
|
||||
12: unknown:1500 {1500}
|
||||
13: DEVICE RESET {1802} internal, hidden
|
||||
14: unknown:1803 {1803} internal, hidden
|
||||
15: CONFIG DEVICE PROPS {1806} internal, hidden
|
||||
16: unknown:1811 {1811} internal, hidden
|
||||
17: OOBSTATE {1805} internal, hidden
|
||||
18: unknown:1830 {1830} internal, hidden
|
||||
19: unknown:1890 {1890} internal, hidden
|
||||
20: unknown:1891 {1891} internal, hidden
|
||||
21: unknown:18A1 {18A1} internal, hidden
|
||||
22: unknown:1801 {1801} internal, hidden
|
||||
23: unknown:18B1 {18B1} internal, hidden
|
||||
24: unknown:1E00 {1E00} hidden
|
||||
25: unknown:1EB0 {1EB0} internal, hidden
|
||||
26: unknown:1863 {1863} internal, hidden
|
||||
27: unknown:1E22 {1E22} internal, hidden
|
||||
Battery: 76%, discharging.
|
||||
4: WIRELESS DEVICE STATUS {1D4B} V0
|
||||
5: CONFIG CHANGE {0020} V0
|
||||
Configuration: 11000000000000000000000000000000
|
||||
6: UNIFIED BATTERY {1004} V1
|
||||
Battery: 71%, 0.
|
||||
7: COLOR LED EFFECTS {8070} V4 internal, hidden
|
||||
LED Control : HID++ error {'number': 2, 'request': 1908, 'error': 5, 'params': b''}
|
||||
8: ONBOARD PROFILES {8100} V0
|
||||
Device Mode: On-Board
|
||||
Onboard Profiles (saved): Profile 1
|
||||
Onboard Profiles : Profile 1
|
||||
9: MOUSE BUTTON SPY {8110} V0
|
||||
10: REPORT RATE {8060} V0
|
||||
Report Rate: 1ms
|
||||
Report Rate (saved): 1ms
|
||||
Report Rate : 1ms
|
||||
11: ADJUSTABLE DPI {2201} V2
|
||||
Sensitivity (DPI) (saved): 800
|
||||
Sensitivity (DPI) : 800
|
||||
12: FORCE PAIRING {1500} V0
|
||||
13: DEVICE RESET {1802} V0 internal, hidden
|
||||
14: unknown:1803 {1803} V0 internal, hidden
|
||||
15: CONFIG DEVICE PROPS {1806} V4 internal, hidden
|
||||
16: unknown:1811 {1811} V0 internal, hidden
|
||||
17: OOBSTATE {1805} V0 internal, hidden
|
||||
18: unknown:1830 {1830} V0 internal, hidden
|
||||
19: unknown:1890 {1890} V5 internal, hidden
|
||||
20: unknown:1891 {1891} V5 internal, hidden
|
||||
21: unknown:18A1 {18A1} V0 internal, hidden
|
||||
22: unknown:1801 {1801} V0 internal, hidden
|
||||
23: unknown:18B1 {18B1} V0 internal, hidden
|
||||
24: unknown:1E00 {1E00} V0 hidden
|
||||
25: unknown:1EB0 {1EB0} V0 internal, hidden
|
||||
26: unknown:1863 {1863} V0 internal, hidden
|
||||
27: unknown:1E22 {1E22} V0 internal, hidden
|
||||
Battery: 71%, 0.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,64 @@
|
|||
solaar show
|
||||
rules cannot access modifier keys in Wayland, accessing process only works on GNOME with Solaar Gnome extension installed
|
||||
solaar version 1.1.14-2
|
||||
|
||||
Unifying Receiver
|
||||
Device path : /dev/hidraw1
|
||||
USB id : 046d:C52B
|
||||
Serial : EC219AC2
|
||||
C Pending : ff
|
||||
0 : 12.11.B0032
|
||||
1 : 04.16
|
||||
3 : AA.AA
|
||||
Has 2 paired device(s) out of a maximum of 6.
|
||||
Notifications: wireless (0x000100)
|
||||
Device activity counters: 1=195, 2=74
|
||||
|
||||
1: Wireless Mouse M175
|
||||
Device path : /dev/hidraw2
|
||||
WPID : 4008
|
||||
Codename : M175
|
||||
Kind : mouse
|
||||
Protocol : HID++ 2.0
|
||||
Report Rate : 8ms
|
||||
Serial number: 16E46E8C
|
||||
Model ID: 000000000000
|
||||
Unit ID: 00000000
|
||||
0: RQM 40.00.B0016
|
||||
The power switch is located on the base.
|
||||
Supports 21 HID++ 2.0 features:
|
||||
0: ROOT {0000} V0
|
||||
1: FEATURE SET {0001} V0
|
||||
2: DEVICE FW VERSION {0003} V0
|
||||
Firmware: 0 RQM 40.00.B0016 4008
|
||||
Unit ID: 00000000 Model ID: 000000000000 Transport IDs: {}
|
||||
3: DEVICE NAME {0005} V0
|
||||
Name: Wireless Mouse M185
|
||||
Kind: mouse
|
||||
4: BATTERY STATUS {1000} V0
|
||||
Battery: 70%, 0, next level 5%.
|
||||
5: unknown:1830 {1830} V0 internal, hidden
|
||||
6: unknown:1850 {1850} V0 internal, hidden
|
||||
7: unknown:1860 {1860} V0 internal, hidden
|
||||
8: unknown:1890 {1890} V0 internal, hidden
|
||||
9: unknown:18A0 {18A0} V0 internal, hidden
|
||||
10: unknown:18C0 {18C0} V0 internal, hidden
|
||||
11: WIRELESS DEVICE STATUS {1D4B} V0
|
||||
12: unknown:1DF3 {1DF3} V0 internal, hidden
|
||||
13: REPROG CONTROLS {1B00} V0
|
||||
14: REMAINING PAIRING {1DF0} V0 hidden
|
||||
Remaining Pairings: 117
|
||||
15: unknown:1E00 {1E00} V0 hidden
|
||||
16: unknown:1E80 {1E80} V0 internal, hidden
|
||||
17: unknown:1E90 {1E90} V0 internal, hidden
|
||||
18: unknown:1F03 {1F03} V0 internal, hidden
|
||||
19: VERTICAL SCROLLING {2100} V0
|
||||
Roller type: standard
|
||||
Ratchet per turn: 24
|
||||
Scroll lines: 0
|
||||
20: MOUSE POINTER {2200} V0
|
||||
DPI: 1000
|
||||
Acceleration: low
|
||||
Override OS ballistics
|
||||
No vertical tuning, standard mice
|
||||
Battery: 70%, 0, next level 5%.
|
||||
|
|
@ -67,6 +67,7 @@ Some of the languages Solaar has been translated to are listed below. A full lis
|
|||
- Spanish, Castilian: Jose Luis Tirado
|
||||
- Swedish: John Erling Blad, [Daniel Zippert][zipperten], Emelie Snecker, Jonatan Nyberg
|
||||
- Turkish: Osman Karagöz
|
||||
- Ukrainian: Олександр Афанасьєв
|
||||
|
||||
[Rongronggg9]: https://github.com/Rongronggg9
|
||||
[papoteur]: https://github.com/papoteur
|
||||
|
|
|
|||
|
|
@ -131,62 +131,6 @@ Solaar uses a standard system tray implementation; solaar-gnome3 is no longer re
|
|||
See [the installation page](https://pwr-solaar.github.io/Solaar/installation)
|
||||
for the step-by-step procedure for manual installation.
|
||||
|
||||
## Known Issues
|
||||
|
||||
- Onboard Profiles, when active, can prevent changes to other settings, such as Polling Rate, DPI, and various LED settings. Which settings are affected depends on the device. To make changes to affected settings, disable Onboard Profiles. If Onboard Profiles are later enabled the affected settings may change to the value in the profile.
|
||||
|
||||
- Solaar version 1.1.12 has a bug resulting in devices remaining in their default configuration after a system resume. This is fixed in 1.1.13.
|
||||
|
||||
- Bluez 5.73 does not remove Bluetooth devices when they disconnect.
|
||||
Solaar 1.1.12 processes the DBus disconnection and connection messages from Bluez and does re-initialize devices when they reconnect.
|
||||
The HID++ driver does not re-initialize devices, which causes problems with smooth scrolling.
|
||||
Until the problem is resolved having Scroll Wheel Resolution set to true (and not ignored) may be helpful.
|
||||
|
||||
- The Linux HID++ driver modifies the Scroll Wheel Resolution setting to
|
||||
implement smooth scrolling. If Solaar changes this setting, scrolling
|
||||
can be either very fast or very slow. To fix this problem
|
||||
click on the icon at the right edge of the setting to set it to
|
||||
"Ignore this setting", which is the default for new devices.
|
||||
The mouse has to be reset (e.g., by turning it off and on again) before this fix will take effect.
|
||||
|
||||
- Solaar expects that it has exclusive control over settings that are not ignored.
|
||||
Running other programs that modify these settings, such as logiops,
|
||||
will likely result in unexpected device behavior.
|
||||
|
||||
- The driver also sets the scrolling direction to its normal setting when implementing smooth scrolling.
|
||||
This can interfere with the Scroll Wheel Direction setting, requiring flipping this setting back and forth
|
||||
to restore reversed scrolling.
|
||||
|
||||
- The driver sends messages to devices that do not conform with the Logitech HID++ specification
|
||||
resulting in responses being sent back that look like other messages. For some devices this causes
|
||||
Solaar to report incorrect battery levels.
|
||||
|
||||
- Solaar normally uses icon names for its icons, which in some system tray implementations
|
||||
results in missing or wrong-sized icons.
|
||||
The `--tray-icon-size` option forces Solaar to use icon files of appropriate size
|
||||
for tray icons instead, which produces better results in some system tray implementations.
|
||||
To use icon files close to 32 pixels in size use `--tray-icon-size=32`.
|
||||
|
||||
- The icon in the system tray can show up as 'black on black' in dark
|
||||
themes or as non-symbolic when the theme uses symbolic icons. This is due to problems
|
||||
in some system tray implementations. Changing to a different theme may help.
|
||||
The `--battery-icons=symbolic` option can be used to force symbolic icons.
|
||||
|
||||
- Solaar will try to use uinput to simulate input from rules under Wayland or if Xtest is not available
|
||||
but this needs write permission on /dev/uinput.
|
||||
For more information see [the rules page](https://pwr-solaar.github.io/Solaar/rules).
|
||||
|
||||
- Diverted keys remain diverted and so do not have their normal behavior when Solaar terminates
|
||||
or a device disconnects from a host that is running Solaar. If necessary, their normal behavior
|
||||
can be reestablished by turning the device off and on again. This is most important to restore
|
||||
the host switching behavior of a host switch key that was diverted, for example to switch away
|
||||
from a host that crashed or was turned off.
|
||||
|
||||
- When a receiver-connected device changes hosts Solaar remembers which diverted keys were down on it.
|
||||
When the device changes back the first time any of these diverted keys is depressed Solaar will not
|
||||
realize that the key was newly depressed. For this reason Solaar rules that can change hosts should
|
||||
trigger on key releasing.
|
||||
|
||||
## License
|
||||
|
||||
This software is distributed under the terms of the
|
||||
|
|
|
|||
|
|
@ -7,8 +7,7 @@ layout: page
|
|||
|
||||
An easy way to install the most recent release version of Solaar is from the PyPI repository.
|
||||
First install pip, and then run
|
||||
`pip install --user solaar` or `pipx install --system-site-packages solaar` or
|
||||
If you are using pipx add the `` flag.
|
||||
`pip install --user solaar` or `pipx install --system-site-packages solaar`.
|
||||
|
||||
This will not install the Solaar udev rule, which you will need to install manually by copying
|
||||
`~/.local/lib/udev/rules.d/42-logitech-unify-permissions.rules`
|
||||
|
|
@ -27,6 +26,18 @@ brew update
|
|||
brew install hidapi gtk+3 pygobject3
|
||||
```
|
||||
|
||||
### Optional: Set up macOS launcher
|
||||
* Option A (recommended): Configure a LaunchAgent to automatically start Solaar and keep it running in the background.
|
||||
It will also automatically restart Solaar if it crashed or closed.
|
||||
```
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/pwr-Solaar/Solaar/refs/heads/master/tools/create-macos-launchagent.sh)
|
||||
```
|
||||
* Option B: Create Solaar.app launcher in /Applications.
|
||||
It can be added to Login Items to start on login, but it will not automatically recover on crashes.
|
||||
```
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/pwr-Solaar/Solaar/refs/heads/master/tools/create-macos-app.sh)
|
||||
```
|
||||
|
||||
# Installating from GitHub
|
||||
|
||||
## Downloading
|
||||
|
|
|
|||
|
|
@ -0,0 +1,61 @@
|
|||
---
|
||||
title: Known Issues
|
||||
layout: page
|
||||
---
|
||||
|
||||
# Known Issues
|
||||
|
||||
- Some internal structures in Solaar have been updated to use more standard Python language features.
|
||||
This has caused some problems and introduced bugs are still being found.
|
||||
|
||||
- Onboard Profiles, when active, can prevent changes to other settings, such as Polling Rate, DPI, and various LED settings. Which settings are affected depends on the device. To make changes to affected settings, disable Onboard Profiles. If Onboard Profiles are later enabled the affected settings may change to the value in the profile.
|
||||
|
||||
- Bluez 5.73 does not remove Bluetooth devices when they disconnect.
|
||||
Solaar 1.1.12 processes the DBus disconnection and connection messages from Bluez and does re-initialize devices when they reconnect.
|
||||
The HID++ driver does not re-initialize devices, which causes problems with smooth scrolling.
|
||||
Until the problem is resolved having Scroll Wheel Resolution set to true (and not ignored) may be helpful.
|
||||
|
||||
- The Linux HID++ driver modifies the Scroll Wheel Resolution setting to
|
||||
implement smooth scrolling. If Solaar changes this setting, scrolling
|
||||
can be either very fast or very slow. To fix this problem
|
||||
click on the icon at the right edge of the setting to set it to
|
||||
"Ignore this setting", which is the default for new devices.
|
||||
The mouse has to be reset (e.g., by turning it off and on again) before this fix will take effect.
|
||||
|
||||
- Solaar expects that it has exclusive control over settings that are not ignored.
|
||||
Running other programs that modify these settings, such as logiops,
|
||||
will likely result in unexpected device behavior.
|
||||
|
||||
- The driver also sets the scrolling direction to its normal setting when implementing smooth scrolling.
|
||||
This can interfere with the Scroll Wheel Direction setting, requiring flipping this setting back and forth
|
||||
to restore reversed scrolling.
|
||||
|
||||
- The driver sends messages to devices that do not conform with the Logitech HID++ specification
|
||||
resulting in responses being sent back that look like other messages. For some devices this causes
|
||||
Solaar to report incorrect battery levels.
|
||||
|
||||
- Solaar normally uses icon names for its icons, which in some system tray implementations
|
||||
results in missing or wrong-sized icons.
|
||||
The `--tray-icon-size` option forces Solaar to use icon files of appropriate size
|
||||
for tray icons instead, which produces better results in some system tray implementations.
|
||||
To use icon files close to 32 pixels in size use `--tray-icon-size=32`.
|
||||
|
||||
- The icon in the system tray can show up as 'black on black' in dark
|
||||
themes or as non-symbolic when the theme uses symbolic icons. This is due to problems
|
||||
in some system tray implementations. Changing to a different theme may help.
|
||||
The `--battery-icons=symbolic` option can be used to force symbolic icons.
|
||||
|
||||
- Solaar will try to use uinput to simulate input from rules under Wayland or if Xtest is not available
|
||||
but this needs write permission on /dev/uinput.
|
||||
For more information see [the rules page](https://pwr-solaar.github.io/Solaar/rules).
|
||||
|
||||
- Diverted keys remain diverted and so do not have their normal behavior when Solaar terminates
|
||||
or a device disconnects from a host that is running Solaar. If necessary, their normal behavior
|
||||
can be reestablished by turning the device off and on again. This is most important to restore
|
||||
the host switching behavior of a host switch key that was diverted, for example to switch away
|
||||
from a host that crashed or was turned off.
|
||||
|
||||
- When a receiver-connected device changes hosts Solaar remembers which diverted keys were down on it.
|
||||
When the device changes back the first time any of these diverted keys is depressed Solaar will not
|
||||
realize that the key was newly depressed. For this reason Solaar rules that can change hosts should
|
||||
trigger on key releasing.
|
||||
|
|
@ -133,8 +133,9 @@ or the window's Window manager class or instance name starts with their string a
|
|||
`Device` conditions are true if a particular device originated the notification.
|
||||
`Active` conditions are true if a particular device is active.
|
||||
`Device` and `Active` conditions take one argument, which is the serial number or unit ID of a device,
|
||||
as shown in Solaar's detail pane.
|
||||
Some older devices do not have a useful serial number or unit ID and so cannot be tested for by these conditions.
|
||||
as shown in Solaar's detail pane, or either of its names, as shown by Solaar.
|
||||
Some older devices do not have a useful serial number or unit ID and so cannot
|
||||
distinguished from other devices with the same names.
|
||||
|
||||
### Host
|
||||
`Host` conditions are true if the computers hostname starts with the condition's argument.
|
||||
|
|
@ -244,7 +245,8 @@ If the previous condition in the parent rule returns a number the scroll amounts
|
|||
### Mouse click
|
||||
A `MouseClick` action takes a mouse button name (`left`, `middle` or `right`) and a positive number or 'click', 'depress', or 'release'.
|
||||
The action simulates that number of clicks of the specified button or just one click, depress, or release of the button.
|
||||
A `MouseClick` action takes a mouse button name (`left`, `middle` or `right`) and a positive number, and simulates that number of clicks of the specified button.
|
||||
|
||||
### Execute
|
||||
An `Execute` action takes a program and arguments and executes it asynchronously.
|
||||
|
||||
### Set setting
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@ def open_path(device_path):
|
|||
if e.errno == errno.EACCES:
|
||||
sleep(0.1)
|
||||
else:
|
||||
raise
|
||||
raise e
|
||||
|
||||
|
||||
def close(device_handle) -> None:
|
||||
|
|
|
|||
|
|
@ -381,7 +381,7 @@ _D(
|
|||
),
|
||||
)
|
||||
_D("Couch Mouse M515", codename="M515", protocol=2.0, wpid="4007")
|
||||
_D("Wireless Mouse M175", codename="M175", protocol=2.0, wpid="4008")
|
||||
# _D("Wireless Mouse M175", codename="M175", protocol=2.0, wpid="4008")
|
||||
_D("Wireless Mouse M325", codename="M325", protocol=2.0, wpid="400A")
|
||||
_D("Wireless Mouse M525", codename="M525", protocol=2.0, wpid="4013")
|
||||
_D("Wireless Mouse M345", codename="M345", protocol=2.0, wpid="4017")
|
||||
|
|
|
|||
|
|
@ -87,10 +87,10 @@ def create_device(low_level: LowLevelInterface, device_info, setting_callback=No
|
|||
except OSError as e:
|
||||
logger.exception("open %s", device_info)
|
||||
if e.errno == errno.EACCES:
|
||||
raise
|
||||
except Exception:
|
||||
raise e
|
||||
except Exception as e:
|
||||
logger.exception("open %s", device_info)
|
||||
raise
|
||||
raise e
|
||||
|
||||
|
||||
class Device:
|
||||
|
|
@ -140,7 +140,7 @@ class Device:
|
|||
self._modelId = None # model id (contains identifiers for the transports of the device)
|
||||
self._tid_map = None # map from transports to product identifiers
|
||||
self._persister = None # persister holds settings
|
||||
self._led_effects = self._firmware = self._keys = self._remap_keys = self._gestures = None
|
||||
self._led_effects = self._firmware = self._keys = self._remap_keys = self._gestures = self._force_buttons = None
|
||||
self._profiles = self._backlight = self._settings = None
|
||||
self.registers = []
|
||||
self.notification_flags = None
|
||||
|
|
@ -207,10 +207,10 @@ class Device:
|
|||
|
||||
Device.instances.append(self)
|
||||
|
||||
def find(self, id): # find a device by serial number or unit ID
|
||||
assert id, "need serial number or unit ID to find a device"
|
||||
def find(self, id): # find a device by serial number or unit ID or name or codename
|
||||
assert id, "need id to find a device"
|
||||
for device in Device.instances:
|
||||
if device.online and (device.unitId == id or device.serial == id):
|
||||
if device.online and (device.unitId == id or device.serial == id or device.name == id or device.codename == id):
|
||||
return device
|
||||
|
||||
@property
|
||||
|
|
@ -346,6 +346,12 @@ class Device:
|
|||
self._profiles = _hidpp20.get_profiles(self)
|
||||
return self._profiles
|
||||
|
||||
def force_buttons(self):
|
||||
if self._force_buttons is None:
|
||||
if self.online and self.protocol >= 2.0:
|
||||
self._force_buttons = _hidpp20.get_force_buttons(self) or ()
|
||||
return self._force_buttons
|
||||
|
||||
def set_configuration(self, configuration_, no_reply=False):
|
||||
if self.online and self.protocol >= 2.0:
|
||||
_hidpp20.config_change(self, configuration_, no_reply=no_reply)
|
||||
|
|
@ -397,7 +403,7 @@ class Device:
|
|||
self.persister["_battery"] = feature.value
|
||||
return battery
|
||||
except Exception:
|
||||
if self.persister and battery_feature is None and result is not None:
|
||||
if self.persister and battery_feature is None and result is not None and result != 0:
|
||||
self.persister["_battery"] = result.value
|
||||
|
||||
def set_battery_info(self, info):
|
||||
|
|
@ -522,7 +528,7 @@ class Device:
|
|||
self.hidpp_long is None and (self.bluetooth or self._protocol is not None and self._protocol >= 2.0)
|
||||
)
|
||||
return self.low_level.request(
|
||||
self.handle or self.receiver.handle,
|
||||
self.handle or (self.receiver.handle if self.receiver else None),
|
||||
self.number,
|
||||
request_id,
|
||||
*params,
|
||||
|
|
|
|||
|
|
@ -1118,7 +1118,12 @@ class Device(Condition):
|
|||
def evaluate(self, feature, notification: HIDPPNotification, device, last_result):
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("evaluate condition: %s", self)
|
||||
return device.unitId == self.devID or device.serial == self.devID
|
||||
return (
|
||||
device.unitId == self.devID
|
||||
or device.serial == self.devID
|
||||
or device.codename == self.devID
|
||||
or device.name == self.devID
|
||||
)
|
||||
|
||||
def data(self):
|
||||
return {"Device": self.devID}
|
||||
|
|
@ -1316,17 +1321,17 @@ class MouseClick(Action):
|
|||
self.count = count
|
||||
elif warn:
|
||||
logger.warning(
|
||||
"rule MouseClick action: argument %s should be an integer or CLICK, PRESS, or RELEASE",
|
||||
"rule MouseClick action: argument %s should be an integer or click, depress, or release",
|
||||
count,
|
||||
)
|
||||
self.count = 1
|
||||
|
||||
def __str__(self):
|
||||
return f"MouseClick: {self.button} ({int(self.count)})"
|
||||
return f"MouseClick: {self.button} ({str(self.count)})"
|
||||
|
||||
def evaluate(self, feature, notification: HIDPPNotification, device, last_result):
|
||||
if logger.isEnabledFor(logging.INFO):
|
||||
logger.info(f"MouseClick action: {int(self.count)} {self.button}")
|
||||
logger.info(f"MouseClick action: {str(self.count)} {self.button}")
|
||||
if self.button and self.count:
|
||||
click(buttons[self.button], self.count)
|
||||
time.sleep(0.01)
|
||||
|
|
@ -1494,7 +1499,7 @@ def key_is_down(key: NamedInt) -> bool:
|
|||
|
||||
def evaluate_rules(feature, notification: HIDPPNotification, device):
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("evaluating rules on %s", notification)
|
||||
logger.debug("evaluating rules on %s %s", feature, notification)
|
||||
rules.evaluate(feature, notification, device, True)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -189,7 +189,7 @@ class Hidpp10:
|
|||
write_register(device, Registers.THREE_LEDS, v1, v2)
|
||||
|
||||
def get_notification_flags(self, device: Device):
|
||||
return self._get_register(device, Registers.NOTIFICATIONS)
|
||||
return NotificationFlag(self._get_register(device, Registers.NOTIFICATIONS))
|
||||
|
||||
def set_notification_flags(self, device: Device, *flag_bits: NotificationFlag) -> None:
|
||||
assert device is not None
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ import socket
|
|||
import struct
|
||||
import threading
|
||||
|
||||
from collections import UserDict
|
||||
from enum import Flag
|
||||
from enum import IntEnum
|
||||
from typing import Any
|
||||
|
|
@ -47,6 +48,7 @@ from .hidpp20_constants import DEVICE_KIND
|
|||
from .hidpp20_constants import ChargeLevel
|
||||
from .hidpp20_constants import ChargeType
|
||||
from .hidpp20_constants import ErrorCode
|
||||
from .hidpp20_constants import FeatureFlag
|
||||
from .hidpp20_constants import GestureId
|
||||
from .hidpp20_constants import ParamId
|
||||
from .hidpp20_constants import SupportedFeature
|
||||
|
|
@ -79,6 +81,9 @@ class Device(Protocol):
|
|||
...
|
||||
|
||||
|
||||
# pfps: Consider adding a class method that sanitizes inputs by removing unknown bits.
|
||||
|
||||
|
||||
class KeyFlag(Flag):
|
||||
"""Capabilities and desired software handling for a control.
|
||||
|
||||
|
|
@ -86,6 +91,11 @@ class KeyFlag(Flag):
|
|||
We treat bytes 4 and 8 of `getCidInfo` as a single bitfield.
|
||||
"""
|
||||
|
||||
UNUSED_8000 = 0x8000
|
||||
UNUSED_4000 = 0x4000
|
||||
UNUSED_2000 = 0x2000
|
||||
UNUSED_1000 = 0x1000
|
||||
RAW_WHEEL = 0x800
|
||||
ANALYTICS_KEY_EVENTS = 0x400
|
||||
FORCE_RAW_XY = 0x200
|
||||
RAW_XY = 0x100
|
||||
|
|
@ -105,6 +115,9 @@ class MappingFlag(Flag):
|
|||
We treat bytes 2 and 5 of `get/setCidReporting` as a single bitfield
|
||||
"""
|
||||
|
||||
UNUSED_4000 = 0x4000
|
||||
UNUSED_1000 = 0x1000
|
||||
RAW_WHEEL = 0x400
|
||||
ANALYTICS_KEY_EVENTS_REPORTING = 0x100
|
||||
FORCE_RAW_XY_DIVERTED = 0x40
|
||||
RAW_XY_DIVERTED = 0x10
|
||||
|
|
@ -126,6 +139,7 @@ class FeaturesArray(dict):
|
|||
self.device = device
|
||||
self.inverse = {}
|
||||
self.version = {}
|
||||
self.flags = {}
|
||||
self.count = 0
|
||||
|
||||
def _check(self) -> bool:
|
||||
|
|
@ -172,6 +186,7 @@ class FeaturesArray(dict):
|
|||
feature = f"unknown:{data:04X}"
|
||||
self[feature] = index
|
||||
self.version[feature] = response[3]
|
||||
self.flags[feature] = response[2]
|
||||
return feature
|
||||
|
||||
def enumerate(self): # return all features and their index, ordered by index
|
||||
|
|
@ -184,6 +199,15 @@ class FeaturesArray(dict):
|
|||
if self[feature]:
|
||||
return self.version.get(feature, 0)
|
||||
|
||||
def get_flags(self, feature: NamedInt) -> Optional[int]:
|
||||
if self[feature]:
|
||||
return self.flags.get(feature, 0)
|
||||
|
||||
def get_hidden(self, feature: NamedInt) -> Optional[bool]:
|
||||
if self[feature]:
|
||||
return self.flags.get(feature, 0) & FeatureFlag.INTERNAL
|
||||
return True
|
||||
|
||||
def __contains__(self, feature: NamedInt) -> bool:
|
||||
try:
|
||||
index = self.__getitem__(feature)
|
||||
|
|
@ -204,6 +228,7 @@ class FeaturesArray(dict):
|
|||
index = response[0]
|
||||
self[feature] = index if index else False
|
||||
self.version[feature] = response[2]
|
||||
self.flags[feature] = response[1]
|
||||
return index if index else False
|
||||
|
||||
def __setitem__(self, feature, index):
|
||||
|
|
@ -296,7 +321,10 @@ class ReprogrammableKeyV4(ReprogrammableKey):
|
|||
if self._mapped_to is None:
|
||||
self._getCidReporting()
|
||||
self._device.keys._ensure_all_keys_queried()
|
||||
task = str(special_keys.Task(self._device.keys.cid_to_tid[self._mapped_to]))
|
||||
try:
|
||||
task = str(special_keys.Task(self._device.keys.cid_to_tid[self._mapped_to]))
|
||||
except ValueError:
|
||||
task = f"Unknown_{self._mapped_to:x}"
|
||||
return NamedInt(self._mapped_to, task)
|
||||
|
||||
@property
|
||||
|
|
@ -1422,7 +1450,7 @@ class OnboardProfiles:
|
|||
device.ping()
|
||||
response = device.feature_request(SupportedFeature.ONBOARD_PROFILES, 0x00)
|
||||
memory, profile, _macro = struct.unpack("!BBB", response[0:3])
|
||||
if memory != 0x01 or profile > 0x04:
|
||||
if memory != 0x01 or profile > 0x05:
|
||||
return
|
||||
count, oob, buttons, sectors, size, shift = struct.unpack("!BBBBHB", response[3:10])
|
||||
gbuttons = buttons if (shift & 0x3 == 0x2) else 0
|
||||
|
|
@ -1686,6 +1714,12 @@ class Hidpp20:
|
|||
if SupportedFeature.BACKLIGHT2 in device.features:
|
||||
return Backlight(device)
|
||||
|
||||
def get_force_buttons(self, device: Device):
|
||||
if getattr(device, "_force_buttons", None) is not None:
|
||||
return device._force_buttons
|
||||
if SupportedFeature.FORCE_SENSING_BUTTON in device.features:
|
||||
return ForceSensingButtonArray(device)
|
||||
|
||||
def get_profiles(self, device: Device):
|
||||
if getattr(device, "_profiles", None) is not None:
|
||||
return device._profiles
|
||||
|
|
@ -1994,3 +2028,94 @@ def estimate_battery_level_percentage(value_millivolt: int) -> int | None:
|
|||
percent = p_low + (p_high - p_low) * (value_millivolt - v_low) / (v_high - v_low)
|
||||
return round(percent)
|
||||
return 0
|
||||
|
||||
|
||||
class ForceSensingButton:
|
||||
"""A button that has a force value at which to trigger the button"""
|
||||
|
||||
@classmethod
|
||||
def create(cls, device, number: int):
|
||||
buttondata = device.feature_request(SupportedFeature.FORCE_SENSING_BUTTON, 0x10, number)
|
||||
buttoncurrent = device.feature_request(SupportedFeature.FORCE_SENSING_BUTTON, 0x20, number)
|
||||
if buttondata is not None and buttoncurrent is not None:
|
||||
changeable, default, max_value, min_value = struct.unpack("!HHHH", buttondata[:8])
|
||||
changeable = changeable & 0x01
|
||||
current = struct.unpack("!H", buttoncurrent[:2])[0]
|
||||
return cls(device, number, changeable, default, max_value, min_value, current)
|
||||
|
||||
def __init__(self, device, number: int, changeable: bool, default: int, max_value: int, min_value: int, current: int):
|
||||
self._device = device
|
||||
self.number = number
|
||||
self.changeable = changeable
|
||||
self.default = default
|
||||
self.min_value = min_value
|
||||
self.max_value = max_value
|
||||
self._current = current
|
||||
|
||||
def get_current(self) -> int:
|
||||
return self._current
|
||||
|
||||
def set_current(self, current: int) -> None:
|
||||
if not self.changeable:
|
||||
logger.warning(f"FORCE_SENSING_BUTTON on device {self._device} does not allow changing force.")
|
||||
if self.min_value <= current <= self.max_value:
|
||||
ret = self._device.feature_request(
|
||||
SupportedFeature.FORCE_SENSING_BUTTON, 0x30, struct.pack("!BH", self.number, current)
|
||||
)
|
||||
if ret is None and logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug(f"FORCE_SENSING_BUTTON setButtonConfig on device {self._device} didn't respond.")
|
||||
|
||||
def acceptable_current(self, value: int) -> bool:
|
||||
return self.min_value <= value <= self.max_value
|
||||
|
||||
|
||||
class ForceSensingButtonArray(UserDict):
|
||||
"""A map of buttons supporting force sensing"""
|
||||
|
||||
def __new__(cls, device: Device):
|
||||
assert device is not None
|
||||
count = device.feature_request(SupportedFeature.FORCE_SENSING_BUTTON, 0x00)
|
||||
if count:
|
||||
instance = super().__new__(cls)
|
||||
instance._count = ord(count[:1])
|
||||
return instance
|
||||
|
||||
def __init__(self, device: Device):
|
||||
super().__init__(self)
|
||||
self.device = device
|
||||
for index in range(0, self._count):
|
||||
self[index] = None
|
||||
|
||||
def __getitem__(self, index: int):
|
||||
item = super().__getitem__(index)
|
||||
if item is None:
|
||||
self.query_key(index)
|
||||
return super().__getitem__(index)
|
||||
|
||||
def query_key(self, index):
|
||||
if index not in self:
|
||||
raise IndexError(index)
|
||||
button = ForceSensingButton.create(self.device, index)
|
||||
if button:
|
||||
self[index] = button
|
||||
return button
|
||||
|
||||
def query(self):
|
||||
for index in self:
|
||||
button = ForceSensingButton.create(self.device, index)
|
||||
if button:
|
||||
self[index] = button
|
||||
return self
|
||||
|
||||
# interface for single force button
|
||||
def get_current(self):
|
||||
return self[0].get_current()
|
||||
|
||||
def set_current(self, current: int) -> None:
|
||||
self[0].set_current(current)
|
||||
|
||||
def acceptable(self, value: int) -> bool:
|
||||
return self[0].acceptable(value)
|
||||
|
||||
def acceptable_current_key(self, index: int, value: int) -> bool:
|
||||
return self[index].acceptable(value)
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@ class SupportedFeature(IntEnum):
|
|||
BACKLIGHT2 = 0x1982
|
||||
BACKLIGHT3 = 0x1983
|
||||
ILLUMINATION = 0x1990
|
||||
FORCE_SENSING_BUTTON = 0x19C0
|
||||
HAPTIC = 0x19B0
|
||||
PRESENTER_CONTROL = 0x1A00
|
||||
SENSOR_3D = 0x1A01
|
||||
REPROG_CONTROLS = 0x1B00
|
||||
|
|
@ -276,3 +278,23 @@ class ParamId(IntEnum):
|
|||
PIXEL_ZONE = 2 # 4 2-byte integers, left, bottom, width, height; pixels
|
||||
RATIO_ZONE = 3 # 4 bytes, left, bottom, width, height; unit 1/240 pad size
|
||||
SCALE_FACTOR = 4 # 2-byte integer, with 256 as normal scale
|
||||
|
||||
|
||||
HapticWaveForms = NamedInts(
|
||||
SHARP_STATE_CHANGE=0x00,
|
||||
DAMP_STATE_CHANGE=0x01,
|
||||
SHARP_COLLISION=0x02,
|
||||
DAMP_COLLISION=0x03,
|
||||
SUBTLE_COLLISION=0x04,
|
||||
HAPPY_ALERT=0x05,
|
||||
ANGRY_ALERT=0x06,
|
||||
COMPLETED=0x07,
|
||||
SQUARE=0x08,
|
||||
WAVE=0x09,
|
||||
FIREWORK=0x0A,
|
||||
MAD=0x0B,
|
||||
KNOCK=0x0C,
|
||||
JINGLE=0x0D,
|
||||
RINGING=0xE,
|
||||
WHISPER_COLLISION=0x1B,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -280,7 +280,7 @@ def _process_feature_notification(device: Device, notification: HIDPPNotificatio
|
|||
result = hidpp20.decipher_adc_measurement(notification.data)
|
||||
if result: # if good data and the device was not present then a push is needed
|
||||
device.set_battery_info(result[1])
|
||||
device.changed(active=True, alert=Alert.ALL, reason=_("ADC measurement notification"), push=not old_present)
|
||||
device.changed(active=True, alert=Alert.NONE, reason=_("ADC measurement notification"), push=not old_present)
|
||||
else: # this feature is also used to signal device becoming inactive
|
||||
device.present = False # exception to device presence
|
||||
device.changed(active=False)
|
||||
|
|
|
|||
|
|
@ -599,6 +599,6 @@ def create_receiver(low_level: LowLevelInterface, device_info, setting_callback=
|
|||
except OSError as e:
|
||||
logger.exception("open %s", device_info)
|
||||
if e.errno == errno.EACCES:
|
||||
raise
|
||||
raise e
|
||||
except Exception:
|
||||
logger.exception("open %s", device_info)
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ SENSITIVITY_IGNORE = "ignore"
|
|||
|
||||
|
||||
class Kind(IntEnum):
|
||||
NONE = 0
|
||||
TOGGLE = 0x01
|
||||
CHOICE = 0x02
|
||||
RANGE = 0x04
|
||||
|
|
@ -43,6 +44,8 @@ class Kind(IntEnum):
|
|||
PACKED_RANGE = 0x20
|
||||
MULTIPLE_RANGE = 0x40
|
||||
HETERO = 0x80
|
||||
MAP_RANGE = 0x102
|
||||
COLOR = 0x200
|
||||
|
||||
|
||||
class Setting:
|
||||
|
|
@ -55,6 +58,7 @@ class Setting:
|
|||
rw_options = {}
|
||||
validator_class = None
|
||||
validator_options = {}
|
||||
display = True # display setting in UI
|
||||
|
||||
def __init__(self, device, rw, validator):
|
||||
self._device = device
|
||||
|
|
|
|||
|
|
@ -0,0 +1,206 @@
|
|||
## Copyright (C) 2025 Solaar contributors
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
## the Free Software Foundation; either version 2 of the License, or
|
||||
## (at your option) any later version.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU General Public License along
|
||||
## with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
## A new way of supporting settings, using a feature-specifi device class to store, read, and write relevant information
|
||||
## The setting uses the device class to interact with the device feature.
|
||||
## The setting uses a persist class to keep track of the setting.
|
||||
|
||||
## Interface:
|
||||
|
||||
import logging
|
||||
|
||||
from .settings import Kind
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class Setting:
|
||||
name = None # Solaar internal name for the setting
|
||||
label = None # Solaar user name for the setting (translatable)
|
||||
description = None # Solaar extra desciption for the setting (translatable)
|
||||
feature = None # Logitech feature that the setting uses
|
||||
min_version = 0 # Minimum version of the feature needed
|
||||
setup = None # method name on Device class to get the device object
|
||||
get = None # method name on the device object to get the setting value
|
||||
set = None # method name on the device object to set the setting value
|
||||
acceptable = None # method name on the device object to check for acceptable values
|
||||
choices_universe = None # All possible acceptable keys, for settings with keys
|
||||
kind = Kind.NONE # What GUI interface to use
|
||||
persist = True # Whether to remember the setting
|
||||
display = True # display setting in UI
|
||||
_device = None # The device that this setting is for
|
||||
_device_object = None # The object that interacts with the feature for the device
|
||||
_value = None # Stored value as maintained by Solaar, used for persistence
|
||||
|
||||
def __init__(self, device, device_object):
|
||||
self._device = device
|
||||
self._device_object = device_object
|
||||
|
||||
@classmethod
|
||||
def build(cls, device):
|
||||
cls.check_properties(cls)
|
||||
device_object = getattr(device, cls.setup)()
|
||||
if device_object:
|
||||
setting = cls(device, device_object)
|
||||
return setting
|
||||
|
||||
@classmethod
|
||||
def check_properties(cl, cls):
|
||||
assert cls.name and cls.label and cls.description, "New settings require a name, label, and description"
|
||||
assert cls.feature, "New settings require a feature"
|
||||
assert cls.setup, "New settings require a setup device method"
|
||||
assert cls.get and cls.set and cls.acceptable, "New settings require get, set, and acceptable methods"
|
||||
|
||||
def setup_from_class(self, clss):
|
||||
"""Copy settings methods for a new setting from a settting class"""
|
||||
self.name = clss.name
|
||||
self.label = clss.label
|
||||
self.description = clss.description
|
||||
self.feature = clss.feature
|
||||
self.min_version = clss.min_version
|
||||
self.setup = clss.setup
|
||||
self.get = clss.get
|
||||
self.set = clss.set
|
||||
self.acceptable = clss.acceptable
|
||||
self.choices_universe = clss.choices_universe
|
||||
self.kind = clss.kind
|
||||
self.persist = clss.persist
|
||||
|
||||
def _pre_read(self, cached):
|
||||
"""Get information from and save information to the persister"""
|
||||
# Get the persister map if available and not done already
|
||||
if self.persist and self._value is None and getattr(self._device, "persister", None):
|
||||
self._value = self._device.persister.get(self.name)
|
||||
# If this is new save its current value for the next time
|
||||
if cached and self._value is not None:
|
||||
if getattr(self._device, "persister", None) and self.name not in self._device.persister:
|
||||
self._device.persister[self.name] = self._value if self.persist else None
|
||||
|
||||
def read(self, cached=True):
|
||||
"""Get all the data for the setting. If cached is True the data in the _value can be used."""
|
||||
self._pre_read(cached)
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("%s: setting read %r from %s", self.name, self._value, self._device)
|
||||
if cached and self._value is not None:
|
||||
return self._value
|
||||
if cached:
|
||||
self._value = getattr(self._device_object, self.get)()
|
||||
return self._value
|
||||
if self._device.online:
|
||||
self._value = getattr(self._device_object.query(), self.get)()
|
||||
return self._value
|
||||
|
||||
def write(self, value, save=True):
|
||||
"""Write the value to the device. If saved is True also save in the persister"""
|
||||
pass ## fill out
|
||||
|
||||
def apply(self):
|
||||
"""Write saved data to the device, using persisted data if available"""
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("%s: apply (%s)", self.name, self._device)
|
||||
value = None
|
||||
try:
|
||||
value = self.read(self.persist) # Don't use persisted value if setting doesn't persist
|
||||
if self.persist and value is not None: # If setting doesn't persist no need to write value just read
|
||||
self.write(value, save=False)
|
||||
except Exception as e:
|
||||
if logger.isEnabledFor(logging.WARNING):
|
||||
logger.warning("%s: error applying %s so ignore it (%s): %s", self.name, value, self._device, repr(e))
|
||||
|
||||
@property
|
||||
def range(self):
|
||||
if self.kind == Kind.RANGE:
|
||||
return self.min_value, self.max_value
|
||||
|
||||
def val_to_string(self, value):
|
||||
return str(value)
|
||||
|
||||
|
||||
## key mapping from symbols to values????
|
||||
|
||||
|
||||
class Settings(Setting):
|
||||
"""A setting descriptor for multiple keys.
|
||||
Supported by a class that provides the interface to the device, see ForceSensingButtonArray in hidpp20.py
|
||||
Picks out a field from the mapped device feature objects."""
|
||||
|
||||
# setup creates a dictionary with entries for all the keys
|
||||
# _value is a map from keys to values
|
||||
# get, set, and acceptable are methods of dict value objects, not of the device object itself #### FIX THIS! MAYBE??
|
||||
|
||||
def __init__(self, device, device_object):
|
||||
super().__init__(device, device_object)
|
||||
self._value = {}
|
||||
|
||||
def read(self, cached=True):
|
||||
self._pre_read(cached)
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("%s: settings read %r from %s", self.name, self._value, self._device)
|
||||
for key in self._device_object:
|
||||
self.read_key(key, cached)
|
||||
return self._value
|
||||
|
||||
def read_key(self, key, cached=True):
|
||||
"""Get the data for the key. If cached is True the data in the device_object can be used."""
|
||||
self._pre_read(cached)
|
||||
if key not in self._device_object:
|
||||
logger.error("%s: settings illegal read key %r for %s", self.name, key, self._device)
|
||||
return None
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("%s: settings key %r read %r from %s", self.name, key, self._value, self._device)
|
||||
if cached and key in self._value and self._value[key] is not None:
|
||||
return self._value[key]
|
||||
if cached:
|
||||
data = self._device_object[key]
|
||||
self._value[key] = getattr(data, self.get)()
|
||||
return self._value[key]
|
||||
if self._device.online:
|
||||
data = self._device_object.query_key(key)
|
||||
self._value[key] = getattr(data, self.get)()
|
||||
return self._value[key]
|
||||
|
||||
def write(self, value, save=True):
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("%s: settings read %r from %s", self.name, self._value, self._device)
|
||||
if isinstance(value, dict):
|
||||
for key, val in value.items():
|
||||
self.write_key_value(key, val, save)
|
||||
else: # to mimic interface for non-dict setting
|
||||
key = next(iter(self._device_object))
|
||||
self.write_key_value(key, value, save)
|
||||
return value
|
||||
|
||||
def write_key_value(self, key, value, save=True):
|
||||
"""Write the data for the key. If saved is True also save in the persister"""
|
||||
if key not in self._device_object:
|
||||
logger.error("%s: settings illegal write key %r for %s", self.name, key, self._device)
|
||||
return None
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("%s: settings write key %r value %r to %s", self.name, key, value, self._device)
|
||||
if self._device.online:
|
||||
if self._device_object[key] is None:
|
||||
self.read_key(key)
|
||||
if self._device_object[key] is None:
|
||||
logger.error("%s: settings illegal write key %r for %s", self.name, key, self._device)
|
||||
return None
|
||||
if not getattr(self._device_object[key], self.acceptable)(value):
|
||||
logger.error("%s: settings illegal write key %r value %r for %s", self.name, key, value, self._device)
|
||||
return None
|
||||
self._value[key] = value
|
||||
if self._device.persister and self.persist and save:
|
||||
self._device.persister[self.name][key] = value
|
||||
getattr(self._device_object[key], self.set)(value)
|
||||
return value
|
||||
|
|
@ -36,6 +36,7 @@ from . import exceptions
|
|||
from . import hidpp20
|
||||
from . import hidpp20_constants
|
||||
from . import settings
|
||||
from . import settings_new
|
||||
from . import settings_validator
|
||||
from . import special_keys
|
||||
from .hidpp10_constants import Registers
|
||||
|
|
@ -99,8 +100,11 @@ class State(enum.Enum):
|
|||
# mask is used to keep only some bits from a sequence of bits, this can be an integer or a byte string,
|
||||
# read_skip_byte_count is the number of bytes to ignore at the beginning of the read value (default 0),
|
||||
# write_prefix_bytes is a byte string to write before the value (default empty).
|
||||
|
||||
# RangeValidator is for an integer in a range. It takes
|
||||
# byte_count is number of bytes that the value is stored in (defaults to size of max_value).
|
||||
# read_skip_byte_count is as for BooleanV
|
||||
# write_prefix_bytes is as for BooleanV
|
||||
# RangeValidator uses min_value and max_value from the setting class as minimum and maximum.
|
||||
|
||||
# ChoicesValidator is for symbolic choices. It takes one positional and three keyword arguments:
|
||||
|
|
@ -698,6 +702,38 @@ class ScrollRatchetEnhanced(ScrollRatchet):
|
|||
rw_options = {"read_fnid": 0x10, "write_fnid": 0x20}
|
||||
|
||||
|
||||
class ScrollRatchetTorque(settings.Setting):
|
||||
name = "scroll-ratchet-torque"
|
||||
label = _("Scroll Wheel Ratchet Torque")
|
||||
description = _("Change the torque needed to overcome the ratchet.")
|
||||
feature = _F.SMART_SHIFT_ENHANCED
|
||||
min_value = 1
|
||||
max_value = 100
|
||||
rw_options = {"read_fnid": 0x10, "write_fnid": 0x20}
|
||||
|
||||
class rw_class(settings.FeatureRW):
|
||||
def write(self, device, data_bytes):
|
||||
ratchetSetting = next(filter(lambda s: s.name == "scroll-ratchet", device.settings), None)
|
||||
if ratchetSetting: # for MX Master 4, the ratchet setting needs to be written for changes to take effect
|
||||
ratchet_value = ratchetSetting.read(True)
|
||||
data_bytes = ratchet_value.to_bytes(1, "big") + data_bytes[1:]
|
||||
result = super().write(device, data_bytes)
|
||||
return result
|
||||
|
||||
class validator_class(settings_validator.RangeValidator):
|
||||
@classmethod
|
||||
def build(cls, setting_class, device):
|
||||
reply = device.feature_request(_F.SMART_SHIFT_ENHANCED, 0x00)
|
||||
if reply[0] & 0x01: # device supports tunable torque
|
||||
return cls(
|
||||
min_value=setting_class.min_value,
|
||||
max_value=setting_class.max_value,
|
||||
byte_count=1,
|
||||
write_prefix_bytes=b"\x00\x00", # don't change mode or disengage, but see above
|
||||
read_skip_byte_count=2,
|
||||
)
|
||||
|
||||
|
||||
# the keys for the choice map are Logitech controls (from special_keys)
|
||||
# each choice value is a NamedInt with the string from a task (to be shown to the user)
|
||||
# and the integer being the control number for that task (to be written to the device)
|
||||
|
|
@ -980,7 +1016,7 @@ def produce_dpi_list(feature, function, ignore, device, direction):
|
|||
class AdjustableDpi(settings.Setting):
|
||||
name = "dpi"
|
||||
label = _("Sensitivity (DPI)")
|
||||
description = _("Mouse movement sensitivity")
|
||||
description = _("Mouse movement sensitivity") + "\n" + _("May need Onboard Profiles set to Disable to be effective.")
|
||||
feature = _F.ADJUSTABLE_DPI
|
||||
rw_options = {"read_fnid": 0x20, "write_fnid": 0x30}
|
||||
choices_universe = common.NamedInts.range(100, 4000, str, 50)
|
||||
|
|
@ -1608,7 +1644,7 @@ class LEDZoneSetting(settings.Setting):
|
|||
label = _("LED Zone Effects")
|
||||
description = _("Set effect for LED Zone") + "\n" + _("LED Control needs to be set to Solaar to be effective.")
|
||||
feature = _F.COLOR_LED_EFFECTS
|
||||
color_field = {"name": _LEDP.color, "kind": settings.Kind.CHOICE, "label": None, "choices": colors}
|
||||
color_field = {"name": _LEDP.color, "kind": settings.Kind.COLOR, "label": _("Color")}
|
||||
speed_field = {"name": _LEDP.speed, "kind": settings.Kind.RANGE, "label": _("Speed"), "min": 0, "max": 255}
|
||||
period_field = {"name": _LEDP.period, "kind": settings.Kind.RANGE, "label": _("Period"), "min": 100, "max": 5000}
|
||||
intensity_field = {"name": _LEDP.intensity, "kind": settings.Kind.RANGE, "label": _("Intensity"), "min": 0, "max": 100}
|
||||
|
|
@ -1744,6 +1780,101 @@ class PerKeyLighting(settings.Settings):
|
|||
return result
|
||||
|
||||
|
||||
# Allow changes to force sensing buttons
|
||||
class ForceSensing(settings_new.Settings):
|
||||
name = "force-sensing"
|
||||
label = _("Force Sensing Buttons")
|
||||
description = _("Change the force required to activate button.")
|
||||
feature = _F.FORCE_SENSING_BUTTON
|
||||
setup = "force_buttons"
|
||||
get = "get_current"
|
||||
set = "set_current"
|
||||
acceptable = "acceptable_current_key"
|
||||
choices_universe = list(range(0, 256))
|
||||
kind = settings.Kind.MAP_RANGE
|
||||
|
||||
@classmethod
|
||||
def build(cls, device):
|
||||
cls.check_properties(cls)
|
||||
device_object = getattr(device, cls.setup)()
|
||||
if device_object:
|
||||
setting = cls(device, device_object)
|
||||
if setting and len(device_object) == 1:
|
||||
## If there is only one force button a simpler interface can be used
|
||||
setting.label = _("Force Sensing Button")
|
||||
setting.acceptable = "acceptable_current"
|
||||
setting.min_value = device_object[0].min_value
|
||||
setting.max_value = device_object[0].max_value
|
||||
setting.kind = settings.Kind.RANGE
|
||||
return setting
|
||||
|
||||
|
||||
class HapticLevel(settings.Setting):
|
||||
name = "haptic-level"
|
||||
label = _("Haptic Feeback Level")
|
||||
description = _("Change power of haptic feedback. (Zero to turn off.)")
|
||||
feature = _F.HAPTIC
|
||||
choices_universe = common.NamedInts(Off=0, Low=25, Medium=50, High=75, Maximum=100)
|
||||
min_value = 0
|
||||
max_value = 100
|
||||
|
||||
class rw_class(settings.FeatureRW):
|
||||
def __init__(self, feature):
|
||||
super().__init__(feature, read_fnid=0x10, write_fnid=0x20)
|
||||
|
||||
def read(self, device, data_bytes=b""):
|
||||
result = device.feature_request(self.feature, 0x10)
|
||||
if result[0] & 0x01 == 0: # disabled, return 0
|
||||
return b"\x00"
|
||||
else: # enabled, return second byte
|
||||
return result[1:2]
|
||||
|
||||
def write(self, device, data_bytes):
|
||||
if data_bytes == b"\x00":
|
||||
write_bytes = b"\x00\x32" # disable, at 50 percent
|
||||
else:
|
||||
write_bytes = b"\x01" + data_bytes
|
||||
reply = device.feature_request(self.feature, 0x20, write_bytes)
|
||||
return reply
|
||||
|
||||
@classmethod
|
||||
def build(cls, device):
|
||||
response = device.feature_request(cls.feature, 0x10)
|
||||
if response:
|
||||
rw = cls.rw_class(cls.feature)
|
||||
levels = response[2] & 0x01
|
||||
if levels: # device only has four levels
|
||||
validator = settings_validator.ChoicesValidator(choices=cls.choices_universe)
|
||||
else: # device has all levels
|
||||
validator = settings_validator.RangeValidator(min_value=cls.min_value, max_value=cls.max_value)
|
||||
return cls(device, rw, validator)
|
||||
|
||||
|
||||
# This setting is not displayed in the UI
|
||||
# Use `solaar config <device> haptic-play <form>` to play a haptic form
|
||||
class PlayHapticWaveForm(settings.Setting):
|
||||
name = "haptic-play"
|
||||
label = _("Play Haptic Waveform")
|
||||
description = _("Tell device to play a haptic waveform.")
|
||||
feature = _F.HAPTIC
|
||||
choices_universe = hidpp20_constants.HapticWaveForms
|
||||
rw_options = {"read_fnid": None, "write_fnid": 0x40} # nothing to read
|
||||
persist = False # persisting this setting is useless
|
||||
display = False # don't display in UI, interact using `solaar config ...`
|
||||
|
||||
class validator_class(settings_validator.ChoicesValidator):
|
||||
@classmethod
|
||||
def build(cls, setting_class, device):
|
||||
response = device.feature_request(_F.HAPTIC, 0x00)
|
||||
if response:
|
||||
waves = common.NamedInts()
|
||||
waveforms = int.from_bytes(response[4:8])
|
||||
for waveform in hidpp20_constants.HapticWaveForms:
|
||||
if (1 << int(waveform)) & waveforms:
|
||||
waves[int(waveform)] = str(waveform)
|
||||
return cls(choices=waves, byte_count=1)
|
||||
|
||||
|
||||
SETTINGS: list[settings.Setting] = [
|
||||
RegisterHandDetection, # simple
|
||||
RegisterSmoothScroll, # simple
|
||||
|
|
@ -1756,6 +1887,7 @@ SETTINGS: list[settings.Setting] = [
|
|||
HiresSmoothResolution, # working
|
||||
HiresMode, # simple
|
||||
ScrollRatchet, # simple
|
||||
ScrollRatchetTorque,
|
||||
SmartShift, # working
|
||||
ScrollRatchetEnhanced,
|
||||
SmartShiftEnhanced, # simple
|
||||
|
|
@ -1788,6 +1920,7 @@ SETTINGS: list[settings.Setting] = [
|
|||
PersistentRemappableAction,
|
||||
DivertKeys, # working
|
||||
DisableKeyboardKeys, # working
|
||||
ForceSensing,
|
||||
CrownSmooth, # working
|
||||
DivertCrown, # working
|
||||
DivertGkeys, # working
|
||||
|
|
@ -1799,6 +1932,8 @@ SETTINGS: list[settings.Setting] = [
|
|||
Gesture2Gestures, # working
|
||||
Gesture2Divert,
|
||||
Gesture2Params, # working
|
||||
HapticLevel,
|
||||
PlayHapticWaveForm,
|
||||
Sidetone,
|
||||
Equalizer,
|
||||
ADCPower,
|
||||
|
|
@ -1898,10 +2033,12 @@ def check_feature(device, settings_class: SettingsProtocol) -> None | bool | Set
|
|||
return
|
||||
if settings_class.min_version > device.features.get_feature_version(settings_class.feature):
|
||||
return
|
||||
if device.features.get_hidden(settings_class.feature):
|
||||
return
|
||||
try:
|
||||
detected = settings_class.build(device)
|
||||
if logger.isEnabledFor(logging.DEBUG):
|
||||
logger.debug("check_feature %s [%s] detected %s", settings_class.name, settings_class.feature, detected)
|
||||
logger.debug("check_feature %s [%s] detected", settings_class.name, settings_class.feature)
|
||||
return detected
|
||||
except Exception as e:
|
||||
logger.error(
|
||||
|
|
|
|||
|
|
@ -531,12 +531,13 @@ class RangeValidator(Validator):
|
|||
kwargs["max_value"] = setting_class.max_value
|
||||
return cls(**kwargs)
|
||||
|
||||
def __init__(self, min_value=0, max_value=255, byte_count=1):
|
||||
def __init__(self, min_value=0, max_value=255, byte_count=1, read_skip_byte_count=0, write_prefix_bytes=b""):
|
||||
assert max_value > min_value
|
||||
self.min_value = min_value
|
||||
self.max_value = max_value
|
||||
self.read_skip_byte_count = read_skip_byte_count
|
||||
self.write_prefix_bytes = write_prefix_bytes
|
||||
self.needs_current_value = True # read and check before write (needed for ADC power and probably a good idea anyway)
|
||||
|
||||
self._byte_count = math.ceil(math.log(max_value + 1, 256))
|
||||
if byte_count:
|
||||
assert self._byte_count <= byte_count
|
||||
|
|
@ -544,7 +545,7 @@ class RangeValidator(Validator):
|
|||
assert self._byte_count < 8
|
||||
|
||||
def validate_read(self, reply_bytes):
|
||||
reply_value = common.bytes2int(reply_bytes[: self._byte_count])
|
||||
reply_value = common.bytes2int(reply_bytes[self.read_skip_byte_count : self.read_skip_byte_count + self._byte_count])
|
||||
assert reply_value >= self.min_value, f"{self.__class__.__name__}: failed to validate read value {reply_value:02X}"
|
||||
assert reply_value <= self.max_value, f"{self.__class__.__name__}: failed to validate read value {reply_value:02X}"
|
||||
return reply_value
|
||||
|
|
@ -553,7 +554,7 @@ class RangeValidator(Validator):
|
|||
if new_value < self.min_value or new_value > self.max_value:
|
||||
raise ValueError(f"invalid choice {new_value!r}")
|
||||
current_value = self.validate_read(current_value) if current_value is not None else None
|
||||
to_write = common.int2bytes(new_value, self._byte_count)
|
||||
to_write = self.write_prefix_bytes + common.int2bytes(new_value, self._byte_count)
|
||||
# current value is known and same as value to be written return None to signal not to write it
|
||||
return None if current_value is not None and current_value == new_value else to_write
|
||||
|
||||
|
|
|
|||
|
|
@ -29,19 +29,22 @@ from .common import UnsortedNamedInts
|
|||
_XDG_CONFIG_HOME = os.environ.get("XDG_CONFIG_HOME") or os.path.expanduser(os.path.join("~", ".config"))
|
||||
_keys_file_path = os.path.join(_XDG_CONFIG_HOME, "solaar", "keys.yaml")
|
||||
|
||||
|
||||
# Original set done as
|
||||
# <controls.xml awk -F\" '/<Control /{sub(/^LD_FINFO_(CTRLID_)?/, "", $2);printf("\t%s=0x%04X,\n", $2, $4)}' | sort -t= -k2
|
||||
# Keys added afterwards based on information from Logitech and users
|
||||
CONTROL = NamedInts(
|
||||
{
|
||||
"Volume_Up": 0x0001,
|
||||
"Volume_Down": 0x0002,
|
||||
"Volume_Up_old": 0x0001,
|
||||
"Volume_Down_old": 0x0002,
|
||||
"Mute": 0x0003,
|
||||
"Play__Pause": 0x0004,
|
||||
"Play__Pause_old": 0x0004,
|
||||
"Next": 0x0005,
|
||||
"Previous": 0x0006,
|
||||
"Stop": 0x0007,
|
||||
"Application_Switcher": 0x0008,
|
||||
"Burn": 0x0009,
|
||||
"Calculator": 0x000A, # Craft Keyboard top 4th from right
|
||||
"Calculator": 0x000A, # Craft Keyboard top 4th from right; Logitech
|
||||
"Calendar": 0x000B,
|
||||
"Close": 0x000C,
|
||||
"Eject": 0x000D,
|
||||
|
|
@ -55,7 +58,7 @@ CONTROL = NamedInts(
|
|||
"Undo_As_HID": 0x0015,
|
||||
"Redo_As_Ctrl_Y": 0x0016,
|
||||
"Redo_As_HID": 0x0017,
|
||||
"Print_As_Ctrl_P": 0x0018,
|
||||
"Print_As_Ctrl_P": 0x0018, # Logitech, modified
|
||||
"Print_As_HID": 0x0019,
|
||||
"Save_As_Ctrl_S": 0x001A,
|
||||
"Save_As_HID": 0x001B,
|
||||
|
|
@ -110,13 +113,13 @@ CONTROL = NamedInts(
|
|||
"Pause_Break": 0x004D,
|
||||
"Scroll_Lock": 0x004E,
|
||||
"Contextual_Menu": 0x004F,
|
||||
"Left_Button": 0x0050, # LEFT_CLICK
|
||||
"Right_Button": 0x0051, # RIGHT_CLICK
|
||||
"Middle_Button": 0x0052, # MIDDLE_BUTTON
|
||||
"Back_Button": 0x0053, # from M510v2 was BACK_AS_BUTTON_4
|
||||
"Left_Button": 0x0050, # LEFT_CLICK; Logitech
|
||||
"Right_Button": 0x0051, # RIGHT_CLICK; Logitech
|
||||
"Middle_Button": 0x0052, # MIDDLE_BUTTON; Logitech
|
||||
"Back_Button": 0x0053, # from M510v2 was BACK_AS_BUTTON_4; Logitech
|
||||
"Back": 0x0054, # BACK_AS_HID
|
||||
"Back_As_Alt_Win_Arrow": 0x0055,
|
||||
"Forward_Button": 0x0056, # from M510v2 was FORWARD_AS_BUTTON_5
|
||||
"Forward_Button": 0x0056, # from M510v2 was FORWARD_AS_BUTTON_5; Logitech
|
||||
"Forward_As_HID": 0x0057,
|
||||
"Forward_As_Alt_Win_Arrow": 0x0058,
|
||||
"Button_6": 0x0059,
|
||||
|
|
@ -140,8 +143,8 @@ CONTROL = NamedInts(
|
|||
"Button_22": 0x006B,
|
||||
"Button_23": 0x006C,
|
||||
"Button_24": 0x006D,
|
||||
"Show_Desktop": 0x006E, # Craft Keyboard Fn F5
|
||||
"Lock_PC": 0x006F, # Craft Keyboard top 1st from right
|
||||
"Show_Desktop": 0x006E, # Craft Keyboard Fn F5; Logitch
|
||||
"Screen_Lock": 0x006F, # Craft Keyboard top 1st from right; Logitech
|
||||
"Fn_F1": 0x0070,
|
||||
"Fn_F2": 0x0071,
|
||||
"Fn_F3": 0x0072,
|
||||
|
|
@ -189,7 +192,7 @@ CONTROL = NamedInts(
|
|||
"Metro_Search": 0x00A3,
|
||||
"Combo_Sleep": 0x00A4,
|
||||
"Metro_Share": 0x00A5,
|
||||
"Metro_Settings": 0x00A6,
|
||||
"OS_Settings": 0x00A6, # Logitech
|
||||
"Metro_Devices": 0x00A7,
|
||||
"Metro_Start_Screen": 0x00A9,
|
||||
"Zoomin": 0x00AA,
|
||||
|
|
@ -212,23 +215,23 @@ CONTROL = NamedInts(
|
|||
"Fn_Down": 0x00C0,
|
||||
"Fn_Up": 0x00C1,
|
||||
"Multiplatform_Lock": 0x00C2,
|
||||
"Mouse_Gesture_Button": 0x00C3, # Thumb_Button on MX Master - Logitech name App_Switch_Gesture
|
||||
"Smart_Shift": 0x00C4, # Top_Button on MX Master
|
||||
"Mouse_Gesture_Button": 0x00C3, # Thumb_Button on MX Master - Logitech name App_Switch_Gesture; Logitech
|
||||
"Smart_Shift": 0x00C4, # Top_Button on MX Master; Logitech
|
||||
"Microphone": 0x00C5,
|
||||
"Wifi": 0x00C6,
|
||||
"Brightness_Down": 0x00C7, # Craft Keyboard Fn F1
|
||||
"Brightness_Up": 0x00C8, # Craft Keyboard Fn F2
|
||||
"Brightness_Down": 0x00C7, # Craft Keyboard Fn F1, Logitech
|
||||
"Brightness_Up": 0x00C8, # Craft Keyboard Fn F2, Logitech
|
||||
"Display_Out__Project_Screen_": 0x00C9,
|
||||
"View_Open_Apps": 0x00CA,
|
||||
"View_All_Apps": 0x00CB,
|
||||
"Switch_App": 0x00CC,
|
||||
"Fn_Inversion_Change": 0x00CD,
|
||||
"MultiPlatform_Back": 0x00CE,
|
||||
"MultiPlatform_Back": 0x00CE, # Logitech
|
||||
"MultiPlatform_Forward": 0x00CF,
|
||||
"MultiPlatform_Gesture_Button": 0x00D0,
|
||||
"Host_Switch_Channel_1": 0x00D1, # Craft Keyboard
|
||||
"Host_Switch_Channel_2": 0x00D2, # Craft Keyboard
|
||||
"Host_Switch_Channel_3": 0x00D3, # Craft Keyboard
|
||||
"Host_Switch_Channel_1": 0x00D1, # Craft Keyboard; Logitech
|
||||
"Host_Switch_Channel_2": 0x00D2, # Craft Keyboard; Logitech
|
||||
"Host_Switch_Channel_3": 0x00D3, # Craft Keyboard; Logitech
|
||||
"MultiPlatform_Search": 0x00D4,
|
||||
"MultiPlatform_Home__Mission_Control": 0x00D5,
|
||||
"MultiPlatform_Menu__Show__Hide_Virtual_Keyboard__Launchpad": 0x00D6,
|
||||
|
|
@ -241,21 +244,21 @@ CONTROL = NamedInts(
|
|||
"Multi_Platform_Language_Switch": 0x00DD,
|
||||
"F_Lock": 0x00DE,
|
||||
"Switch_Highlight": 0x00DF,
|
||||
"Mission_Control__Task_View": 0x00E0, # Craft Keyboard Fn F3 Switch_Workspace
|
||||
"Mission_Control__Task_View": 0x00E0, # Craft Keyboard Fn F3 Switch_Workspace; Logitech
|
||||
"Dashboard_Launchpad__Action_Center": 0x00E1, # Craft Keyboard Fn F4 Application_Launcher
|
||||
"Backlight_Down": 0x00E2, # Craft Keyboard Fn F6
|
||||
"Backlight_Up": 0x00E3, # Craft Keyboard Fn F7
|
||||
"Previous_Fn": 0x00E4, # Craft Keyboard Fn F8 Previous_Track
|
||||
"Play__Pause_Fn": 0x00E5, # Craft Keyboard Fn F9 Play__Pause
|
||||
"Next_Fn": 0x00E6, # Craft Keyboard Fn F10 Next_Track
|
||||
"Mute_Fn": 0x00E7, # Craft Keyboard Fn F11 Mute
|
||||
"Volume_Down_Fn": 0x00E8, # Craft Keyboard Fn F12 Volume_Down
|
||||
"Volume_Up_Fn": 0x00E9, # Craft Keyboard next to F12 Volume_Down
|
||||
"Backlight_Down": 0x00E2, # Craft Keyboard Fn F6, Logitech
|
||||
"Backlight_Up": 0x00E3, # Craft Keyboard Fn F7, Logitech
|
||||
"Previous_Track": 0x00E4, # Craft Keyboard Fn F8 Previous_Track; Logitech
|
||||
"Play__Pause": 0x00E5, # Craft Keyboard Fn F9 Play__Pause; Logitech
|
||||
"Next_Track": 0x00E6, # Craft Keyboard Fn F10 Next_Track; Logitech
|
||||
"Mute_Sound": 0x00E7, # Craft Keyboard Fn F11 Mute; Logitech
|
||||
"Volume_Down": 0x00E8, # Craft Keyboard Fn F12 Volume_Down; Logitech
|
||||
"Volume_Up": 0x00E9, # Craft Keyboard next to F12 Volume_Down; Logitech
|
||||
"App_Contextual_Menu__Right_Click": 0x00EA, # Craft Keyboard top 2nd from right
|
||||
"Right_Arrow": 0x00EB,
|
||||
"Left_Arrow": 0x00EC,
|
||||
"DPI_Change": 0x00ED,
|
||||
"New_Tab": 0x00EE,
|
||||
"Open_New_Tab": 0x00EE, # Logitech
|
||||
"F2": 0x00EF,
|
||||
"F3": 0x00F0,
|
||||
"F4": 0x00F1,
|
||||
|
|
@ -271,20 +274,20 @@ CONTROL = NamedInts(
|
|||
"Laser_Button_Short_Press": 0x00FB,
|
||||
"Laser_Button_Long_Press": 0x00FC,
|
||||
"DPI_Switch": 0x00FD,
|
||||
"Multiplatform_Home__Show_Desktop": 0x00FE,
|
||||
"Multiplatform_Home__Show_Desktop": 0x00FE, # Logitech
|
||||
"Multiplatform_App_Switch__Show_Dashboard": 0x00FF,
|
||||
"Multiplatform_App_Switch_2": 0x0100, # Multiplatform_App_Switch
|
||||
"Fn_Inversion__Hot_Key": 0x0101,
|
||||
"LeftAndRightClick": 0x0102,
|
||||
"Voice_Dictation": 0x0103, # MX Keys for Business Fn F5 ; MX Mini Fn F6 Dictation
|
||||
"Emoji_Smiley_Heart_Eyes": 0x0104,
|
||||
"Emoji_Crying_Face": 0x0105,
|
||||
"Emoji_Smiley": 0x0106,
|
||||
"Emoji_Smilie_With_Tears": 0x0107,
|
||||
"Open_Emoji_Panel": 0x0108, # MX Keys for Business Fn F6 ; MX Mini Fn F7 Emoji
|
||||
"Multiplatform_App_Switch__Launchpad": 0x0109,
|
||||
"Snipping_Tool": 0x010A, # MX Keys for Business top 3rd from right; MX Mini Fn F8 Screenshot
|
||||
"Grave_Accent": 0x010B,
|
||||
"Dictation": 0x0103, # MX Keys for Business Fn F5 ; MX Mini Fn F6 Dictation; Logitech
|
||||
"Emoji_Smiley_Heart_Eyes": 0x0104, # Logitech
|
||||
"Emoji_Crying_Face": 0x0105, # Logitech
|
||||
"Emoji_Smiley": 0x0106, # Logitech
|
||||
"Emoji_Smilie_With_Tears": 0x0107, # Logitech
|
||||
"Emoji": 0x0108, # MX Keys for Business Fn F6 ; MX Mini Fn F7 Emoji, Logitech
|
||||
"Multiplatform_App_Switch__Launchpad": 0x0109, # Logitech
|
||||
"Screen_Capture": 0x010A, # MX Keys for Business top 3rd from right; MX Mini Fn F8 Screenshot; Logitech
|
||||
"Grave_Accent": 0x010B, # Logitech
|
||||
"Tab_Key": 0x010C,
|
||||
"Caps_Lock": 0x010D,
|
||||
"Left_Shift": 0x010E,
|
||||
|
|
@ -297,21 +300,31 @@ CONTROL = NamedInts(
|
|||
"Right_Shift": 0x0115,
|
||||
"Insert": 0x0116,
|
||||
"Delete": 0x0117, # MX Mini Lock (on delete key in function row)
|
||||
"Home": 0x118,
|
||||
"End": 0x119,
|
||||
"Home": 0x118, # Logitech
|
||||
"End": 0x119, # Logitech
|
||||
"Page_Up": 0x11A,
|
||||
"Page_Down": 0x11B,
|
||||
"Mute_Microphone": 0x11C, # MX Keys for Business Fn F7 ; MX Mini Fn F9 Microphone Mute
|
||||
"Do_Not_Disturb": 0x11D,
|
||||
"Mute_Microphone": 0x11C, # MX Keys for Business Fn F7 ; MX Mini Fn F9 Microphone Mute; Logitech
|
||||
"Do_Not_Disturb": 0x11D, # Logitech
|
||||
"Backslash": 0x11E,
|
||||
"Refresh": 0x11F,
|
||||
"Refresh": 0x11F, # Logitech
|
||||
"Close_Tab": 0x120,
|
||||
"Lang_Switch": 0x121,
|
||||
"Lang_Switch": 0x121, # Logitech
|
||||
"Standard_Key_A": 0x122,
|
||||
"Standard_Key_B": 0x123,
|
||||
"Standard_Key_C": 0x124, # There are lots more of these
|
||||
"Right_Option__Start__2": 0x013C, # On MX Mechanical Mini
|
||||
"Play_Pause": 0x0141, # On MX Mechanical Mini
|
||||
"Play__Pause_mini": 0x0141, # On MX Mechanical Mini
|
||||
"Haptic": 0x01A0, # Logitech
|
||||
"Circle": 0x01A3,
|
||||
"Triangle": 0x01A4,
|
||||
"Diamond": 0x01A5,
|
||||
"Star": 0x01A6,
|
||||
"Cut": 0x1A9, # Logitech
|
||||
"Copy": 0x1AA, # Logitech
|
||||
"Paste": 0x1AB, # Logitech
|
||||
"Video_On_Off": 0x01AC, # Logitech
|
||||
"AI": 0x1B4, # Logitech
|
||||
}
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -278,6 +278,8 @@ def set(dev, setting: SettingsProtocol, args, save):
|
|||
key = args.value_key
|
||||
all_keys = getattr(setting, "choices_universe", None)
|
||||
ikey = all_keys[int(key) if key.isdigit() else key] if isinstance(all_keys, NamedInts) else to_int(key)
|
||||
print("S", args.extra2, key, type(all_keys), ikey)
|
||||
print("SS", args)
|
||||
if args.extra2 is None or to_int(args.extra2) is None:
|
||||
raise Exception(f"{setting.name}: setting needs an integer value, not {args.extra2}")
|
||||
if not setting._value: # ensure that there are values to look through
|
||||
|
|
@ -295,7 +297,19 @@ def set(dev, setting: SettingsProtocol, args, save):
|
|||
result = setting.write_key_value(int(k), item, save=save)
|
||||
value = item
|
||||
|
||||
elif setting.kind == settings.Kind.MAP_RANGE:
|
||||
if args.extra_subkey is None:
|
||||
_print_setting_keyed(setting, args.value_key)
|
||||
return None, None, None
|
||||
key = int(args.value_key)
|
||||
value = int(args.extra_subkey)
|
||||
if key not in setting._device_object:
|
||||
raise Exception(f"{setting.name}: key '{key}' not in setting")
|
||||
message = f"Setting {setting.name} of {dev.name} key {key} to {value}"
|
||||
result = setting.write_key_value(key, value, save=save)
|
||||
|
||||
else:
|
||||
print("KIND", setting.kind)
|
||||
raise Exception("NotImplemented")
|
||||
|
||||
return result, message, value
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ def run(receivers, args, find_receiver, _ignore):
|
|||
assert receiver
|
||||
|
||||
# check if it's necessary to set the notification flags
|
||||
old_notification_flags = _hidpp10.get_notification_flags(receiver) or 0
|
||||
old_notification_flags = _hidpp10.get_notification_flags(receiver)
|
||||
if not (old_notification_flags & hidpp10_constants.NotificationFlag.WIRELESS):
|
||||
_hidpp10.set_notification_flags(receiver, old_notification_flags | hidpp10_constants.NotificationFlag.WIRELESS)
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,10 @@ def run(receivers, args, find_receiver, find_device):
|
|||
if not dev:
|
||||
raise Exception(f"no online device found matching '{device_name}'")
|
||||
|
||||
if not (dev.online and dev.profiles):
|
||||
print(f"Device {dev.name} is either offline or has no onboard profiles")
|
||||
if not dev.online:
|
||||
print(f"Device {dev.name} is offline.")
|
||||
elif not dev.profiles:
|
||||
print(f"Device {dev.name} has no onboard profiles that Solaar supports.")
|
||||
elif not profiles_file:
|
||||
print(f"#Dumping profiles from {dev.name}")
|
||||
print(yaml.dump(dev.profiles))
|
||||
|
|
|
|||
|
|
@ -260,7 +260,8 @@ def _print_device(dev, num=None):
|
|||
v = setting.val_to_string(setting._device.persister.get(setting.name))
|
||||
print(f" {setting.label} (saved): {v}")
|
||||
try:
|
||||
v = setting.val_to_string(setting.read(False))
|
||||
v = setting.read(False)
|
||||
v = setting.val_to_string(v)
|
||||
except exceptions.FeatureCallError as e:
|
||||
v = "HID++ error " + str(e)
|
||||
except AssertionError as e:
|
||||
|
|
|
|||
|
|
@ -342,7 +342,7 @@ def _process_add(device_info: DeviceInfo, retry):
|
|||
except OSError as e:
|
||||
if e.errno == errno.EACCES:
|
||||
try:
|
||||
output = subprocess.check_output(["/usr/bin/getfacl", "-p", device_info.path], text=True)
|
||||
output = subprocess.check_output(["getfacl", "-p", device_info.path], text=True)
|
||||
logger.warning("Missing permissions on %s\n%s.", device_info.path, output)
|
||||
except Exception:
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
import logging
|
||||
import traceback
|
||||
|
||||
from enum import Enum
|
||||
from threading import Timer
|
||||
|
|
@ -47,6 +46,7 @@ class GtkSignal(Enum):
|
|||
NOTIFY_ACTIVE = "notify::active"
|
||||
TOGGLED = "toggled"
|
||||
VALUE_CHANGED = "value-changed"
|
||||
COLOR_SET = "color-set"
|
||||
|
||||
|
||||
def _read_async(setting, force_read, sbox, device_is_online, sensitive):
|
||||
|
|
@ -70,7 +70,6 @@ def _write_async(setting, value, sbox, sensitive=True, key=None):
|
|||
v = setting.write_key_value(key, v)
|
||||
v = {key: v}
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
v = None
|
||||
if sb:
|
||||
GLib.idle_add(_update_setting_item, sb, v, True, sensitive, priority=99)
|
||||
|
|
@ -147,6 +146,11 @@ class SliderControl(Gtk.Scale, Control):
|
|||
self.set_increments(1, 5)
|
||||
self.connect(GtkSignal.VALUE_CHANGED.value, self.changed)
|
||||
|
||||
def set_value(self, value):
|
||||
if isinstance(value, dict):
|
||||
value = next(iter(value.values()))
|
||||
return super().set_value(value)
|
||||
|
||||
def get_value(self):
|
||||
return int(super().get_value())
|
||||
|
||||
|
|
@ -562,6 +566,10 @@ class HeteroKeyControl(Gtk.HBox, Control):
|
|||
item_box.set_active(0)
|
||||
item_box.connect(GtkSignal.CHANGED.value, self.changed)
|
||||
self.pack_start(item_box, False, False, 0)
|
||||
elif item["kind"] == settings.Kind.COLOR:
|
||||
item_box = Gtk.ColorButton()
|
||||
item_box.connect(GtkSignal.COLOR_SET.value, self.changed)
|
||||
self.pack_start(item_box, False, False, 0)
|
||||
elif item["kind"] == settings.Kind.RANGE:
|
||||
item_box = Scale()
|
||||
item_box.set_range(item["min"], item["max"])
|
||||
|
|
@ -576,7 +584,14 @@ class HeteroKeyControl(Gtk.HBox, Control):
|
|||
def get_value(self):
|
||||
result = {}
|
||||
for k, (_lblbox, box) in self._items.items():
|
||||
result[str(k)] = box.get_value()
|
||||
if isinstance(box, Gtk.ColorButton):
|
||||
rgba = box.get_rgba()
|
||||
r = int(rgba.red * 255)
|
||||
g = int(rgba.green * 255)
|
||||
b = int(rgba.blue * 255)
|
||||
result[str(k)] = (r << 16) | (g << 8) | b
|
||||
else:
|
||||
result[str(k)] = box.get_value()
|
||||
result = hidpp20.LEDEffectSetting(**result)
|
||||
return result
|
||||
|
||||
|
|
@ -586,7 +601,13 @@ class HeteroKeyControl(Gtk.HBox, Control):
|
|||
for k, v in value.__dict__.items():
|
||||
if k in self._items:
|
||||
(lblbox, box) = self._items[k]
|
||||
box.set_value(v)
|
||||
if isinstance(box, Gtk.ColorButton):
|
||||
rgba = Gdk.RGBA()
|
||||
color_string = f"#{v:06X}" # e.g. "#FF0000"
|
||||
rgba.parse(color_string)
|
||||
box.set_rgba(rgba)
|
||||
else:
|
||||
box.set_value(v)
|
||||
else:
|
||||
self.sbox._failed.set_visible(True)
|
||||
self.setup_visibles(value.ID if value is not None else 0)
|
||||
|
|
@ -655,6 +676,8 @@ def _change_icon(allowed, icon):
|
|||
|
||||
|
||||
def _create_sbox(s, _device):
|
||||
if not s.display:
|
||||
return
|
||||
sbox = Gtk.HBox(homogeneous=False, spacing=6)
|
||||
sbox.setting = s
|
||||
sbox.kind = s.kind
|
||||
|
|
|
|||
|
|
@ -869,7 +869,7 @@ class SmartComboBox(Gtk.ComboBox):
|
|||
self._all_values = []
|
||||
self._blank = blank
|
||||
self._model = None
|
||||
self._commpletion = completion
|
||||
self._completion = completion
|
||||
self._case_insensitive = case_insensitive
|
||||
self._norm = lambda s: None if s is None else s if not case_insensitive else str(s).upper()
|
||||
self._replace_with_default_name = replace_with_default_name
|
||||
|
|
@ -921,7 +921,7 @@ class SmartComboBox(Gtk.ComboBox):
|
|||
if visible:
|
||||
to_complete += names if names else [str(value).strip()]
|
||||
self.set_model(filtered_model)
|
||||
if self.get_has_entry() and self._commpletion:
|
||||
if self.get_has_entry() and self._completion:
|
||||
CompletionEntry.add_completion_to_entry(self.get_child(), to_complete)
|
||||
if self._find_idx(old_value) is not None:
|
||||
self.set_value(old_value)
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ class KeyPressUI(ActionUI):
|
|||
self.label = Gtk.Label(
|
||||
label=_("Simulate a chorded key click or depress or release.\nOn Wayland requires write access to /dev/uinput."),
|
||||
halign=Gtk.Align.CENTER,
|
||||
justify=Gtk.Justification.CENTER,
|
||||
)
|
||||
self.widgets[self.label] = (0, 0, 5, 1)
|
||||
self.del_btns = []
|
||||
|
|
@ -72,6 +73,7 @@ class KeyPressUI(ActionUI):
|
|||
def _create_field(self):
|
||||
field_entry = CompletionEntry(self.KEY_NAMES, halign=Gtk.Align.CENTER, valign=Gtk.Align.END, hexpand=True)
|
||||
field_entry.connect(GtkSignal.CHANGED.value, self._on_update)
|
||||
field_entry.set_size_request(250, -1)
|
||||
self.fields.append(field_entry)
|
||||
self.widgets[field_entry] = (len(self.fields) - 1, 1, 1, 1)
|
||||
return field_entry
|
||||
|
|
@ -119,7 +121,6 @@ class KeyPressUI(ActionUI):
|
|||
field_entry = self.fields[i]
|
||||
with self.ignore_changes():
|
||||
field_entry.set_text(component.key_names[i])
|
||||
field_entry.set_size_request(int(0.3 * self.panel.get_toplevel().get_size()[0]), 0)
|
||||
field_entry.show_all()
|
||||
self.del_btns[i].show()
|
||||
for i in range(n, len(self.fields)):
|
||||
|
|
@ -149,7 +150,9 @@ class MouseScrollUI(ActionUI):
|
|||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(
|
||||
label=_("Simulate a mouse scroll.\nOn Wayland requires write access to /dev/uinput."), halign=Gtk.Align.CENTER
|
||||
label=_("Simulate a mouse scroll.\nOn Wayland requires write access to /dev/uinput."),
|
||||
halign=Gtk.Align.CENTER,
|
||||
justify=Gtk.Justification.CENTER,
|
||||
)
|
||||
self.widgets[self.label] = (0, 0, 4, 1)
|
||||
self.label_x = Gtk.Label(label="x", halign=Gtk.Align.END, valign=Gtk.Align.END, hexpand=True)
|
||||
|
|
@ -205,11 +208,15 @@ class MouseClickUI(ActionUI):
|
|||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(
|
||||
label=_("Simulate a mouse click.\nOn Wayland requires write access to /dev/uinput."), halign=Gtk.Align.CENTER
|
||||
label=_("Simulate a mouse click.\nOn Wayland requires write access to /dev/uinput."),
|
||||
halign=Gtk.Align.CENTER,
|
||||
justify=Gtk.Justification.CENTER,
|
||||
)
|
||||
self.widgets[self.label] = (0, 0, 4, 1)
|
||||
self.label_b = Gtk.Label(label=_("Button"), halign=Gtk.Align.END, valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label_c = Gtk.Label(label=_("Count and Action"), halign=Gtk.Align.END, valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label_c = Gtk.Label(
|
||||
label=_("Action (and Count, if click)"), halign=Gtk.Align.END, valign=Gtk.Align.CENTER, hexpand=True
|
||||
)
|
||||
self.field_b = CompletionEntry(self.BUTTONS)
|
||||
self.field_c = Gtk.SpinButton.new_with_range(self.MIN_VALUE, self.MAX_VALUE, 1)
|
||||
self.field_d = CompletionEntry(self.ACTIONS)
|
||||
|
|
@ -222,8 +229,8 @@ class MouseClickUI(ActionUI):
|
|||
self.widgets[self.label_b] = (0, 1, 1, 1)
|
||||
self.widgets[self.field_b] = (1, 1, 1, 1)
|
||||
self.widgets[self.label_c] = (2, 1, 1, 1)
|
||||
self.widgets[self.field_c] = (3, 1, 1, 1)
|
||||
self.widgets[self.field_d] = (4, 1, 1, 1)
|
||||
self.widgets[self.field_c] = (4, 1, 1, 1)
|
||||
self.widgets[self.field_d] = (3, 1, 1, 1)
|
||||
|
||||
def show(self, component, editable=True):
|
||||
super().show(component, editable)
|
||||
|
|
@ -258,7 +265,9 @@ class ExecuteUI(ActionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(label=_("Execute a command with arguments."), halign=Gtk.Align.CENTER)
|
||||
self.label = Gtk.Label(
|
||||
label=_("Execute a command with arguments."), halign=Gtk.Align.CENTER, justify=Gtk.Justification.CENTER
|
||||
)
|
||||
self.widgets[self.label] = (0, 0, 5, 1)
|
||||
self.fields = []
|
||||
self.add_btn = Gtk.Button(label=_("Add argument"), halign=Gtk.Align.CENTER, valign=Gtk.Align.END, hexpand=True)
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class ProcessUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("X11 active process. For use in X11 only."))
|
||||
self.widgets[self.label] = (0, 0, 1, 1)
|
||||
self.field = Gtk.Entry(halign=Gtk.Align.CENTER, valign=Gtk.Align.CENTER, hexpand=True)
|
||||
|
|
@ -78,7 +78,7 @@ class MouseProcessUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("X11 mouse process. For use in X11 only."))
|
||||
self.widgets[self.label] = (0, 0, 1, 1)
|
||||
self.field = Gtk.Entry(halign=Gtk.Align.CENTER, valign=Gtk.Align.CENTER, hexpand=True)
|
||||
|
|
@ -119,7 +119,7 @@ class FeatureUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("Feature name of notification triggering rule processing."))
|
||||
self.widgets[self.label] = (0, 0, 1, 1)
|
||||
self.field = Gtk.ComboBoxText.new_with_entry()
|
||||
|
|
@ -165,7 +165,7 @@ class ReportUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("Report number of notification triggering rule processing."))
|
||||
self.widgets[self.label] = (0, 0, 1, 1)
|
||||
self.field = Gtk.SpinButton.new_with_range(self.MIN_VALUE, self.MAX_VALUE, 1)
|
||||
|
|
@ -197,7 +197,7 @@ class ModifiersUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("Active keyboard modifiers. Not always available in Wayland."))
|
||||
self.widgets[self.label] = (0, 0, 5, 1)
|
||||
self.labels = {}
|
||||
|
|
@ -235,7 +235,7 @@ class KeyUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(
|
||||
_(
|
||||
"Diverted key or button depressed or released.\n"
|
||||
|
|
@ -287,7 +287,7 @@ class KeyIsDownUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(
|
||||
_(
|
||||
"Diverted key or button is currently down.\n"
|
||||
|
|
@ -327,7 +327,7 @@ class TestUI(ConditionUI):
|
|||
|
||||
def create_widgets(self):
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("Test condition on notification triggering rule processing."))
|
||||
self.widgets[self.label] = (0, 0, 4, 1)
|
||||
lbl = Gtk.Label(label=_("Test"), halign=Gtk.Align.CENTER, valign=Gtk.Align.END, hexpand=False, vexpand=False)
|
||||
|
|
@ -433,7 +433,7 @@ class TestBytesUI(ConditionUI):
|
|||
self.fields = {}
|
||||
self.field_labels = {}
|
||||
self.widgets = {}
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True)
|
||||
self.label = Gtk.Label(valign=Gtk.Align.CENTER, hexpand=True, justify=Gtk.Justification.CENTER)
|
||||
self.label.set_text(_("Bit or range test on bytes in notification message triggering rule processing."))
|
||||
self.widgets[self.label] = (0, 0, 5, 1)
|
||||
col = 0
|
||||
|
|
@ -534,6 +534,7 @@ class MouseGestureUI(ConditionUI):
|
|||
self.label = Gtk.Label(
|
||||
label=_("Mouse gesture with optional initiating button followed by zero or more mouse movements."),
|
||||
halign=Gtk.Align.CENTER,
|
||||
justify=Gtk.Justification.CENTER,
|
||||
)
|
||||
self.widgets[self.label] = (0, 0, 5, 1)
|
||||
self.del_btns = []
|
||||
|
|
@ -592,7 +593,6 @@ class MouseGestureUI(ConditionUI):
|
|||
field = self.fields[i]
|
||||
with self.ignore_changes():
|
||||
field.get_child().set_text(component.movements[i])
|
||||
field.set_size_request(int(0.3 * self.panel.get_toplevel().get_size()[0]), 0)
|
||||
field.show_all()
|
||||
self.del_btns[i].show()
|
||||
for i in range(n, len(self.fields)):
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
1.1.14
|
||||
1.1.17
|
||||
|
|
|
|||
16
mkdocs.yml
16
mkdocs.yml
|
|
@ -3,22 +3,22 @@ site_description: Linux Device Manager for Logitech Unifying Receivers and Devic
|
|||
site_author: pwr-Solaar
|
||||
repo_url: https://github.com/pwr-Solaar/Solaar
|
||||
repo_name: Solaar
|
||||
logo: img/favicon.png
|
||||
theme:
|
||||
name: readthedocs
|
||||
docs_dir: docs
|
||||
nav:
|
||||
- Solaar: index.md
|
||||
- Usage: usage.md
|
||||
- Capabilities: capabilities.md
|
||||
- Debian: debian.md
|
||||
- Devices: devices.md
|
||||
- Features: features.md
|
||||
- Translation: i18n.md
|
||||
- Implementation: implementation.md
|
||||
- Issues: issues.md
|
||||
- Rules: rules.md
|
||||
- Installation: installation.md
|
||||
- Uninstallation: uninstallation.md
|
||||
- Rules: rules.md
|
||||
- Usage: usage.md
|
||||
- Translation: i18n.md
|
||||
- Features: features.md
|
||||
- Devices: devices.md
|
||||
- Implementation: implementation.md
|
||||
- Debian: debian.md
|
||||
|
||||
plugins:
|
||||
- search
|
||||
|
|
|
|||
1080
po/solaar.pot
1080
po/solaar.pot
File diff suppressed because it is too large
Load Diff
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
repo=pwr-Solaar/Solaar
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,190 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100"
|
||||
height="100"
|
||||
id="svg5"
|
||||
sodipodi:docname="solaar-attention.svg"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||
id="namedview5"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showguides="true"
|
||||
inkscape:zoom="6.355"
|
||||
inkscape:cx="-0.70810385"
|
||||
inkscape:cy="42.800944"
|
||||
inkscape:current-layer="g3-7" /><title
|
||||
id="title1">Solaar attention</title><defs
|
||||
id="defs4"><linearGradient
|
||||
id="gradient_blue"><stop
|
||||
style="stop-color:#009099;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
id="gradient_yellow"><stop
|
||||
style="stop-color:#f0ff18;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop3" /><stop
|
||||
style="stop-color:#f3ff2b;stop-opacity:0.94901961;"
|
||||
offset="0.49391085"
|
||||
id="stop6" /><stop
|
||||
style="stop-color:#f8ff40;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop4" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect"
|
||||
xlink:href="#gradient_yellow"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
id="gradient_black"><stop
|
||||
style="stop-color:#000000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-47" /><stop
|
||||
style="stop-color:#000000;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-6" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect-3"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot-1"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-5"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect18"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
x1="50"
|
||||
y1="5.5"
|
||||
x2="50"
|
||||
y2="94.5"
|
||||
id="gradient_rect-8"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-110.09871,-4.4507114)" /><linearGradient
|
||||
x1="50.01833"
|
||||
y1="5"
|
||||
x2="50.01833"
|
||||
y2="95"
|
||||
id="gradient_dot-5"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /></defs><metadata
|
||||
id="metadata4"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Solaar attention</dc:title><dc:creator><cc:Agent><dc:title>Daniel Pavel</dc:title></cc:Agent></dc:creator><cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /><dc:date>2013-06-25</dc:date><dc:identifier>solaar-attention</dc:identifier></cc:Work><cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><g
|
||||
id="g3-7"><rect
|
||||
style="fill:#f3ff2b;fill-opacity:0.94901961;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-opacity:0.996078;paint-order:fill markers stroke"
|
||||
id="rect17"
|
||||
width="90"
|
||||
height="90"
|
||||
x="5"
|
||||
y="5"
|
||||
rx="10"
|
||||
ry="10" /><path
|
||||
id="path11-5"
|
||||
style="display:inline;fill:#131313;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311702,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z M 50,38.746094 C 56.215539,38.745663 61.254337,43.784461 61.253906,50 61.254337,56.215539 56.215539,61.254337 50,61.253906 43.784461,61.254337 38.745663,56.215539 38.746094,50 38.745663,43.784461 43.784461,38.745663 50,38.746094 Z"
|
||||
inkscape:path-effect="#path-effect20-7"
|
||||
inkscape:original-d="m 36.326172,18.050781 a 3.721056,3.721056 0 0 0 -1.861328,0.5 l -3.929688,2.273438 a 3.7228036,3.7228036 0 0 0 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 A 3.7219297,3.7219297 0 0 0 15,47.722656 v 4.554688 A 3.7219297,3.7219297 0 0 0 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 a 3.7228036,3.7228036 0 0 0 1.359375,5.085937 l 3.929688,2.273438 a 3.721056,3.721056 0 0 0 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 a 3.721056,3.721056 0 0 0 5.085937,1.359375 l 3.929688,-2.273438 a 3.7228036,3.7228036 0 0 0 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 A 3.7219297,3.7219297 0 0 0 85,52.277344 V 47.722656 A 3.7219297,3.7219297 0 0 0 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 a 3.7228036,3.7228036 0 0 0 -1.359375,-5.085937 l -3.929688,-2.273438 a 3.721056,3.721056 0 0 0 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 A 3.721056,3.721056 0 0 0 36.326172,18.050781 Z M 50,38.746094 A 11.253125,11.253125 0 0 1 61.253906,50 11.253125,11.253125 0 0 1 50,61.253906 11.253125,11.253125 0 0 1 38.746094,50 11.253125,11.253125 0 0 1 50,38.746094 Z" /></g></svg>
|
||||
|
After Width: | Height: | Size: 14 KiB |
|
|
@ -0,0 +1,129 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100"
|
||||
height="100"
|
||||
id="svg3"
|
||||
sodipodi:docname="solaar.svg"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xml:space="preserve"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showguides="true"
|
||||
inkscape:zoom="8"
|
||||
inkscape:cx="0.5625"
|
||||
inkscape:cy="79.25"
|
||||
inkscape:current-layer="svg3" /><title
|
||||
id="title1">Solaar</title><defs
|
||||
id="defs2"><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect18"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="linearGradient17"
|
||||
inkscape:collect="always"><stop
|
||||
style="stop-color:#009099;stop-opacity:1;"
|
||||
offset="0"
|
||||
id="stop17" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:1;"
|
||||
offset="1"
|
||||
id="stop18" /></linearGradient><linearGradient
|
||||
id="gradient_blue"><stop
|
||||
style="stop-color:#009099;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
x1="50"
|
||||
y1="5.5"
|
||||
x2="50"
|
||||
y2="94.5"
|
||||
id="gradient_rect"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-110.09871,-4.4507114)" /><linearGradient
|
||||
x1="50.01833"
|
||||
y1="5"
|
||||
x2="50.01833"
|
||||
y2="95"
|
||||
id="gradient_dot"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient17"
|
||||
id="linearGradient18"
|
||||
x1="50"
|
||||
y1="5"
|
||||
x2="50"
|
||||
y2="95"
|
||||
gradientUnits="userSpaceOnUse" /></defs><metadata
|
||||
id="metadata2"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Solaar</dc:title><dc:creator><cc:Agent><dc:title>Daniel Pavel</dc:title></cc:Agent></dc:creator><cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /><dc:date>2013-06-25</dc:date><dc:identifier>solaar</dc:identifier></cc:Work><cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><g
|
||||
id="g3"><rect
|
||||
style="fill:url(#linearGradient18);fill-opacity:1;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-opacity:0.996078;paint-order:fill markers stroke"
|
||||
id="rect17"
|
||||
width="90"
|
||||
height="90"
|
||||
x="5"
|
||||
y="5"
|
||||
rx="10"
|
||||
ry="10" /><path
|
||||
id="path11"
|
||||
style="display:inline;fill:#f2f2f2;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311702,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z M 50,38.746094 C 56.215539,38.745663 61.254337,43.784461 61.253906,50 61.254337,56.215539 56.215539,61.254337 50,61.253906 43.784461,61.254337 38.745663,56.215539 38.746094,50 38.745663,43.784461 43.784461,38.745663 50,38.746094 Z"
|
||||
inkscape:path-effect="#path-effect20"
|
||||
inkscape:original-d="m 36.326172,18.050781 a 3.721056,3.721056 0 0 0 -1.861328,0.5 l -3.929688,2.273438 a 3.7228036,3.7228036 0 0 0 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 A 3.7219297,3.7219297 0 0 0 15,47.722656 v 4.554688 A 3.7219297,3.7219297 0 0 0 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 a 3.7228036,3.7228036 0 0 0 1.359375,5.085937 l 3.929688,2.273438 a 3.721056,3.721056 0 0 0 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 a 3.721056,3.721056 0 0 0 5.085937,1.359375 l 3.929688,-2.273438 a 3.7228036,3.7228036 0 0 0 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 A 3.7219297,3.7219297 0 0 0 85,52.277344 V 47.722656 A 3.7219297,3.7219297 0 0 0 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 a 3.7228036,3.7228036 0 0 0 -1.359375,-5.085937 l -3.929688,-2.273438 a 3.721056,3.721056 0 0 0 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 A 3.721056,3.721056 0 0 0 36.326172,18.050781 Z M 50,38.746094 A 11.253125,11.253125 0 0 1 61.253906,50 11.253125,11.253125 0 0 1 50,61.253906 11.253125,11.253125 0 0 1 38.746094,50 11.253125,11.253125 0 0 1 50,38.746094 Z" /></g></svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
|
|
@ -0,0 +1,234 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100"
|
||||
height="100"
|
||||
id="svg3"
|
||||
sodipodi:docname="solaar-init.svg"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showguides="true"
|
||||
inkscape:zoom="7.297342"
|
||||
inkscape:cx="15.005464"
|
||||
inkscape:cy="46.86638"
|
||||
inkscape:current-layer="svg3"><sodipodi:guide
|
||||
position="33.74894,95"
|
||||
orientation="0,-1"
|
||||
id="guide3"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="5,53.923662"
|
||||
orientation="1,0"
|
||||
id="guide4"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="67.152677,5"
|
||||
orientation="0,-1"
|
||||
id="guide5"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="95,74.370155"
|
||||
orientation="1,0"
|
||||
id="guide6"
|
||||
inkscape:locked="false" /></sodipodi:namedview><title
|
||||
id="title1">Solaar init</title><defs
|
||||
id="defs2"><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_gray"><stop
|
||||
style="stop-color:#848484;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#9c9c9c;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect"
|
||||
xlink:href="#gradient_gray"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot"
|
||||
xlink:href="#gradient_gray"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_black"><stop
|
||||
style="stop-color:#000000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-3" /><stop
|
||||
style="stop-color:#000000;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-3" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect-3"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot-8"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-5"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7-6"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect18"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_blue"><stop
|
||||
style="stop-color:#009099;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-4" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-1" /></linearGradient><linearGradient
|
||||
x1="50"
|
||||
y1="5.5"
|
||||
x2="50"
|
||||
y2="94.5"
|
||||
id="gradient_rect-8"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-110.09871,-4.4507114)" /><linearGradient
|
||||
x1="50.01833"
|
||||
y1="5"
|
||||
x2="50.01833"
|
||||
y2="95"
|
||||
id="gradient_dot-5"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /></defs><metadata
|
||||
id="metadata2"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Solaar init</dc:title><dc:creator><cc:Agent><dc:title>Daniel Pavel</dc:title></cc:Agent></dc:creator><cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /><dc:date>2013-06-25</dc:date><dc:identifier>solaar-init</dc:identifier></cc:Work><cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><rect
|
||||
style="fill:#808080;fill-opacity:1;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-opacity:0.996078;paint-order:fill markers stroke"
|
||||
id="rect17"
|
||||
width="90"
|
||||
height="90"
|
||||
x="5"
|
||||
y="5"
|
||||
rx="10"
|
||||
ry="10" /><path
|
||||
id="path11-5"
|
||||
style="display:inline;fill:#f2f2f2;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311702,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z M 50,38.746094 C 56.215539,38.745663 61.254337,43.784461 61.253906,50 61.254337,56.215539 56.215539,61.254337 50,61.253906 43.784461,61.254337 38.745663,56.215539 38.746094,50 38.745663,43.784461 43.784461,38.745663 50,38.746094 Z"
|
||||
inkscape:path-effect="#path-effect20-7"
|
||||
inkscape:original-d="m 36.326172,18.050781 a 3.721056,3.721056 0 0 0 -1.861328,0.5 l -3.929688,2.273438 a 3.7228036,3.7228036 0 0 0 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 A 3.7219297,3.7219297 0 0 0 15,47.722656 v 4.554688 A 3.7219297,3.7219297 0 0 0 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 a 3.7228036,3.7228036 0 0 0 1.359375,5.085937 l 3.929688,2.273438 a 3.721056,3.721056 0 0 0 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 a 3.721056,3.721056 0 0 0 5.085937,1.359375 l 3.929688,-2.273438 a 3.7228036,3.7228036 0 0 0 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 A 3.7219297,3.7219297 0 0 0 85,52.277344 V 47.722656 A 3.7219297,3.7219297 0 0 0 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 a 3.7228036,3.7228036 0 0 0 -1.359375,-5.085937 l -3.929688,-2.273438 a 3.721056,3.721056 0 0 0 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 A 3.721056,3.721056 0 0 0 36.326172,18.050781 Z M 50,38.746094 A 11.253125,11.253125 0 0 1 61.253906,50 11.253125,11.253125 0 0 1 50,61.253906 11.253125,11.253125 0 0 1 38.746094,50 11.253125,11.253125 0 0 1 50,38.746094 Z" /></svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
|
@ -0,0 +1,241 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100"
|
||||
height="100"
|
||||
id="svg3"
|
||||
sodipodi:docname="solaar-init.svg"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showguides="true"
|
||||
inkscape:zoom="7.297342"
|
||||
inkscape:cx="15.005464"
|
||||
inkscape:cy="46.86638"
|
||||
inkscape:current-layer="svg3"><sodipodi:guide
|
||||
position="33.74894,95"
|
||||
orientation="0,-1"
|
||||
id="guide3"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="5,53.923662"
|
||||
orientation="1,0"
|
||||
id="guide4"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="67.152677,5"
|
||||
orientation="0,-1"
|
||||
id="guide5"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="95,74.370155"
|
||||
orientation="1,0"
|
||||
id="guide6"
|
||||
inkscape:locked="false" /></sodipodi:namedview><title
|
||||
id="title1">Solaar init</title><defs
|
||||
id="defs2"><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_gray"><stop
|
||||
style="stop-color:#848484;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#9c9c9c;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect"
|
||||
xlink:href="#gradient_gray"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot"
|
||||
xlink:href="#gradient_gray"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_black"><stop
|
||||
style="stop-color:#000000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-3" /><stop
|
||||
style="stop-color:#000000;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-3" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect-3"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot-8"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-5"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7-6"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect18"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_blue"><stop
|
||||
style="stop-color:#009099;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-4" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-1" /></linearGradient><linearGradient
|
||||
x1="50"
|
||||
y1="5.5"
|
||||
x2="50"
|
||||
y2="94.5"
|
||||
id="gradient_rect-8"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-110.09871,-4.4507114)" /><linearGradient
|
||||
x1="50.01833"
|
||||
y1="5"
|
||||
x2="50.01833"
|
||||
y2="95"
|
||||
id="gradient_dot-5"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /></defs><metadata
|
||||
id="metadata2"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Solaar init</dc:title><dc:creator><cc:Agent><dc:title>Daniel Pavel</dc:title></cc:Agent></dc:creator><cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /><dc:date>2013-06-25</dc:date><dc:identifier>solaar-init</dc:identifier></cc:Work><cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><rect
|
||||
style="fill:#808080;fill-opacity:1;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-opacity:0.996078;paint-order:fill markers stroke"
|
||||
id="rect17"
|
||||
width="90"
|
||||
height="90"
|
||||
x="5"
|
||||
y="5"
|
||||
rx="10"
|
||||
ry="10" /><path
|
||||
id="path6"
|
||||
style="display:inline;fill:#131313;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.880197;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311703,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z m 13.347319,17.858481 c 6.215539,-4.32e-4 13.90713,7.251873 13.906698,13.467412 4.32e-4,6.21554 -7.19351,14.539222 -13.409049,14.538791 -6.215539,4.31e-4 -14.18,-6.257225 -14.179568,-12.472764 -4.32e-4,-6.215539 7.46638,-15.533871 13.681919,-15.533439 z"
|
||||
inkscape:path-effect="#path-effect7"
|
||||
inkscape:original-d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.929688,2.273438 c -1.7797,1.029156 -2.388282,3.306093 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 C 16.666524,43.999599 14.999599,45.666524 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z m 13.347319,17.858481 c 6.215539,-4.32e-4 13.90713,7.251873 13.906698,13.467412 4.32e-4,6.21554 -7.19351,14.539222 -13.409049,14.538791 -6.215539,4.31e-4 -14.18,-6.257225 -14.179568,-12.472764 -4.32e-4,-6.215539 7.46638,-15.533871 13.681919,-15.533439 z"
|
||||
transform="matrix(1.0973922,0.29404534,-0.29404534,1.0973922,9.8327959,-19.571815)"
|
||||
sodipodi:nodetypes="cccccccccccccccccsccccccccccccccccccscccccccc" /><path
|
||||
id="path11-5"
|
||||
style="display:inline;fill:#f2f2f2;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311702,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z M 50,38.746094 C 56.215539,38.745663 61.254337,43.784461 61.253906,50 61.254337,56.215539 56.215539,61.254337 50,61.253906 43.784461,61.254337 38.745663,56.215539 38.746094,50 38.745663,43.784461 43.784461,38.745663 50,38.746094 Z"
|
||||
inkscape:path-effect="#path-effect20-7"
|
||||
inkscape:original-d="m 36.326172,18.050781 a 3.721056,3.721056 0 0 0 -1.861328,0.5 l -3.929688,2.273438 a 3.7228036,3.7228036 0 0 0 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 A 3.7219297,3.7219297 0 0 0 15,47.722656 v 4.554688 A 3.7219297,3.7219297 0 0 0 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 a 3.7228036,3.7228036 0 0 0 1.359375,5.085937 l 3.929688,2.273438 a 3.721056,3.721056 0 0 0 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 a 3.721056,3.721056 0 0 0 5.085937,1.359375 l 3.929688,-2.273438 a 3.7228036,3.7228036 0 0 0 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 A 3.7219297,3.7219297 0 0 0 85,52.277344 V 47.722656 A 3.7219297,3.7219297 0 0 0 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 a 3.7228036,3.7228036 0 0 0 -1.359375,-5.085937 l -3.929688,-2.273438 a 3.721056,3.721056 0 0 0 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 A 3.721056,3.721056 0 0 0 36.326172,18.050781 Z M 50,38.746094 A 11.253125,11.253125 0 0 1 61.253906,50 11.253125,11.253125 0 0 1 50,61.253906 11.253125,11.253125 0 0 1 38.746094,50 11.253125,11.253125 0 0 1 50,38.746094 Z" /></svg>
|
||||
|
After Width: | Height: | Size: 21 KiB |
|
|
@ -0,0 +1,182 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100"
|
||||
height="100"
|
||||
id="svg3"
|
||||
sodipodi:docname="solaar-symbolic_dark.svg"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showguides="true"
|
||||
inkscape:zoom="4.4936636"
|
||||
inkscape:cx="76.440969"
|
||||
inkscape:cy="79.445199"
|
||||
inkscape:current-layer="svg3"><sodipodi:guide
|
||||
position="40.341527,95"
|
||||
orientation="0,-1"
|
||||
id="guide3"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="5,55.07737"
|
||||
orientation="1,0"
|
||||
id="guide4"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="95,52.215267"
|
||||
orientation="1,0"
|
||||
id="guide5"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="61.950078,5"
|
||||
orientation="0,-1"
|
||||
id="guide6"
|
||||
inkscape:locked="false" /></sodipodi:namedview><title
|
||||
id="title1">Solaar</title><defs
|
||||
id="defs2"><linearGradient
|
||||
id="gradient_black"><stop
|
||||
style="stop-color:#000000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#000000;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-5"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect18"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_blue"><stop
|
||||
style="stop-color:#009099;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-4" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-1" /></linearGradient><linearGradient
|
||||
x1="50"
|
||||
y1="5.5"
|
||||
x2="50"
|
||||
y2="94.5"
|
||||
id="gradient_rect-8"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-110.09871,-4.4507114)" /><linearGradient
|
||||
x1="50.01833"
|
||||
y1="5"
|
||||
x2="50.01833"
|
||||
y2="95"
|
||||
id="gradient_dot-5"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /></defs><metadata
|
||||
id="metadata2"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Solaar</dc:title><dc:creator><cc:Agent><dc:title>Daniel Pavel</dc:title></cc:Agent></dc:creator><cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /><dc:date>2013-06-25</dc:date><dc:identifier>solaar</dc:identifier></cc:Work><cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><g
|
||||
id="g3-7"><rect
|
||||
style="fill:#f2f2f2;fill-opacity:1;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-opacity:0.996078;paint-order:fill markers stroke"
|
||||
id="rect17"
|
||||
width="90"
|
||||
height="90"
|
||||
x="5"
|
||||
y="5"
|
||||
rx="10"
|
||||
ry="10" /><path
|
||||
id="path11-5"
|
||||
style="display:inline;fill:#131313;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311702,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z M 50,38.746094 C 56.215539,38.745663 61.254337,43.784461 61.253906,50 61.254337,56.215539 56.215539,61.254337 50,61.253906 43.784461,61.254337 38.745663,56.215539 38.746094,50 38.745663,43.784461 43.784461,38.745663 50,38.746094 Z"
|
||||
inkscape:path-effect="#path-effect20-7"
|
||||
inkscape:original-d="m 36.326172,18.050781 a 3.721056,3.721056 0 0 0 -1.861328,0.5 l -3.929688,2.273438 a 3.7228036,3.7228036 0 0 0 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 A 3.7219297,3.7219297 0 0 0 15,47.722656 v 4.554688 A 3.7219297,3.7219297 0 0 0 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 a 3.7228036,3.7228036 0 0 0 1.359375,5.085937 l 3.929688,2.273438 a 3.721056,3.721056 0 0 0 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 a 3.721056,3.721056 0 0 0 5.085937,1.359375 l 3.929688,-2.273438 a 3.7228036,3.7228036 0 0 0 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 A 3.7219297,3.7219297 0 0 0 85,52.277344 V 47.722656 A 3.7219297,3.7219297 0 0 0 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 a 3.7228036,3.7228036 0 0 0 -1.359375,-5.085937 l -3.929688,-2.273438 a 3.721056,3.721056 0 0 0 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 A 3.721056,3.721056 0 0 0 36.326172,18.050781 Z M 50,38.746094 A 11.253125,11.253125 0 0 1 61.253906,50 11.253125,11.253125 0 0 1 50,61.253906 11.253125,11.253125 0 0 1 38.746094,50 11.253125,11.253125 0 0 1 50,38.746094 Z" /></g></svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -0,0 +1,182 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
version="1.1"
|
||||
width="100"
|
||||
height="100"
|
||||
id="svg3"
|
||||
sodipodi:docname="solaar-symbolic.svg"
|
||||
xml:space="preserve"
|
||||
inkscape:version="1.4.2 (ebf0e940d0, 2025-05-08)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"><sodipodi:namedview
|
||||
id="namedview3"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showguides="true"
|
||||
inkscape:zoom="6.355"
|
||||
inkscape:cx="8.5759245"
|
||||
inkscape:cy="34.618411"
|
||||
inkscape:current-layer="g3-7"><sodipodi:guide
|
||||
position="40.341527,95"
|
||||
orientation="0,-1"
|
||||
id="guide3"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="5,55.07737"
|
||||
orientation="1,0"
|
||||
id="guide4"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="95,52.215267"
|
||||
orientation="1,0"
|
||||
id="guide5"
|
||||
inkscape:locked="false" /><sodipodi:guide
|
||||
position="61.950078,5"
|
||||
orientation="0,-1"
|
||||
id="guide6"
|
||||
inkscape:locked="false" /></sodipodi:namedview><title
|
||||
id="title1">Solaar</title><defs
|
||||
id="defs2"><linearGradient
|
||||
id="gradient_black"><stop
|
||||
style="stop-color:#000000;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1" /><stop
|
||||
style="stop-color:#000000;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2" /></linearGradient><linearGradient
|
||||
x1="5"
|
||||
y1="50"
|
||||
x2="95"
|
||||
y2="50"
|
||||
id="gradient_rect"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><linearGradient
|
||||
x1="37"
|
||||
y1="50"
|
||||
x2="63"
|
||||
y2="50"
|
||||
id="gradient_dot"
|
||||
xlink:href="#gradient_black"
|
||||
gradientUnits="userSpaceOnUse" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-5"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect20-7"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,0,1,0,0.77328184,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0.68280054,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,2.2467915,0,1 @ F,0,0,1,0,0,0,1 | F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><inkscape:path-effect
|
||||
effect="fillet_chamfer"
|
||||
id="path-effect18"
|
||||
is_visible="true"
|
||||
lpeversion="1"
|
||||
nodesatellites_param="F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,3.7219297,0,1 @ F,0,1,1,0,3.7219297,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1 @ F,0,0,1,0,0,0,1"
|
||||
radius="0"
|
||||
unit="px"
|
||||
method="auto"
|
||||
mode="F"
|
||||
chamfer_steps="1"
|
||||
flexible="false"
|
||||
use_knot_distance="true"
|
||||
apply_no_radius="true"
|
||||
apply_with_radius="true"
|
||||
only_selected="false"
|
||||
hide_knots="false" /><linearGradient
|
||||
id="gradient_blue"><stop
|
||||
style="stop-color:#009099;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop1-4" /><stop
|
||||
style="stop-color:#00a899;stop-opacity:0.9"
|
||||
offset="1"
|
||||
id="stop2-1" /></linearGradient><linearGradient
|
||||
x1="50"
|
||||
y1="5.5"
|
||||
x2="50"
|
||||
y2="94.5"
|
||||
id="gradient_rect-8"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(-110.09871,-4.4507114)" /><linearGradient
|
||||
x1="50.01833"
|
||||
y1="5"
|
||||
x2="50.01833"
|
||||
y2="95"
|
||||
id="gradient_dot-5"
|
||||
xlink:href="#gradient_blue"
|
||||
gradientUnits="userSpaceOnUse" /></defs><metadata
|
||||
id="metadata2"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>Solaar</dc:title><dc:creator><cc:Agent><dc:title>Daniel Pavel</dc:title></cc:Agent></dc:creator><cc:license
|
||||
rdf:resource="http://creativecommons.org/licenses/by-sa/3.0/" /><dc:date>2013-06-25</dc:date><dc:identifier>solaar</dc:identifier></cc:Work><cc:License
|
||||
rdf:about="http://creativecommons.org/licenses/by-sa/3.0/"><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:permits
|
||||
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires
|
||||
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><g
|
||||
id="g3-7"><rect
|
||||
style="fill:#131313;fill-opacity:1;stroke:none;stroke-width:3;stroke-linejoin:round;stroke-opacity:0.996078;paint-order:fill markers stroke"
|
||||
id="rect17"
|
||||
width="90"
|
||||
height="90"
|
||||
x="5"
|
||||
y="5"
|
||||
rx="10"
|
||||
ry="10" /><path
|
||||
id="path11-5"
|
||||
style="display:inline;fill:#f2f2f2;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:0.905882;paint-order:markers fill stroke"
|
||||
d="m 36.326172,18.050781 c -0.653587,3.07e-4 -1.295564,0.172759 -1.861328,0.5 l -3.260348,1.886206 c -0.369666,0.213862 -0.976947,0.555623 -1.294346,0.840227 -1.095169,0.982014 -1.50919,2.530927 -1.050063,3.928399 0.133086,0.405083 0.488934,1.004291 0.702637,1.37405 l 5.656751,9.787566 c 0.62092,1.074344 0.455955,2.70357 -0.225142,3.739812 -0.385108,0.585915 -0.736584,1.1959 -1.052473,1.826946 C 33.386764,43.042894 32.056577,44 30.815708,44 H 19.405457 c -0.377101,0 -0.99151,-0.0065 -1.361861,0.06167 C 16.311702,44.380584 14.999644,45.89844 15,47.722656 v 4.554688 C 14.999599,54.333476 16.666524,56.000401 18.722656,56 h 12.093052 c 1.240869,0 2.571057,0.957108 3.126154,2.066017 0.315889,0.631045 0.667365,1.24103 1.052473,1.826945 0.681096,1.03624 0.84606,2.665465 0.22514,3.739809 l -6.043694,10.457073 c -1.028907,1.779844 -0.420325,4.056781 1.359375,5.085937 l 3.929688,2.273438 c 1.779707,1.029944 4.057417,0.421155 5.085937,-1.359375 l 6.043694,-10.457073 c 0.62092,-1.074344 2.114654,-1.744293 3.352326,-1.666259 C 49.29502,67.988467 49.64608,68 50,68 c 0.353931,0 0.705,-0.01153 1.053229,-0.03349 1.237655,-0.07804 2.731376,0.591916 3.352296,1.66626 l 6.043694,10.457073 c 1.02852,1.78053 3.30623,2.389319 5.085937,1.359375 l 3.929688,-2.273438 c 1.7797,-1.029156 2.388282,-3.306093 1.359375,-5.085937 L 64.780525,63.632771 c -0.62092,-1.074344 -0.455955,-2.70357 0.225142,-3.739812 0.385108,-0.585915 0.736584,-1.1959 1.052473,-1.826946 C 66.613236,56.957106 67.943423,56 69.184291,56 H 81.277344 C 83.333476,56.000401 85.000401,54.333476 85,52.277344 V 47.722656 C 85.000401,45.666524 83.333476,43.999599 81.277344,44 H 69.184291 c -1.240868,0 -2.571056,-0.957108 -3.126153,-2.066017 -0.315889,-0.631045 -0.667365,-1.24103 -1.052473,-1.826945 -0.681096,-1.03624 -0.84606,-2.665465 -0.22514,-3.739809 l 6.043694,-10.457073 c 1.028907,-1.779844 0.420325,-4.056781 -1.359375,-5.085937 l -3.929688,-2.273438 c -1.779707,-1.029944 -4.057417,-0.421155 -5.085937,1.359375 l -6.043694,10.457073 c -0.62092,1.074344 -2.114654,1.744293 -3.352326,1.666259 C 50.70498,32.011533 50.35392,32 50,32 c -0.353931,0 -0.705,0.01153 -1.053229,0.03349 -1.237655,0.07804 -2.731376,-0.591916 -3.352296,-1.66626 L 39.550781,19.910156 C 38.885414,18.758657 37.656082,18.0498 36.326172,18.050781 Z M 50,38.746094 C 56.215539,38.745663 61.254337,43.784461 61.253906,50 61.254337,56.215539 56.215539,61.254337 50,61.253906 43.784461,61.254337 38.745663,56.215539 38.746094,50 38.745663,43.784461 43.784461,38.745663 50,38.746094 Z"
|
||||
inkscape:path-effect="#path-effect20-7"
|
||||
inkscape:original-d="m 36.326172,18.050781 a 3.721056,3.721056 0 0 0 -1.861328,0.5 l -3.929688,2.273438 a 3.7228036,3.7228036 0 0 0 -1.359375,5.085937 L 36.34375,38.3125 C 34.921877,39.972287 33.808215,41.898777 33.0625,44 H 18.722656 A 3.7219297,3.7219297 0 0 0 15,47.722656 v 4.554688 A 3.7219297,3.7219297 0 0 0 18.722656,56 H 33.0625 c 0.745715,2.101223 1.859377,4.027713 3.28125,5.6875 l -7.167969,12.402344 a 3.7228036,3.7228036 0 0 0 1.359375,5.085937 l 3.929688,2.273438 a 3.721056,3.721056 0 0 0 5.085937,-1.359375 L 46.71875,67.6875 C 47.784179,67.884035 48.877705,68 50,68 c 1.122295,0 2.215821,-0.115965 3.28125,-0.3125 l 7.167969,12.402344 a 3.721056,3.721056 0 0 0 5.085937,1.359375 l 3.929688,-2.273438 a 3.7228036,3.7228036 0 0 0 1.359375,-5.085937 L 63.65625,61.6875 C 65.078123,60.027713 66.191785,58.101223 66.9375,56 H 81.277344 A 3.7219297,3.7219297 0 0 0 85,52.277344 V 47.722656 A 3.7219297,3.7219297 0 0 0 81.277344,44 H 66.9375 c -0.745715,-2.101223 -1.859377,-4.027713 -3.28125,-5.6875 l 7.167969,-12.402344 a 3.7228036,3.7228036 0 0 0 -1.359375,-5.085937 l -3.929688,-2.273438 a 3.721056,3.721056 0 0 0 -5.085937,1.359375 L 53.28125,32.3125 C 52.215821,32.115965 51.122295,32 50,32 c -1.122295,0 -2.215821,0.115965 -3.28125,0.3125 L 39.550781,19.910156 A 3.721056,3.721056 0 0 0 36.326172,18.050781 Z M 50,38.746094 A 11.253125,11.253125 0 0 1 61.253906,50 11.253125,11.253125 0 0 1 50,61.253906 11.253125,11.253125 0 0 1 38.746094,50 11.253125,11.253125 0 0 1 50,38.746094 Z" /></g></svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
|
|
@ -48,6 +48,8 @@
|
|||
</screenshots>
|
||||
|
||||
<releases>
|
||||
<release version="1.1.17" date="2025-12-09"/>
|
||||
<release version="1.1.16" date="2025-10-23"/>
|
||||
<release version="1.1.14" date="2025-01-01"/>
|
||||
<release version="1.1.13" date="2024-05-11"/>
|
||||
<release version="1.1.12" date="2024-04-27"/>
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ def test_create_device(device_info, responses, expected_success):
|
|||
with pytest.raises(PermissionError):
|
||||
device.create_device(low_level_mock, device_info)
|
||||
elif not expected_success:
|
||||
with pytest.raises(TypeError):
|
||||
with pytest.raises(Exception): # noqa: B017
|
||||
device.create_device(low_level_mock, device_info)
|
||||
else:
|
||||
test_device = device.create_device(low_level_mock, device_info)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ def test_read_register(device_hidpp10):
|
|||
register=Registers.BATTERY_STATUS,
|
||||
)
|
||||
|
||||
assert result == bytes.fromhex("666666")
|
||||
assert result == hidpp10_constants.NotificationFlag(int("000900", 16))
|
||||
|
||||
|
||||
def test_set_notification_flags(mocker, device_hidpp10):
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ def test_KeysArrayV4__getitem(device, count, index, cid, task_id, flags, pos, gr
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"key, index", [(special_keys.CONTROL.Volume_Up, 2), (special_keys.CONTROL.Mute, 4), (special_keys.CONTROL.Next, None)]
|
||||
"key, index", [(special_keys.CONTROL.Volume_Up_old, 2), (special_keys.CONTROL.Mute, 4), (special_keys.CONTROL.Next, None)]
|
||||
)
|
||||
def test_KeysArrayV4_index(key, index):
|
||||
keysarray = hidpp20.KeysArrayV4(device_standard, 7)
|
||||
|
|
|
|||
|
|
@ -1,10 +1,8 @@
|
|||
from dataclasses import dataclass
|
||||
from dataclasses import field
|
||||
from typing import Any
|
||||
from typing import Callable
|
||||
from typing import List
|
||||
from typing import Optional
|
||||
from unittest import mock
|
||||
|
||||
import gi
|
||||
import pytest
|
||||
|
|
@ -26,7 +24,6 @@ class Device:
|
|||
|
||||
@dataclass
|
||||
class Receiver:
|
||||
find_paired_node_wpid_func: Callable[[str, int], Any]
|
||||
name: str
|
||||
receiver_kind: str
|
||||
_set_lock: bool = True
|
||||
|
|
@ -87,12 +84,12 @@ class Assistant:
|
|||
@pytest.mark.parametrize(
|
||||
"receiver, lock_open, discovering, page_type",
|
||||
[
|
||||
(Receiver(mock.Mock(), "unifying", "unifying", True), True, False, Gtk.AssistantPageType.PROGRESS),
|
||||
(Receiver(mock.Mock(), "unifying", "unifying", False), False, False, Gtk.AssistantPageType.SUMMARY),
|
||||
(Receiver(mock.Mock(), "nano", "nano", True, _remaining_pairings=5), True, False, Gtk.AssistantPageType.PROGRESS),
|
||||
(Receiver(mock.Mock(), "nano", "nano", False), False, False, Gtk.AssistantPageType.SUMMARY),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", True), False, True, Gtk.AssistantPageType.PROGRESS),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", False), False, False, Gtk.AssistantPageType.SUMMARY),
|
||||
(Receiver("unifying", "unifying", True), True, False, Gtk.AssistantPageType.PROGRESS),
|
||||
(Receiver("unifying", "unifying", False), False, False, Gtk.AssistantPageType.SUMMARY),
|
||||
(Receiver("nano", "nano", True, _remaining_pairings=5), True, False, Gtk.AssistantPageType.PROGRESS),
|
||||
(Receiver("nano", "nano", False), False, False, Gtk.AssistantPageType.SUMMARY),
|
||||
(Receiver("bolt", "bolt", True), False, True, Gtk.AssistantPageType.PROGRESS),
|
||||
(Receiver("bolt", "bolt", False), False, False, Gtk.AssistantPageType.SUMMARY),
|
||||
],
|
||||
)
|
||||
def test_create(receiver, lock_open, discovering, page_type):
|
||||
|
|
@ -108,10 +105,10 @@ def test_create(receiver, lock_open, discovering, page_type):
|
|||
@pytest.mark.parametrize(
|
||||
"receiver, expected_result, expected_error",
|
||||
[
|
||||
(Receiver(mock.Mock(), "unifying", "unifying", True), True, False),
|
||||
(Receiver(mock.Mock(), "unifying", "unifying", False), False, True),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", True), True, False),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", False), False, True),
|
||||
(Receiver("unifying", "unifying", True), True, False),
|
||||
(Receiver("unifying", "unifying", False), False, True),
|
||||
(Receiver("bolt", "bolt", True), True, False),
|
||||
(Receiver("bolt", "bolt", False), False, True),
|
||||
],
|
||||
)
|
||||
def test_prepare(receiver, expected_result, expected_error):
|
||||
|
|
@ -123,7 +120,7 @@ def test_prepare(receiver, expected_result, expected_error):
|
|||
|
||||
@pytest.mark.parametrize("assistant, expected_result", [(Assistant(True), True), (Assistant(False), False)])
|
||||
def test_check_lock_state_drawable(assistant, expected_result):
|
||||
r = Receiver(mock.Mock(), "succeed", "unifying", True, receiver.Pairing(lock_open=True))
|
||||
r = Receiver("succeed", "unifying", True, receiver.Pairing(lock_open=True))
|
||||
|
||||
result = pair_window.check_lock_state(assistant, r, 2)
|
||||
|
||||
|
|
@ -134,24 +131,23 @@ def test_check_lock_state_drawable(assistant, expected_result):
|
|||
@pytest.mark.parametrize(
|
||||
"receiver, count, expected_result",
|
||||
[
|
||||
(Receiver(mock.Mock(), "fail", "unifying", False, receiver.Pairing(lock_open=False)), 2, False),
|
||||
(Receiver(mock.Mock(), "succeed", "unifying", True, receiver.Pairing(lock_open=True)), 1, True),
|
||||
(Receiver(mock.Mock(), "error", "unifying", True, receiver.Pairing(error="error")), 0, False),
|
||||
(Receiver(mock.Mock(), "new device", "unifying", True, receiver.Pairing(new_device=Device())), 2, False),
|
||||
(Receiver(mock.Mock(), "closed", "unifying", True, receiver.Pairing()), 2, False),
|
||||
(Receiver(mock.Mock(), "closed", "unifying", True, receiver.Pairing()), 1, False),
|
||||
(Receiver(mock.Mock(), "closed", "unifying", True, receiver.Pairing()), 0, False),
|
||||
(Receiver(mock.Mock(), "fail bolt", "bolt", False), 1, False),
|
||||
(Receiver(mock.Mock(), "succeed bolt", "bolt", True, receiver.Pairing(lock_open=True)), 0, True),
|
||||
(Receiver(mock.Mock(), "error bolt", "bolt", True, receiver.Pairing(error="error")), 2, False),
|
||||
(Receiver(mock.Mock(), "new device", "bolt", True, receiver.Pairing(lock_open=True, new_device=Device())), 1, False),
|
||||
(Receiver(mock.Mock(), "discovering", "bolt", True, receiver.Pairing(lock_open=True)), 1, True),
|
||||
(Receiver(mock.Mock(), "closed", "bolt", True, receiver.Pairing()), 2, False),
|
||||
(Receiver(mock.Mock(), "closed", "bolt", True, receiver.Pairing()), 1, False),
|
||||
(Receiver(mock.Mock(), "closed", "bolt", True, receiver.Pairing()), 0, False),
|
||||
(Receiver("fail", "unifying", False, receiver.Pairing(lock_open=False)), 2, False),
|
||||
(Receiver("succeed", "unifying", True, receiver.Pairing(lock_open=True)), 1, True),
|
||||
(Receiver("error", "unifying", True, receiver.Pairing(error="error")), 0, False),
|
||||
(Receiver("new device", "unifying", True, receiver.Pairing(new_device=Device())), 2, False),
|
||||
(Receiver("closed", "unifying", True, receiver.Pairing()), 2, False),
|
||||
(Receiver("closed", "unifying", True, receiver.Pairing()), 1, False),
|
||||
(Receiver("closed", "unifying", True, receiver.Pairing()), 0, False),
|
||||
(Receiver("fail bolt", "bolt", False), 1, False),
|
||||
(Receiver("succeed bolt", "bolt", True, receiver.Pairing(lock_open=True)), 0, True),
|
||||
(Receiver("error bolt", "bolt", True, receiver.Pairing(error="error")), 2, False),
|
||||
(Receiver("new device", "bolt", True, receiver.Pairing(lock_open=True, new_device=Device())), 1, False),
|
||||
(Receiver("discovering", "bolt", True, receiver.Pairing(lock_open=True)), 1, True),
|
||||
(Receiver("closed", "bolt", True, receiver.Pairing()), 2, False),
|
||||
(Receiver("closed", "bolt", True, receiver.Pairing()), 1, False),
|
||||
(Receiver("closed", "bolt", True, receiver.Pairing()), 0, False),
|
||||
(
|
||||
Receiver(
|
||||
mock.Mock(),
|
||||
"pass1",
|
||||
"bolt",
|
||||
True,
|
||||
|
|
@ -162,7 +158,6 @@ def test_check_lock_state_drawable(assistant, expected_result):
|
|||
),
|
||||
(
|
||||
Receiver(
|
||||
mock.Mock(),
|
||||
"pass2",
|
||||
"bolt",
|
||||
True,
|
||||
|
|
@ -173,7 +168,6 @@ def test_check_lock_state_drawable(assistant, expected_result):
|
|||
),
|
||||
(
|
||||
Receiver(
|
||||
mock.Mock(),
|
||||
"adt",
|
||||
"bolt",
|
||||
True,
|
||||
|
|
@ -185,7 +179,6 @@ def test_check_lock_state_drawable(assistant, expected_result):
|
|||
),
|
||||
(
|
||||
Receiver(
|
||||
mock.Mock(),
|
||||
"adf",
|
||||
"bolt",
|
||||
True,
|
||||
|
|
@ -195,7 +188,7 @@ def test_check_lock_state_drawable(assistant, expected_result):
|
|||
2,
|
||||
False,
|
||||
),
|
||||
(Receiver(mock.Mock(), "add fail", "bolt", False, receiver.Pairing(device_address=2, device_passkey=5)), 2, False),
|
||||
(Receiver("add fail", "bolt", False, receiver.Pairing(device_address=2, device_passkey=5)), 2, False),
|
||||
],
|
||||
)
|
||||
def test_check_lock_state(receiver, count, expected_result):
|
||||
|
|
@ -210,22 +203,22 @@ def test_check_lock_state(receiver, count, expected_result):
|
|||
"receiver, pair_device, set_lock, discover, error",
|
||||
[
|
||||
(
|
||||
Receiver(mock.Mock(), "unifying", "unifying", pairing=receiver.Pairing(lock_open=False, error="error")),
|
||||
Receiver("unifying", "unifying", pairing=receiver.Pairing(lock_open=False, error="error")),
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
None,
|
||||
),
|
||||
(
|
||||
Receiver(mock.Mock(), "unifying", "unifying", pairing=receiver.Pairing(lock_open=True, error="error")),
|
||||
Receiver("unifying", "unifying", pairing=receiver.Pairing(lock_open=True, error="error")),
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
"error",
|
||||
),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", pairing=receiver.Pairing(lock_open=False, error="error")), 0, 0, 0, None),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", pairing=receiver.Pairing(lock_open=True, error="error")), 1, 0, 0, "error"),
|
||||
(Receiver(mock.Mock(), "bolt", "bolt", pairing=receiver.Pairing(discovering=True, error="error")), 0, 0, 1, "error"),
|
||||
(Receiver("bolt", "bolt", pairing=receiver.Pairing(lock_open=False, error="error")), 0, 0, 0, None),
|
||||
(Receiver("bolt", "bolt", pairing=receiver.Pairing(lock_open=True, error="error")), 1, 0, 0, "error"),
|
||||
(Receiver("bolt", "bolt", pairing=receiver.Pairing(discovering=True, error="error")), 0, 0, 1, "error"),
|
||||
],
|
||||
)
|
||||
def test_finish(receiver, pair_device, set_lock, discover, error, mocker):
|
||||
|
|
@ -247,6 +240,6 @@ def test_finish(receiver, pair_device, set_lock, discover, error, mocker):
|
|||
def test_create_failure_page(error, mocker):
|
||||
spy_create = mocker.spy(pair_window, "_create_page")
|
||||
|
||||
pair_window._pairing_failed(Assistant(True), Receiver(mock.Mock(), "nano", "nano"), error)
|
||||
pair_window._pairing_failed(Assistant(True), Receiver("nano", "nano"), error)
|
||||
|
||||
assert spy_create.call_count == 1
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
find . -type f -name '*.py[co]' -delete
|
||||
find . -type d -name '__pycache__' -delete
|
||||
|
||||
/bin/rm --force po/*~
|
||||
/bin/rm --force --recursive share/locale/
|
||||
rm --force po/*~
|
||||
rm --force --recursive share/locale/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,116 @@
|
|||
#!/usr/bin/env bash
|
||||
# Helper to build a minimal macOS .app wrapper for Solaar.
|
||||
set -euo pipefail
|
||||
|
||||
APP_ROOT=${1:-/Applications/Solaar.app}
|
||||
SOLAAR_PATH=${SOLAAR_PATH:-solaar}
|
||||
SOLAAR_RESOLVED_PATH=$(command -v "${SOLAAR_PATH}" 2>/dev/null || echo "")
|
||||
if [ -z "${SOLAAR_RESOLVED_PATH}" ]; then
|
||||
echo "Error: '${SOLAAR_PATH}' not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
ICON_SOURCE=${ICON_SOURCE:-share/solaar/icons/solaar.svg}
|
||||
|
||||
case "${APP_ROOT}" in
|
||||
""|"/"|".")
|
||||
echo "Error: Refusing to create app bundle at unsafe location: \"${APP_ROOT}\"" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Creating Solaar app bundle at ${APP_ROOT}"
|
||||
rm -rf "${APP_ROOT}"
|
||||
|
||||
APP_CONTENTS="${APP_ROOT}/Contents"
|
||||
MACOS_DIR="${APP_CONTENTS}/MacOS"
|
||||
RESOURCES_DIR="${APP_CONTENTS}/Resources"
|
||||
|
||||
mkdir -p "${MACOS_DIR}" "${RESOURCES_DIR}"
|
||||
|
||||
WRAPPER="${MACOS_DIR}/solaar-wrapper"
|
||||
cat > "${WRAPPER}" <<EOF
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# When launched via 'Solaar.app', macOS applies .app bundle restrictions
|
||||
# that may prevent GTK from creating a tray icon properly.
|
||||
# Workaround: Launch solaar in a detached background process
|
||||
|
||||
# NOTE: macOS Python always uses Python.app which shows a Dock icon
|
||||
# LSUIElement=true in Info.plist would have hidden it, but Python.app has its own Info.plist
|
||||
# that overrides ours. This is a limitation of Python on macOS.
|
||||
|
||||
if [[ "\${SOLAAR_RELAUNCHED:-}" != "1" ]]; then
|
||||
# First invocation from .app bundle - relaunch detached
|
||||
export SOLAAR_RELAUNCHED=1
|
||||
nohup "\$0" "\$@" >/dev/null 2>&1 &
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Second invocation - now detached, exec solaar normally
|
||||
exec "${SOLAAR_RESOLVED_PATH}" "\$@"
|
||||
EOF
|
||||
chmod +x "${WRAPPER}"
|
||||
|
||||
HAVE_ICON=0
|
||||
if command -v sips >/dev/null 2>&1 && command -v iconutil >/dev/null 2>&1 && [[ -f "${ICON_SOURCE}" ]]; then
|
||||
TMP_DIR=$(mktemp -d /tmp/solaar-icon.XXXXXX)
|
||||
TMP_ICONSET="${TMP_DIR}/solaar.iconset"
|
||||
mkdir -p "${TMP_ICONSET}"
|
||||
trap 'rm -rf "${TMP_DIR}"' EXIT
|
||||
for SIZE in 16 32 64 128 256 512; do
|
||||
sips -s format png -z "${SIZE}" "${SIZE}" "${ICON_SOURCE}" --out "${TMP_ICONSET}/icon_${SIZE}x${SIZE}.png" >/dev/null
|
||||
DOUBLE=$((SIZE * 2))
|
||||
sips -s format png -z "${DOUBLE}" "${DOUBLE}" "${ICON_SOURCE}" --out "${TMP_ICONSET}/icon_${SIZE}x${SIZE}@2x.png" >/dev/null
|
||||
done
|
||||
if iconutil -c icns "${TMP_ICONSET}" -o "${RESOURCES_DIR}/solaar.icns" >/dev/null 2>&1; then
|
||||
HAVE_ICON=1
|
||||
echo "Added icon from ${ICON_SOURCE}"
|
||||
else
|
||||
echo "Warning: Failed to create solaar.icns – continuing without custom icon" >&2
|
||||
fi
|
||||
rm -rf "${TMP_DIR}"
|
||||
trap - EXIT
|
||||
else
|
||||
echo "Skipping icon generation (requires sips, iconutil, and ${ICON_SOURCE})"
|
||||
fi
|
||||
|
||||
{
|
||||
cat <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>solaar-wrapper</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>io.github.pwr-solaar.solaar</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>Solaar</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0</string>
|
||||
<key>LSMinimumSystemVersion</key>
|
||||
<string>11.0</string>
|
||||
<key>NSInputMonitoringUsageDescription</key>
|
||||
<string>Solaar needs to access input devices to configure and monitor your Logitech keyboards, mice, and other peripherals.</string>
|
||||
<key>LSUIElement</key>
|
||||
<false/>
|
||||
EOF
|
||||
if [[ ${HAVE_ICON} -eq 1 ]]; then
|
||||
cat <<'EOF'
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>solaar.icns</string>
|
||||
EOF
|
||||
fi
|
||||
cat <<'EOF'
|
||||
</dict>
|
||||
</plist>
|
||||
EOF
|
||||
} > "${APP_CONTENTS}/Info.plist"
|
||||
|
||||
echo "Solaar app bundle created at ${APP_ROOT}"
|
||||
echo ""
|
||||
echo "To install the LaunchAgent for automatic startup and keep-alive execute:"
|
||||
echo " bash tools/create-macos-launchagent.sh"
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
#!/usr/bin/env bash
|
||||
# Helper to install a LaunchAgent for Solaar to keep it running in the background.
|
||||
set -euo pipefail
|
||||
|
||||
SOLAAR_PATH=${SOLAAR_PATH:-solaar}
|
||||
SOLAAR_RESOLVED_PATH=$(command -v "${SOLAAR_PATH}" 2>/dev/null || echo "")
|
||||
if [ -z "${SOLAAR_RESOLVED_PATH}" ]; then
|
||||
echo "Error: '${SOLAAR_PATH}' not found" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
LAUNCH_AGENT_DIR="${HOME}/Library/LaunchAgents"
|
||||
LAUNCH_AGENT_PLIST="${LAUNCH_AGENT_DIR}/io.github.pwr-solaar.solaar.plist"
|
||||
|
||||
mkdir -p "${LAUNCH_AGENT_DIR}"
|
||||
|
||||
echo "Creating LaunchAgent to keep Solaar running..."
|
||||
|
||||
# Unload if already loaded (suppress errors)
|
||||
launchctl unload "${LAUNCH_AGENT_PLIST}" 2>/dev/null || true
|
||||
|
||||
cat > "${LAUNCH_AGENT_PLIST}" <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Label</key>
|
||||
<string>io.github.pwr-solaar.solaar</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>${SOLAAR_RESOLVED_PATH}</string>
|
||||
<string>--window=hide</string>
|
||||
</array>
|
||||
<key>RunAtLoad</key>
|
||||
<true/>
|
||||
<key>KeepAlive</key>
|
||||
<true/>
|
||||
<key>StandardOutPath</key>
|
||||
<string>${HOME}/Library/Logs/solaar.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>${HOME}/Library/Logs/solaar.error.log</string>
|
||||
<key>ProcessType</key>
|
||||
<string>Background</string>
|
||||
</dict>
|
||||
</plist>
|
||||
EOF
|
||||
|
||||
launchctl load "${LAUNCH_AGENT_PLIST}"
|
||||
|
||||
echo "LaunchAgent created at ${LAUNCH_AGENT_PLIST}"
|
||||
echo ""
|
||||
echo "To disable automatic startup:"
|
||||
echo " launchctl unload \"${LAUNCH_AGENT_PLIST}\""
|
||||
echo ""
|
||||
echo "To re-enable automatic startup:"
|
||||
echo " launchctl load \"${LAUNCH_AGENT_PLIST}\""
|
||||
echo ""
|
||||
echo "To start Solaar:"
|
||||
echo " launchctl start io.github.pwr-solaar.solaar"
|
||||
echo ""
|
||||
echo "To stop Solaar:"
|
||||
echo " launchctl stop io.github.pwr-solaar.solaar"
|
||||
echo ""
|
||||
echo "Logs will be written to:"
|
||||
echo " ${HOME}/Library/Logs/solaar.log"
|
||||
echo " ${HOME}/Library/Logs/solaar.error.log"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
|
|
@ -9,8 +9,8 @@ while read po_file; do
|
|||
language="$(basename "$po_file")"
|
||||
language="${language%.po}"
|
||||
target="$PWD/share/locale/$language/LC_MESSAGES/solaar.mo"
|
||||
/bin/mkdir --parents "$(dirname "$target")"
|
||||
/usr/bin/msgfmt \
|
||||
mkdir --parents "$(dirname "$target")"
|
||||
msgfmt \
|
||||
--check \
|
||||
--output-file="$target" \
|
||||
"$po_file"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -e
|
||||
|
||||
|
|
@ -13,7 +13,7 @@ cd "$(readlink -f "$(dirname "$0")/..")"
|
|||
VERSION=$(python setup.py --version)
|
||||
DOMAIN=$(python setup.py --name)
|
||||
|
||||
SOURCE_FILES=$(/bin/mktemp --tmpdir $DOMAIN-po-update-XXXXXX)
|
||||
SOURCE_FILES=$(mktemp --tmpdir $DOMAIN-po-update-XXXXXX)
|
||||
find "lib" -name '*.py' >"$SOURCE_FILES"
|
||||
|
||||
POT_DIR="$PWD/po"
|
||||
|
|
@ -21,7 +21,7 @@ test -d "$POT_DIR"
|
|||
|
||||
POT_FILE="$POT_DIR/$DOMAIN.pot"
|
||||
|
||||
/usr/bin/xgettext \
|
||||
xgettext \
|
||||
--package-name "$DOMAIN" \
|
||||
--package-version "$VERSION" \
|
||||
--default-domain="$L_NAME" \
|
||||
|
|
@ -30,7 +30,7 @@ POT_FILE="$POT_DIR/$DOMAIN.pot"
|
|||
--add-comments=I18N \
|
||||
--output="$POT_FILE"
|
||||
|
||||
/bin/sed --in-place --expression="s/charset=CHARSET/charset=UTF-8/" "$POT_FILE"
|
||||
sed --in-place --expression="s/charset=CHARSET/charset=UTF-8/" "$POT_FILE"
|
||||
|
||||
|
||||
unfmt() {
|
||||
|
|
@ -39,7 +39,7 @@ unfmt() {
|
|||
SOURCE="/usr/share/locale-langpack/$LL_CC/LC_MESSAGES/$1.mo"
|
||||
fi
|
||||
local TARGET="$(mktemp --tmpdir $1-$LL_CC-XXXXXX.po)"
|
||||
/usr/bin/msgunfmt \
|
||||
msgunfmt \
|
||||
--no-escape --indent \
|
||||
--output-file="$TARGET" \
|
||||
"$SOURCE"
|
||||
|
|
@ -50,12 +50,12 @@ update_po() {
|
|||
local LL_CC="$1"
|
||||
local PO_FILE="$POT_DIR/$LL_CC.po"
|
||||
|
||||
test -r "$PO_FILE" || /usr/bin/msginit \
|
||||
test -r "$PO_FILE" || msginit \
|
||||
--no-translator --locale="$LL_CC" \
|
||||
--input="$POT_FILE" \
|
||||
--output-file="$PO_FILE"
|
||||
|
||||
/usr/bin/msgmerge \
|
||||
msgmerge \
|
||||
--update --no-fuzzy-matching \
|
||||
--no-escape --indent --add-location --sort-by-file \
|
||||
--lang="$LL_CC" \
|
||||
|
|
@ -63,7 +63,7 @@ update_po() {
|
|||
--compendium="$(unfmt gtk30-properties)" \
|
||||
"$PO_FILE" "$POT_FILE"
|
||||
|
||||
# /bin/sed --in-place --expression="s/Language: \\\\n/Language: $L_NAME\\\\n/" "$PO_FILE"
|
||||
# sed --in-place --expression="s/Language: \\\\n/Language: $L_NAME\\\\n/" "$PO_FILE"
|
||||
echo "Updated $PO_FILE"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
if test -z "$1"; then
|
||||
echo "Use: $0 <device number 1..6> [<receiver device>]"
|
||||
|
|
|
|||
Loading…
Reference in New Issue