commit bcdd19df2116b18692d676f4e71894d71cda1622 Author: isky Date: Mon Feb 16 22:32:35 2026 +0800 first commit diff --git a/ExplorerBlurMica/ReadMe.txt b/ExplorerBlurMica/ReadMe.txt new file mode 100644 index 0000000..759d08e --- /dev/null +++ b/ExplorerBlurMica/ReadMe.txt @@ -0,0 +1,184 @@ +本软件是免费开源软件 使用LGPLv3许可证 +This software is free and open source software licensed under LGPLv3 +https://github.com/Maplespe/ExplorerBlurMica + +更新日志(update log): + +2.0.1 2024-2-12 +兼容了Windows 11 Preview Canary 23H2 26040和24H2 26052 +优化了与StartAllBack的兼容性 +修复了使用Mica效果下重启后第一次打开标题栏出现白条 +增加了MicaAlt效果选项 使用'effect=4'来启用 现在'effect=2'为普通Mica效果 +恢复了'showLine'选项 现在可以通过'showLine=true'来隐藏TreeView与DUI视图之间的分割线 + +更新了和优化注册和卸载脚本 +感谢: OnCloud125252 + +Compatible with Windows 11 Preview Canary 23H2 26040 and 24H2 26052. +Optimized compatibility with StartAllBack. +Fixed the opaque color of the title bar when opening it for the first time after reboot using the Mica effect. +Added MicaAlt effect option Use 'effect=4' to enable now 'effect=2' for normal Mica effect. +The 'showLine' option has been restored It is now possible to hide the split line between the TreeView and the DUI view with 'showLine=true'. + +Updated and optimized registration and uninstall scripts +Thanks to: OnCloud125252. + +2.0.0 2024-1-1 +此版本我们重构了整个项目 从0开始全部重写 着重优化了稳定性和性能 #34 + +增加新的配置文件选项: +- clearWinUIBg : 清除Windows11的WinUI和Xaml工具栏背景 效果请参见预览图 + +配置文件变更: +删除了[smallBorder]、[showLine]、[darkRibbon]配置选项 + +bug修复: +修复了Windows 10 Ribbon的渲染问题 因此删除了[darkRibbon]选项 因为它不再有意义 +修复了Windows 11 23H2、Dev、Canary的兼容问题 支持了新版使用WinUI工具栏的文件资源管理器 #39 #59 #62 #65 #67 +修复了控制面板的绝大部分控件的渲染问题(有少部分古老的组件无法修复 维护他们非常困难) #22 #38 #54 #56 #66 #70 #71 #77 +修复了预览面板窗口控件文本渲染异常的问题 也支持了WinUI版本的预览面板 #41 +修复了使用自绘滚动条(clearBarBg)导致地址栏下拉菜单滚动条颜色异常的问题 #53 +修复了Windows 10 新版搜索框(BingSearchSuggestionsBox)的渲染问题 +改进了组件的加载方式、弃用BHO方法 改用FolderExtension的COM组件方式加载 #58 #63 #79 +改进了与StartAllback的兼容性问题 包括其他未提到的第三方软件等 #25 #28 #55 #73 #75 +优化了TreeView与DUI视图之间的分割线 我们使其颜色与工具栏线条一致 符合视觉标准 因此删除了[showline]选项 +从1.0.6版本开始就已修复了Windows 10 Acrylic模糊效果超出边界的问题, +通过缩小边框来缓解这个问题的方法已经不在有意义 因此也删除了[smallBorder]选项 +性能和稳定性优化(2024-1-3日追加) + +其他: +从此版本开始 我们不再发布完整的源代码(*.cpp) 但保留部分头文件(*.h) 因为我们发现有人违反其开源协议 +真正了解其原理的人即使只有头文件定义 也能理解其思路,而不是将我的项目改一个名称和CLSID成为其他付费软件 + + +In this version, we refactored the whole project, rewriting it from scratch and focusing on optimizing stability and performance. #34 + +Add new feature settings: +- clearWinUIBg : Remove the WinUI and Xaml toolbar backgrounds from Windows 11, see the preview image for the effect. + +Configuration file changes: +Removed [smallBorder], [showLine], [darkRibbon] configuration options. + +Bug fixes: +Fixed Windows 10 Ribbon rendering issues, so removed the [darkRibbon] option because it no longer makes sense. +Fixed Windows 11 23H2, Dev, Canary compatibility issue, supported new version of File Explorer with WinUI toolbar.(#39 #59 #62 #65 #67) +Fixed rendering issues for most controls in the control panel (a few old components could not be fixed because they were very difficult to maintain).(#22 #38 #54 #56 #66 #70 #71 #77) +Fixed text rendering exception of Preview Panel window control, also supports WinUI version of Preview Panel.(#41) +Fixed the problem that using clearBarBg causes the color of the scrollbar in the address bar dropdown to be wrong.(#53) +Fixed a rendering issue with the new version of BingSearchSuggestionsBox for Windows 10. +Improved the component loading method, abandoned the BHO method, and used the COM component loading method of FolderExtension instead.(#58 #63 #79) +Improved compatibility with StartAllback, including other unmentioned third-party software.(#25 #28 #55 #73 #75) +Optimized the split line between TreeView and DUI view We made its color consistent with the toolbar line to meet the visual standard, so we removed the [showline] option. +Since version 1.0.6 the problem with the Windows 10 Acrylic blur effect going beyond the border has been fixed. +It no longer makes sense to mitigate this issue by reducing the border so the [smallBorder] option has also been removed. +Performance and stability optimizations (added on 2024-1-3). + +Other: +Starting from this version, we don't release the full source code (*.cpp) but we keep some of the header files (*.h) because we found people violating the open source agreement. +People who really understand how it works, even with just the header definitions, can understand the idea, rather than changing the name or CLSID of my project to make it a new piece of payware or part of it! + +1.0.7 2023-8-11 +增加新的配置文件选项: +- clearAddress : 清除地址栏背景颜色 +(注意:如果你使用了StartAllBack 请将"右侧经典搜索栏"选项关掉 否则它会覆盖本程序的效果) +- clearBarBg : 清除滚动条背景颜色 +(注意:由于系统滚动条本身不透明 因此为了去除背景色 滚动条是由本程序自绘的 它可能和系统样式有所差别) +- effect=3 : 将effect设置为3 则启用Blur(Clear)效果 这是一个没有任何着色的纯模糊效果#42 + +配置文件变更(系统颜色自适应支持#32): +原来的[blend]配置改为[light]和[dark]分别配置 请注意修改! 详情见config.ini + +bug修复: +修复了Windows 11多标签页 打开新的标签页后 旧的标签页"showLine"效果失效 +修复了DPI更改时和切换显示器时 丢失窗口效果的问题 #46 +修复了文件资源管理器的"属性"页面和文件对话框的渲染问题 #35 +修复了和优化了部分渲染问题 + +Add new feature settings: +- clearAddress : Clear the background of the address bar. +(Note: If you use StartAllBack, you must close the "Classic search box", otherwise it overrides the effect of this program). +- clearBarBg : Clear the background color of the scrollbar. +(Note: Since the system scrollbar itself has a background color that cannot be removed, +when this option is turned on, the scrollbar is drawn by the program and the style may be different from the system). +- effect=3 : Set effect to 3 to enable the Blur effect This is a pure blur effect without any coloring #42 + +Configuration file changes (system color adaptation support#32): +The original [blend] configuration has been changed to [light] and [dark] separately Please note the changes! See config.ini for details. + +Bug fixes: +Fixed Windows 11 multi-tabbing issue where the "showLine" effect on old tabs is not working when opening new tabs. +Fixed missing window effects when changing DPI and switching monitors #46. +Fixed a rendering issue with the File Explorer Properties page and the File dialog #35. +Fixed and optimized some rendering issues. + + +-------------------------------------------------------------------------- + +1.0.6 2023-5-1 +增加新的配置文件选项: +- showLine : 该选项指定是否在主视图的TreeView和预览面板之间显示一条分隔线。 true或者false +- darkRibbon : Ribbon的文本颜色和背景在Windows 10 Light模式下呈现不正确, 这个选项允许你将Ribbon设置为Dark模式,以缓解这一问题。 +详情请看ReadMe + + +修复了Windows 10 Acrylic效果超出窗口边框的问题 smallBorder选项现在默认false + + +Add new feature settings +- showLine : This option specifies whether to show a separator line between the TreeView and the preview panel in the main view. +- darkRibbon : Ribbon text colors and backgrounds are rendered incorrectly in Windows 10 Light mode. +This option allows you to set the ribbon to dark mode to alleviate this problem. +For more information, please see ReadMe. + +Fixed Windows 10 Acrylic effect out of window border issue. smallBorder option now defaults to false + +-------------------------------------------------------------------------- + +1.0.5 2023-4-29 +修复了与StartAllBack等软件调节导航栏相关的功能的兼容性问题 #17 +修复了控制面板的部分渲染问题和通过shell方式打开特定页面渲染效果异常的问题 +优化了程序效率和代码 + +Fixed the compatibility issue with the function of modifying the navigation bar with software such as StartAllBack #17 +Fixed some rendering issues in the control panel and the issue of rendering abnormalities when opening certain pages via shell. +Optimized program efficiency and code. + +-------------------------------------------------------------------------- + +1.0.4 2023-1-12 +修复了特定情况下可能出现背景渲染错误的问题 #10 +修复了控制面板命令模块和导航栏渲染错误的问题 #9 +修复了微软输入法文字颜色渲染错误的问题 #8 + +Fixed possible rendering errors in certain cases #10 +Fixed control panel's command module and navbar rendering errors #9 +Fixed Microsoft IME input text rendering error in edit box #8 + +-------------------------------------------------------------------------- + +1.0.3 2022-11-21 +修复了win10 dark 主题颜色下地址栏不透明的问题 #7 +修复了win10 配置文件 Blur效果和Acrylic效果参数ID相反的问题 + +Fixed the problem that the Win10 dark address bar was opaque #7 +Fixed the problem that the Blur effect of the win10 configuration file was opposite to the Acrylic effect parameter ID. + +-------------------------------------------------------------------------- + +1.0.2 2022-10-22 +支持Windows 22H2系统 支持多标签页 #5 +修复了Windows11 最左边有白色竖条的问题 +修复了Windows11 暗色模式下地址栏不透明的问题 +增强了程序稳定性 +增加了Windows11的Acrylic支持 Mica效果现在为effect=2 + +Support Windows 22H2 system supports multiple tabs #5 +Fixed the problem of white vertical bar on the left of WIndows11 +Fixed the problem of opaque address bar in Windows 11 dark mode +The program stability is enhanced +Added Acrylic support for Windows 11, Mica effect is now effect=2 + +-------------------------------------------------------------------------- + +1.0.1 2022-8-27 +Fixed the bug of opaque ribbon bar in Windows 10 English language system \ No newline at end of file diff --git a/ExplorerBlurMica/Release/ExplorerBlurMica.dll b/ExplorerBlurMica/Release/ExplorerBlurMica.dll new file mode 100644 index 0000000..e2ce5b7 Binary files /dev/null and b/ExplorerBlurMica/Release/ExplorerBlurMica.dll differ diff --git a/ExplorerBlurMica/Release/config.ini b/ExplorerBlurMica/Release/config.ini new file mode 100644 index 0000000..84a93f1 --- /dev/null +++ b/ExplorerBlurMica/Release/config.ini @@ -0,0 +1,54 @@ +[config] +# Effect type: +# 0 = Blur: Adds a blurred background effect. This is available up to Windows 11 22H2. It creates a subtle blur effect on the UI elements behind the active window. +# 1 = Acrylic: A translucent background effect with a frosted-glass-like appearance. Available in Windows 10 and 11. This effect gives a smooth, frosty look to your UI elements. +# 2 = Mica: A more advanced, dynamic blur effect available only in Windows 11. It adapts the color of the background based on the system’s wallpaper. +# 3 = Blur (Clear): A blur effect that offers a clearer, crisper blur compared to the traditional blur effect. Available on both Windows 10 and 11. +# 4 = MicaAlt: A variant of the Mica effect that is available on Windows 11 and offers a more refined and polished appearance. +effect=1 # Acrylic effect is selected for a translucent, frosted appearance. + +# Clear the background of the address bar: +# When enabled (true), this option removes the background from the address bar, giving it a cleaner, more minimal look. +# This is especially useful if you prefer a transparent or custom background for the address bar. +clearAddress=true + +# Clear the background color of the scrollbar: +# If set to true, this removes the default scrollbar background, making it transparent. +# Note: System scrollbars typically have a default background color that can't be entirely removed. Enabling this option will make the scrollbar custom-styled by the program. +# The new style may look different from the system’s default scrollbar. +clearBarBg=true + +# Remove the toolbar background color from the WinUI or XamlIslands section: +# This removes the background color from the WinUI (Windows UI) or XamlIslands (used in some apps with modern UI elements) in Windows 11. +# Enabling this option (true) will make the WinUI/XamlIslands background transparent, giving a more streamlined or minimalistic appearance. +clearWinUIBg=true + +# Show split line between TreeView and DUIView: +# When set to true, a visible line will be shown between the TreeView (usually the file or folder structure) and the DUIView (detailed view area). +# This is useful for creating a clear visual distinction between sections in the interface, improving the UI's readability and structure. +showLine=true + +[light] +# Light mode color scheme: +# In light mode, this section defines the RGBA color values for the background blend effect. +# The RGBA values consist of Red (r), Green (g), Blue (b), and Alpha (a) (opacity/transparency). +# Example: r=220, g=220, b=220, a=160 -> This creates a light gray background with some transparency (alpha set to 160). +# You can adjust the 'a' value to control how transparent or opaque the background is. +# If you want less transparency, increase the 'a' value (e.g., a=200). For more transparency, reduce the 'a' value (e.g., a=120). + +r=220 +g=220 +b=220 +a=160 # Light mode with moderate transparency. Increase 'a' for less transparency (e.g., a=200), decrease for more (e.g., a=120). + +[dark] +# Dark mode color scheme: +# Similar to the light mode section, but for dark mode. This defines the background blend effect using RGBA values. +# In dark mode, you typically want darker colors, and the alpha value controls the transparency. The lower the alpha, the more transparent the background. +# For example, r=0, g=0, b=0, a=120 creates a near-black background with some transparency. Lowering 'a' makes it more transparent, while increasing it makes it less transparent. +# You can experiment with different 'a' values to get the right amount of transparency for your preference. + +r=0 +g=0 +b=0 +a=80 # Dark mode with higher transparency. If you want more opacity, increase 'a' (e.g., a=100 or a=120). diff --git a/ExplorerBlurMica/Release/register.cmd b/ExplorerBlurMica/Release/register.cmd new file mode 100644 index 0000000..31ff422 --- /dev/null +++ b/ExplorerBlurMica/Release/register.cmd @@ -0,0 +1,35 @@ +@echo off + +title Asking for administrator access +mode CON COLS=37 LINES=3 +color F0 +echo ::::::::::::::::::::::::::::::::::::: +echo :: Requesting administrator access :: +echo ::::::::::::::::::::::::::::::::::::: +cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && ""%~s0"" %Apply%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B ) +color +cls + +title Applying +call :isAdmin +if %errorlevel% == 0 ( + echo Applying effects + regsvr32 "%~dp0ExplorerBlurMica.dll" + echo. +) else ( + echo Please run as Administrator +) + +echo Restarting explorer +taskkill /F /IM explorer.exe >nul +start explorer.exe +echo . +echo title Success +echo Changes applied successfully +echo You can now close this window, it will close automatically in 5 seconds +timeout /t 5 >nul +exit /b 0 + +:isAdmin +fsutil dirty query %systemdrive% >nul +exit /b %errorlevel% \ No newline at end of file diff --git a/ExplorerBlurMica/Release/uninstall.cmd b/ExplorerBlurMica/Release/uninstall.cmd new file mode 100644 index 0000000..694ca4f --- /dev/null +++ b/ExplorerBlurMica/Release/uninstall.cmd @@ -0,0 +1,34 @@ +@echo off + +title Asking for administrator access +mode CON COLS=37 LINES=3 +color F0 +echo ::::::::::::::::::::::::::::::::::::: +echo :: Requesting administrator access :: +echo ::::::::::::::::::::::::::::::::::::: +cd /d "%~dp0" && ( if exist "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" ) && fsutil dirty query %systemdrive% 1>nul 2>nul || ( cmd /u /c echo Set UAC = CreateObject^("Shell.Application"^) : UAC.ShellExecute "cmd.exe", "/k cd ""%~sdp0"" && ""%~s0"" %Apply%", "", "runas", 1 >> "%temp%\getadmin.vbs" && "%temp%\getadmin.vbs" && exit /B ) +color +cls + +title Uninstalling +call :isAdmin +if %errorlevel% == 0 ( + regsvr32 /u "%~dp0ExplorerBlurMica.dll" + echo. +) else ( + echo Please run as Administrator +) + +echo Restarting explorer +taskkill /F /IM explorer.exe >nul +start explorer.exe +echo . +echo title Success +echo Changes applied successfully +echo You can now close this window, it will close automatically in 5 seconds +timeout /t 5 >nul +exit /b 0 + +:isAdmin +fsutil dirty query %systemdrive% >nul +exit /b %errorlevel% \ No newline at end of file diff --git a/HDRCmd.exe b/HDRCmd.exe new file mode 100644 index 0000000..0540ddd Binary files /dev/null and b/HDRCmd.exe differ diff --git a/HDRTray.exe b/HDRTray.exe new file mode 100644 index 0000000..9e7100b Binary files /dev/null and b/HDRTray.exe differ diff --git a/LICENSE.html b/LICENSE.html new file mode 100644 index 0000000..4356b11 --- /dev/null +++ b/LICENSE.html @@ -0,0 +1,583 @@ + + +GNU GENERAL PUBLIC LICENSE + + + +

