-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
375 additions
and
257 deletions.
There are no files selected for viewing
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Windows Registry Editor Version 5.00 | ||
|
||
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\CD Projekt Red] | ||
|
||
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\CD Projekt Red\The Witcher] | ||
"InstallFolder"="C:\\Games\\The Witcher.Gold Edition.v 1.5.0.1304 + 8 DLC" | ||
"IsDjinniInstalled"=dword:00000001 | ||
"Language"="14" | ||
"RegionVersion"="" | ||
|
||
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\1C] | ||
|
||
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\1C\{EE7C4A60-4568-459E-BDDB-D3100BF2BC1C}] | ||
"AppFile"="C:\\Games\\The Witcher.Gold Edition.v 1.5.0.1304 + 8 DLC\\launcher.exe" | ||
"AppVersion"="1.5.0.1304" | ||
"InstallFlag"=dword:00000001 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python3 | ||
|
||
import os | ||
|
||
from Xlib import display as xdisplay | ||
|
||
try: | ||
mhfratio = int(os.getenv('MANGOHUD_FONT_SIZE_RATION')) | ||
except: | ||
mhfratio = 55 | ||
|
||
MANGOHUD_FONT_SIZE_RATION = mhfratio | ||
|
||
display = xdisplay.Display() | ||
root_screen = display.screen().root | ||
|
||
for mon in root_screen.xrandr_get_monitors().monitors: | ||
if mon.primary: | ||
connector = display.get_atom_name(mon.name) | ||
print(int(mon.height_in_pixels / MANGOHUD_FONT_SIZE_RATION)) |
Oops, something went wrong.