GNU GENERAL PUBLIC LICENSE

+

Version 3, 29 June 2007

+

Copyright (C) 2007 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 GNU General Public License is a free, copyleft license for +software and other kinds of works.

+

The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom +to share and change all versions of a program--to make sure it remains +free software for all its users. We, the Free Software Foundation, use +the GNU General Public License for most of our software; it applies +also to any other work released this way by its authors. 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 +them 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 prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you +have certain responsibilities if you distribute copies of the +software, or if you modify it: responsibilities to respect the freedom +of others.

+

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. 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.

+

Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it.

+

For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions.

+

Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the +manufacturer can do so. This is fundamentally incompatible with the +aim of protecting users' freedom to change the software. The +systematic pattern of such abuse occurs in the area of products for +individuals to use, which is precisely where it is most unacceptable. +Therefore, we have designed this version of the GPL to prohibit the +practice for those products. If such problems arise substantially in +other domains, we stand ready to extend this provision to those +domains in future versions of the GPL, as needed to protect the +freedom of users.

+

Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish +to avoid the special danger that patents applied to a free program +could make it effectively proprietary. To prevent this, the GPL +assures that patents cannot be used to render the program non-free.

+

The precise terms and conditions for copying, distribution and +modification follow.

+

TERMS AND CONDITIONS

+

0. Definitions.

+

"This License" refers to version 3 of the GNU General Public License.

+

"Copyright" also means copyright-like laws that apply to other kinds +of works, such as semiconductor masks.

+

"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations.

+

To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of +an exact copy. The resulting work is called a "modified version" of +the earlier work or a work "based on" the earlier work.

+

A "covered work" means either the unmodified Program or a work based +on the Program.

+

To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well.

+

To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user +through a computer network, with no transfer of a copy, is not +conveying.

+

An interactive user interface displays "Appropriate Legal Notices" to +the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion.

+

1. Source Code.

+

The "source code" for a work means the preferred form of the work for +making modifications to it. "Object code" means any non-source form of +a work.

+

A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language.

+

The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it.

+

The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work.

+

The Corresponding Source need not include anything that users can +regenerate automatically from other parts of the Corresponding Source.

+

The Corresponding Source for a work in source code form is that same +work.

+

2. Basic Permissions.

+

All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law.

+

You may make, run and propagate covered works that you do not convey, +without conditions so long as your license otherwise remains in force. +You may convey covered works to others for the sole purpose of having +them make modifications exclusively for you, or provide you with +facilities for running those works, provided that you comply with the +terms of this License in conveying all material for which you do not +control copyright. Those thus making or running the covered works for +you must do so exclusively on your behalf, under your direction and +control, on terms that prohibit them from making any copies of your +copyrighted material outside their relationship with you.

+

Conveying under any other circumstances is permitted solely under the +conditions stated below. Sublicensing is not allowed; section 10 makes +it unnecessary.

+

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

+

No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures.

+

When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such +circumvention is effected by exercising rights under this License with +respect to the covered work, and you disclaim any intention to limit +operation or modification of the work as a means of enforcing, against +the work's users, your or third parties' legal rights to forbid +circumvention of technological measures.

+

4. Conveying Verbatim Copies.

+

You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program.

+

You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee.

+

5. Conveying Modified Source Versions.

+

You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these +conditions:

+ +

A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate.

+

6. Conveying Non-Source Forms.

+

You may convey a covered work in object code form under the terms of +sections 4 and 5, provided that you also convey the machine-readable +Corresponding Source under the terms of this License, in one of these +ways:

+ +

A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work.

+

A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, +family, or household purposes, or (2) anything designed or sold for +incorporation into a dwelling. In determining whether a product is a +consumer product, doubtful cases shall be resolved in favor of +coverage. For a particular product received by a particular user, +"normally used" refers to a typical or common use of that class of +product, regardless of the status of the particular user or of the way +in which the particular user actually uses, or expects or is expected +to use, the product. A product is a consumer product regardless of +whether the product has substantial commercial, industrial or +non-consumer uses, unless such uses represent the only significant +mode of use of the product.

+

"Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to +install and execute modified versions of a covered work in that User +Product from a modified version of its Corresponding Source. The +information must suffice to ensure that the continued functioning of +the modified object code is in no case prevented or interfered with +solely because modification has been made.

+

If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM).

+

The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or +updates for a work that has been modified or installed by the +recipient, or for the User Product in which it has been modified or +installed. Access to a network may be denied when the modification +itself materially and adversely affects the operation of the network +or violates the rules and protocols for communication across the +network.

+

Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying.

+

7. Additional Terms.

+

"Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions.

+

When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission.

+

Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders +of that material) supplement the terms of this License with terms:

+ +

All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying.

+

If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms.

+

Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; the +above requirements apply either way.

+

8. Termination.

+

You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11).

+

However, if you cease all violation of this License, then your license +from a particular copyright holder is reinstated (a) provisionally, +unless and until the copyright holder explicitly and finally +terminates your license, and (b) permanently, if the copyright holder +fails to notify you of the violation by some reasonable means prior to +60 days after the cessation.

+

Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice.

+

Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10.

+

9. Acceptance Not Required for Having Copies.

+

You are not required to accept this License in order to receive or run +a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so.

+

10. Automatic Licensing of Downstream Recipients.

+

Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License.

+

An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts.

+

You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it.

+

11. Patents.

+

A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version".

+

A contributor's "essential patent claims" are all patent claims owned +or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License.

+

Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version.

+

In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party.

+

If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid.

+

If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it.

+

A patent license is "discriminatory" if it does not include within the +scope of its coverage, prohibits the exercise of, or is conditioned on +the non-exercise of one or more of the rights that are specifically +granted under this License. You may not convey a covered work if you +are a party to an arrangement with a third party that is in the +business of distributing software, under which you make payment to the +third party based on the extent of your activity of conveying the +work, and under which the third party grants, to any of the parties +who would receive the covered work from you, a discriminatory patent +license (a) in connection with copies of the covered work conveyed by +you (or copies made from those copies), or (b) primarily for and in +connection with specific products or compilations that contain the +covered work, unless you entered into that arrangement, or that patent +license was granted, prior to 28 March 2007.

+

Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law.

+

12. No Surrender of Others' Freedom.

+

If 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 convey a +covered work so as to satisfy simultaneously your obligations under +this License and any other pertinent obligations, then as a +consequence you may not convey it at all. For example, if you agree to +terms that obligate you to collect a royalty for further conveying +from those to whom you convey the Program, the only way you could +satisfy both those terms and this License would be to refrain entirely +from conveying the Program.

+

13. Use with the GNU Affero General Public License.

+

Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such.

+

14. Revised Versions of this License.

+

The Free Software Foundation may publish revised and/or new versions +of the GNU 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 that a certain numbered version of the GNU General Public +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that numbered version or +of any later version published by the Free Software Foundation. If the +Program does not specify a version number of the GNU General Public +License, you may choose any version ever published by the Free +Software Foundation.

+

If the Program specifies that a proxy can decide which future versions +of the GNU General Public License can be used, that proxy's public +statement of acceptance of a version permanently authorizes you to +choose that version for the Program.

+

Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version.

+

15. Disclaimer of Warranty.

+

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.

+

16. Limitation of Liability.

+

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR +CONVEYS 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.

+

17. Interpretation of Sections 15 and 16.

+

If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee.

+

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 state +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 a brief idea of what it does.>
+    Copyright (C) <year>  <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 3 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 does terminal interaction, make it output a short +notice like this when it starts in an interactive mode:

+
    <program>  Copyright (C) <year>  <name of author>
+    This program 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, your +program's commands might be different; for a GUI interface, you would +use an "about box".

+

You should also get your employer (if you work as a programmer) or +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. For more information on this, and how to apply and follow +the GNU GPL, see https://www.gnu.org/licenses/.

+

The GNU 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. But first, +please read https://www.gnu.org/licenses/why-not-lgpl.html.

+ + diff --git a/Oh-My-Posh/isky-custom.json b/Oh-My-Posh/isky-custom.json new file mode 100644 index 0000000..38697f1 --- /dev/null +++ b/Oh-My-Posh/isky-custom.json @@ -0,0 +1,65 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "version": 4, + "final_space": true, + "blocks": [ + { + "type": "prompt", + "alignment": "left", + "segments": [ + { + "type": "os", + "style": "plain", + "template": "{{ .Icon }} ", + "foreground_templates": [ + "{{ if eq .OS \"windows\" }}#4fc3ff{{ end }}", + "{{ if eq .OS \"linux\" }}#a6e3a1{{ end }}" + ] + }, + { + "type": "session", + "style": "plain", + "foreground": "#7CFF00", + "template": "{{ .UserName }} " + }, + { + "type": "text", + "style": "plain", + "foreground": "#4fc3ff", + "template": " " + }, + { + "type": "path", + "style": "plain", + "foreground": "#4fc3ff", + "options": { + "style": "folder" + }, + "template": "{{ .Path }} " + }, + { + "type": "git", + "style": "plain", + "foreground": "#ff94df", + "options": { + "branch_icon": " ", + "fetch_status": true + }, + "template": "{{ .HEAD }}{{ if .Working.Changed }} *{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} " + }, + { + "type": "java", + "style": "plain", + "foreground": "#a6e3a1", + "template": " {{ .Full }} " + }, + { + "type": "text", + "style": "plain", + "foreground": "#4fc3ff", + "template": "❯ " + } + ] + } + ] +} diff --git a/Oh-My-Posh/spaceship.omp - Copy.json b/Oh-My-Posh/spaceship.omp - Copy.json new file mode 100644 index 0000000..fdf4a5e --- /dev/null +++ b/Oh-My-Posh/spaceship.omp - Copy.json @@ -0,0 +1,50 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "foreground": "lightYellow", + "style": "plain", + "template": "{{ .UserName }} ", + "type": "session" + }, + { + "foreground": "cyan", + "options": { + "style": "folder" + }, + "style": "plain", + "template": "<#ffffff>in {{ .Path }} ", + "type": "path" + }, + { + "foreground": "#ff94df", + "options": { + "branch_icon": " <#ff94df>\ue0a0 " + }, + "style": "plain", + "template": "<#ffffff>on {{ .HEAD }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", + "type": "git" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "lightGreen", + "style": "plain", + "template": "\u276f", + "type": "text" + } + ], + "type": "prompt" + } + ], + "final_space": true, + "version": 4 +} \ No newline at end of file diff --git a/README.html b/README.html new file mode 100644 index 0000000..7275101 --- /dev/null +++ b/README.html @@ -0,0 +1,54 @@ + + +HDRTray + + + +

HDRTray

+

Windows Notification Area icon to show and change HDR status. +Useful if you quickly want to check the current setting, maybe because it might been changed automatically by some applications, or maybe just because you're forgetful. +Also allows quick toggling.

+

Usage

+

After starting the program you can see a new notification area icon, displaying +either SDR or HDR depending on whether HDR is off or on.

+

HDR can be toggled on or off with a left-click on the icon.

+

Right-clicking opens the context menu offering an option to automatically start +the program when you log in to Windows.

+

Command line utility

+

Since version 0.5, the HDRCmd command line utility is included. It can be used to toggle HDR on and off from scripts and check it's status.

+

Syntax:

+
HDRCmd [SUBCOMMAND] [SUBCOMMAND-OPTIONS]
+
+

on command

+

Turns HDR on on all supported displays.

+

Does not accept any options.

+

off command

+

Turns HDR off on all supported displays.

+

Does not accept any options.

+

status command

+

Prints the current HDR status to the console. Has a special mode that returns an exit code depending on the status.

+

--mode (-m) option

+

Specifies how the status should be reported. Accepts the following values:

+ +

Latest Release

+

The latest release can be found on the Releases tab of the GitHub project page.

+

Feedback, Issues

+

Please use the Issues tab of the GitHub project page to provide feedback or report any issues you may encounter.

+

License

+

HDRTray, a notification icon for the Use HDR option

+

Copyright (C) 2022-2023 Frank Richter

+

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 3 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.

+

Full text of GNU General Public License, Version 3.

+ + diff --git a/README.md b/README.md new file mode 100644 index 0000000..c33c504 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Dotfiles Lab Repo diff --git a/kotofetch.exe b/kotofetch.exe new file mode 100644 index 0000000..b4f5cfa Binary files /dev/null and b/kotofetch.exe differ