Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
1439add1b0 |
31 changed files with 861 additions and 391 deletions
604
.config/FanControl/userConfig.json
Normal file
604
.config/FanControl/userConfig.json
Normal file
|
@ -0,0 +1,604 @@
|
|||
{
|
||||
"__VERSION__": "205",
|
||||
"Main": {
|
||||
"Controls": [
|
||||
{
|
||||
"Calibration": [],
|
||||
"Enable": false,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/0",
|
||||
"IsHidden": true,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #1",
|
||||
"NickName": "Fan #1",
|
||||
"PairedFanSensor": null,
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": null,
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 0,
|
||||
"SelectedStop": 0
|
||||
},
|
||||
{
|
||||
"Calibration": [
|
||||
[
|
||||
10,
|
||||
326
|
||||
],
|
||||
[
|
||||
20,
|
||||
509
|
||||
],
|
||||
[
|
||||
30,
|
||||
725
|
||||
],
|
||||
[
|
||||
40,
|
||||
899
|
||||
],
|
||||
[
|
||||
50,
|
||||
1044
|
||||
],
|
||||
[
|
||||
60,
|
||||
1183
|
||||
],
|
||||
[
|
||||
70,
|
||||
1304
|
||||
],
|
||||
[
|
||||
80,
|
||||
1411
|
||||
],
|
||||
[
|
||||
90,
|
||||
1481
|
||||
],
|
||||
[
|
||||
100,
|
||||
1581
|
||||
]
|
||||
],
|
||||
"Enable": true,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/1",
|
||||
"IsHidden": false,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #2",
|
||||
"NickName": "CPU",
|
||||
"PairedFanSensor": {
|
||||
"Identifier": "/lpc/nct6797d/fan/1",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #2",
|
||||
"NickName": "CPU"
|
||||
},
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": {
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "CPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"35,40",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "/amdcpu/0/temperature/2",
|
||||
"IsHidden": false,
|
||||
"Name": "Core (Tctl/Tdie)",
|
||||
"NickName": "Core (Tctl/Tdie)"
|
||||
}
|
||||
},
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 0,
|
||||
"SelectedStop": 0
|
||||
},
|
||||
{
|
||||
"Calibration": [
|
||||
[
|
||||
20,
|
||||
0
|
||||
],
|
||||
[
|
||||
30,
|
||||
631
|
||||
],
|
||||
[
|
||||
40,
|
||||
851
|
||||
],
|
||||
[
|
||||
50,
|
||||
1023
|
||||
],
|
||||
[
|
||||
60,
|
||||
1187
|
||||
],
|
||||
[
|
||||
70,
|
||||
1336
|
||||
],
|
||||
[
|
||||
80,
|
||||
1477
|
||||
],
|
||||
[
|
||||
90,
|
||||
1604
|
||||
],
|
||||
[
|
||||
100,
|
||||
1690
|
||||
]
|
||||
],
|
||||
"Enable": true,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/2",
|
||||
"IsHidden": false,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #3",
|
||||
"NickName": "BACK",
|
||||
"PairedFanSensor": {
|
||||
"Identifier": "/lpc/nct6797d/fan/2",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #3",
|
||||
"NickName": "BACK"
|
||||
},
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": {
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "CPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"35,40",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "/amdcpu/0/temperature/2",
|
||||
"IsHidden": false,
|
||||
"Name": "Core (Tctl/Tdie)",
|
||||
"NickName": "Core (Tctl/Tdie)"
|
||||
}
|
||||
},
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 35,
|
||||
"SelectedStop": 26
|
||||
},
|
||||
{
|
||||
"Calibration": [
|
||||
[
|
||||
20,
|
||||
0
|
||||
],
|
||||
[
|
||||
30,
|
||||
364
|
||||
],
|
||||
[
|
||||
40,
|
||||
520
|
||||
],
|
||||
[
|
||||
50,
|
||||
650
|
||||
],
|
||||
[
|
||||
60,
|
||||
765
|
||||
],
|
||||
[
|
||||
70,
|
||||
865
|
||||
],
|
||||
[
|
||||
80,
|
||||
964
|
||||
],
|
||||
[
|
||||
90,
|
||||
1051
|
||||
],
|
||||
[
|
||||
100,
|
||||
1106
|
||||
]
|
||||
],
|
||||
"Enable": true,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/3",
|
||||
"IsHidden": false,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #4",
|
||||
"NickName": "FRONT BAS",
|
||||
"PairedFanSensor": {
|
||||
"Identifier": "/lpc/nct6797d/fan/3",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #4",
|
||||
"NickName": "FRONT BAS"
|
||||
},
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": {
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "GPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"40,50",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "NVApiWrapper/0-TU106-A/sensor/0",
|
||||
"IsHidden": false,
|
||||
"Name": "GPU",
|
||||
"NickName": "GPU"
|
||||
}
|
||||
},
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 47,
|
||||
"SelectedStop": 26
|
||||
},
|
||||
{
|
||||
"Calibration": [
|
||||
[
|
||||
10,
|
||||
0
|
||||
],
|
||||
[
|
||||
20,
|
||||
465
|
||||
],
|
||||
[
|
||||
30,
|
||||
641
|
||||
],
|
||||
[
|
||||
40,
|
||||
785
|
||||
],
|
||||
[
|
||||
50,
|
||||
918
|
||||
],
|
||||
[
|
||||
60,
|
||||
1041
|
||||
],
|
||||
[
|
||||
70,
|
||||
1140
|
||||
],
|
||||
[
|
||||
80,
|
||||
1254
|
||||
],
|
||||
[
|
||||
90,
|
||||
1353
|
||||
],
|
||||
[
|
||||
100,
|
||||
1409
|
||||
]
|
||||
],
|
||||
"Enable": true,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/4",
|
||||
"IsHidden": false,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #5",
|
||||
"NickName": "FRONT TOP",
|
||||
"PairedFanSensor": {
|
||||
"Identifier": "/lpc/nct6797d/fan/4",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #5",
|
||||
"NickName": "FRONT TOP"
|
||||
},
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": {
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "CPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"35,40",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "/amdcpu/0/temperature/2",
|
||||
"IsHidden": false,
|
||||
"Name": "Core (Tctl/Tdie)",
|
||||
"NickName": "Core (Tctl/Tdie)"
|
||||
}
|
||||
},
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 22,
|
||||
"SelectedStop": 16
|
||||
},
|
||||
{
|
||||
"Calibration": [],
|
||||
"Enable": false,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/5",
|
||||
"IsHidden": true,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #6",
|
||||
"NickName": "Fan #6",
|
||||
"PairedFanSensor": null,
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": null,
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 0,
|
||||
"SelectedStop": 0
|
||||
},
|
||||
{
|
||||
"Calibration": [],
|
||||
"Enable": false,
|
||||
"ForceApply": false,
|
||||
"Identifier": "/lpc/nct6797d/control/6",
|
||||
"IsHidden": true,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Fan #7",
|
||||
"NickName": "Fan #7",
|
||||
"PairedFanSensor": null,
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": null,
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 0,
|
||||
"SelectedStop": 0
|
||||
},
|
||||
{
|
||||
"Calibration": [
|
||||
[
|
||||
40,
|
||||
1491
|
||||
],
|
||||
[
|
||||
50,
|
||||
1643
|
||||
],
|
||||
[
|
||||
60,
|
||||
1796
|
||||
],
|
||||
[
|
||||
70,
|
||||
1800
|
||||
],
|
||||
[
|
||||
80,
|
||||
1802
|
||||
],
|
||||
[
|
||||
100,
|
||||
1806
|
||||
]
|
||||
],
|
||||
"Enable": true,
|
||||
"ForceApply": false,
|
||||
"Identifier": "NVApiWrapper/0-TU106-A/control/0",
|
||||
"IsHidden": false,
|
||||
"ManualControl": false,
|
||||
"ManualControlValue": 50,
|
||||
"MinimumPercent": 0,
|
||||
"Name": "Control 1 - NVIDIA GeForce RTX 2060 SUPER",
|
||||
"NickName": "Control 1 - NVIDIA GeForce RTX 2060 SUPER",
|
||||
"PairedFanSensor": {
|
||||
"Identifier": "NVApiWrapper/0-TU106-A/fan/0",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan 1 - NVIDIA GeForce RTX 2060 SUPER",
|
||||
"NickName": "Control 1 - NVIDIA GeForce RTX 2060 SUPER"
|
||||
},
|
||||
"SelectedCommandStepDown": 8.0,
|
||||
"SelectedCommandStepUp": 8.0,
|
||||
"SelectedFanCurve": {
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "GPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"40,50",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "NVApiWrapper/0-TU106-A/sensor/0",
|
||||
"IsHidden": false,
|
||||
"Name": "GPU",
|
||||
"NickName": "GPU"
|
||||
}
|
||||
},
|
||||
"SelectedOffset": 0,
|
||||
"SelectedStart": 0,
|
||||
"SelectedStop": 0
|
||||
}
|
||||
],
|
||||
"CustomSensors": [],
|
||||
"Fahrenheit": false,
|
||||
"FanCurves": [
|
||||
{
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "CPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"35,40",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "/amdcpu/0/temperature/2",
|
||||
"IsHidden": false,
|
||||
"Name": "Core (Tctl/Tdie)",
|
||||
"NickName": "Core (Tctl/Tdie)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"CommandMode": 0,
|
||||
"IgnoreHysteresisAtLimits": true,
|
||||
"IsHidden": false,
|
||||
"MaximumCommand": 100,
|
||||
"MaximumTemperature": 120.0,
|
||||
"MinimumTemperature": 20.0,
|
||||
"Name": "GPU",
|
||||
"OneWayHysteresis": false,
|
||||
"Points": [
|
||||
"40,50",
|
||||
"60,100"
|
||||
],
|
||||
"SelectedHysteresis": 2.0,
|
||||
"SelectedResponseTime": 1,
|
||||
"SelectedTempSource": {
|
||||
"Identifier": "NVApiWrapper/0-TU106-A/sensor/0",
|
||||
"IsHidden": false,
|
||||
"Name": "GPU",
|
||||
"NickName": "GPU"
|
||||
}
|
||||
}
|
||||
],
|
||||
"FanSensors": [
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/0",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #1",
|
||||
"NickName": "Fan #1"
|
||||
},
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/1",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #2",
|
||||
"NickName": "CPU"
|
||||
},
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/2",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #3",
|
||||
"NickName": "BACK"
|
||||
},
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/3",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #4",
|
||||
"NickName": "FRONT BAS"
|
||||
},
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/4",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #5",
|
||||
"NickName": "FRONT TOP"
|
||||
},
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/5",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #6",
|
||||
"NickName": "Fan #6"
|
||||
},
|
||||
{
|
||||
"Identifier": "/lpc/nct6797d/fan/6",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan #7",
|
||||
"NickName": "Fan #7"
|
||||
},
|
||||
{
|
||||
"Identifier": "NVApiWrapper/0-TU106-A/fan/0",
|
||||
"IsHidden": false,
|
||||
"Name": "Fan 1 - NVIDIA GeForce RTX 2060 SUPER",
|
||||
"NickName": "Control 1 - NVIDIA GeForce RTX 2060 SUPER"
|
||||
}
|
||||
],
|
||||
"HideCalibration": false,
|
||||
"HideFanSpeedCards": true,
|
||||
"HorizontalUIOrientation": false,
|
||||
"PrimaryColor": "#FF607D8B",
|
||||
"SecondaryColor": "#FFC6FF00",
|
||||
"SelectedTheme": "",
|
||||
"ShowHiddenCards": false,
|
||||
"SyncThemeWithWindows": true,
|
||||
"SyncTrayIconColorWithWindows": true,
|
||||
"TemperatureSensors": [],
|
||||
"TrayIconColor": null,
|
||||
"TrayIcons": []
|
||||
},
|
||||
"Sensors": {
|
||||
"AdlxWrapperSettings": {
|
||||
"Enabled": true
|
||||
},
|
||||
"DisabledPlugins": [],
|
||||
"DisableStorageSensors": true,
|
||||
"LibreHardwareMonitorSettings": {
|
||||
"Controller": false,
|
||||
"CPU": true,
|
||||
"EmbeddedEC": true,
|
||||
"GPU": true,
|
||||
"InpOut": false,
|
||||
"Memory": false,
|
||||
"Motherboard": true,
|
||||
"PSU": false,
|
||||
"Storage": false,
|
||||
"ZeroRPMOverride": false
|
||||
},
|
||||
"NvAPIWrapperSettings": {
|
||||
"Enabled": true,
|
||||
"ZeroRPMOverride": false
|
||||
},
|
||||
"SensorCount": 23
|
||||
}
|
||||
}
|
|
@ -28,9 +28,9 @@ abbr mfind "find /* 2> /dev/null | grep -i ''" # Search for any filename in all
|
|||
abbr sfind "find * -type f -name '*.sync-conflict*' -ok rm {} \;"
|
||||
abbr grp "git remote prune origin"
|
||||
abbr lfs "git lfs install; git lfs fetch; git lfs checkout"
|
||||
abbr ls "eza --icons=auto"
|
||||
abbr topgrade "topgrade; pacman-clean"
|
||||
abbr run "for i in (seq 100); ./program; end"
|
||||
abbr commit-undo "git reset --hard HEAD~1 && git push --force"
|
||||
abbr mjava "find . -name '*.java' -print | xargs javac -d bin && java --enable-preview -cp bin App"
|
||||
abbr , "clear; "
|
||||
abbr s "echo \$status"
|
||||
|
|
|
@ -6,13 +6,8 @@ abbr xclip "xclip -selection clipboard"
|
|||
abbr spotx "curl -sSL https://spotx-official.github.io/run.sh | bash"
|
||||
abbr rm "trash -f"
|
||||
abbr catall "catall . '*.ext1' '*.ext2' | xclip -selection clipboard"
|
||||
abbr ls "eza --icons=auto"
|
||||
abbr lst "eza --icons=auto --tree --level=2"
|
||||
abbr ll "eza --git --icons=auto -gl"
|
||||
abbr la "eza --git --icons=auto -gla"
|
||||
abbr llt "eza --git --icons=auto --tree --level=2 -gl"
|
||||
abbr lat "eza --git --icons=auto --tree --level=2 -gla"
|
||||
abbr pdf "firefox *.pdf & disown"
|
||||
abbr beep "cvlc --play-and-exit /usr/share/sounds/freedesktop/stereo/bell.oga &> /dev/null"
|
||||
abbr p "xclip -o > file"
|
||||
abbr wifix "sudo systemctl restart NetworkManager.service"
|
||||
|
|
|
@ -4,13 +4,8 @@ abbr vs "code ."
|
|||
abbr wgcc x86_64-w64-mingw32-gcc
|
||||
abbr rm "rm -rf"
|
||||
abbr catall "catall . '*.ext1' '*.ext2' | clip.exe"
|
||||
abbr ls "eza"
|
||||
abbr lst "eza --tree --level=2"
|
||||
abbr ll "eza --git -gl"
|
||||
abbr la "eza --git -gla"
|
||||
abbr llt "eza --git --tree --level=2 -gl"
|
||||
abbr lat "eza --git --tree --level=2 -gla"
|
||||
abbr pdf "'/mnt/c/Program Files/Mozilla Firefox/firefox.exe' (for f in *.pdf; echo "file:///"(wslpath -m .)/\$f; end)"
|
||||
abbr zfind "find . -type f -name '*:Zone.Identifier' -delete"
|
||||
abbr zfind "find ~ -type f -name '*:Zone.Identifier' -ok rm {} \;"
|
||||
abbr beep "powershell.exe -c '[console]::beep(200,300)'"
|
||||
abbr valid "&& powershell.exe -c '[console]::beep(200,300)' || powershell.exe -c '[console]::beep(400,300)'"
|
||||
|
|
|
@ -1,29 +1,21 @@
|
|||
# This function is typically bound to Alt-L, it is used to list the contents
|
||||
# of the directory under the cursor.
|
||||
|
||||
# Temporary function as of now it's not bundled in the latest fish release
|
||||
# https://github.com/fish-shell/fish-shell/commit/9158395d10cfa584a988ba093cf7a93a70b48578
|
||||
function __fish_echo --description 'run the given command after the current commandline and redraw the prompt'
|
||||
set -l line (commandline --line)
|
||||
string >&2 repeat -N \n --count=(math (commandline | count) - $line + 1)
|
||||
$argv >&2
|
||||
string >&2 repeat -N \n --count=(math (count (fish_prompt)) - 1)
|
||||
string >&2 repeat -N \n --count=(math $line - 1)
|
||||
commandline -f repaint
|
||||
end
|
||||
|
||||
function __fish_list_current_token -d "List contents of token under the cursor if it is a directory, otherwise list the contents of the current directory"
|
||||
set -l val (commandline -t | string replace -r '^~' "$HOME")
|
||||
set -l cmd
|
||||
printf "\n"
|
||||
if test -d $val
|
||||
set cmd eza $val
|
||||
eza --icons=auto $val
|
||||
else
|
||||
set -l dir (dirname -- $val)
|
||||
if test $dir != . -a -d $dir
|
||||
set cmd eza $dir
|
||||
eza --icons=auto $dir
|
||||
else
|
||||
set cmd eza
|
||||
eza --icons=auto
|
||||
end
|
||||
end
|
||||
__fish_echo $cmd
|
||||
|
||||
string repeat -N \n --count=(math (count (fish_prompt)) - 1)
|
||||
|
||||
commandline -f repaint
|
||||
end
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
function remove-path --description "Remove an element from the PATH"
|
||||
# See https://github.com/fish-shell/fish-shell/issues/8604
|
||||
if set -l index (contains -i "$argv" $fish_user_paths)
|
||||
set -e fish_user_paths[$index]
|
||||
echo "Removed $argv from the path"
|
||||
end
|
||||
end
|
|
@ -1,4 +1,3 @@
|
|||
BITRATE_MODE=vbr
|
||||
QUALITY=medium
|
||||
REPLAYDURATION=120
|
||||
OUTPUTDIR=Vidéos
|
||||
|
|
|
@ -51,7 +51,7 @@ RecFilePath=C:\\Users\\anri\\Videos
|
|||
RecFormat2=hybrid_mp4
|
||||
RecUseRescale=false
|
||||
RecTracks=7
|
||||
RecEncoder=h265_texture_amf
|
||||
RecEncoder=jim_hevc_nvenc
|
||||
FLVTrack=1
|
||||
StreamMultiTrackAudioMixes=1
|
||||
FFOutputToFile=true
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"preset":"speed","bitrate":12000,"keyint_sec":1}
|
||||
{"bitrate":12000,"keyint_sec":1,"lookahead":false}
|
File diff suppressed because one or more lines are too long
|
@ -53,6 +53,9 @@ main() {
|
|||
busctl call --system org.freedesktop.UPower \
|
||||
/org/freedesktop/UPower/KbdBacklight \
|
||||
org.freedesktop.UPower.KbdBacklight SetBrightness 'i' 0
|
||||
|
||||
# Gnome fix theme TODO: Is this necessary? need some research
|
||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-light'
|
||||
;;
|
||||
|
||||
|
||||
|
|
|
@ -1,58 +0,0 @@
|
|||
// Zed settings
|
||||
//
|
||||
// For information on how to configure Zed, see the Zed
|
||||
// documentation: https://zed.dev/docs/configuring-zed
|
||||
//
|
||||
// To see all of Zed's default settings without changing your
|
||||
// custom settings, run `zed: open default settings` from the
|
||||
// command palette (cmd-shift-p / ctrl-shift-p)
|
||||
{
|
||||
"features": {
|
||||
"edit_prediction_provider": "none"
|
||||
},
|
||||
"tab_size": 2,
|
||||
"ui_font_size": 16,
|
||||
"buffer_font_size": 16,
|
||||
"auto_signature_help": true,
|
||||
"wrap_guides": [100],
|
||||
"soft_wrap": "preferred_line_length",
|
||||
"preferred_line_length": 100,
|
||||
// "telemetry": {
|
||||
// "diagnostics": false,
|
||||
// "metrics": false
|
||||
// },
|
||||
"journal": {
|
||||
"hour_format": "hour24"
|
||||
},
|
||||
"tabs": {
|
||||
"git_status": true
|
||||
},
|
||||
"theme": {
|
||||
"mode": "system",
|
||||
"light": "Atelier Sulphurpool Light",
|
||||
"dark": "Atelier Sulphurpool Dark"
|
||||
},
|
||||
"terminal": {
|
||||
"shell": {
|
||||
"program": "fish"
|
||||
}
|
||||
},
|
||||
"lsp": {
|
||||
"ltex": {
|
||||
"settings": {
|
||||
"ltex": {
|
||||
"language": "auto"
|
||||
}
|
||||
}
|
||||
},
|
||||
"texlab": {
|
||||
"settings": {
|
||||
"texlab": {
|
||||
"build": {
|
||||
"onSave": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,55 +0,0 @@
|
|||
// Static tasks configuration.
|
||||
//
|
||||
// Example:
|
||||
[
|
||||
{
|
||||
"label": "Example task",
|
||||
"command": "for i in {1..5}; do echo \"Hello $i/5\"; sleep 1; done",
|
||||
//"args": [],
|
||||
// Env overrides for the command, will be appended to the terminal's environment from the settings.
|
||||
"env": { "foo": "bar" },
|
||||
// Current working directory to spawn the command into, defaults to current project root.
|
||||
//"cwd": "/path/to/working/directory",
|
||||
// Whether to use a new terminal tab or reuse the existing one to spawn the process, defaults to `false`.
|
||||
"use_new_terminal": false,
|
||||
// Whether to allow multiple instances of the same task to be run, or rather wait for the existing ones to finish, defaults to `false`.
|
||||
"allow_concurrent_runs": false,
|
||||
// What to do with the terminal pane and tab, after the command was started:
|
||||
// * `always` — always show the task's pane, and focus the corresponding tab in it (default)
|
||||
// * `no_focus` — always show the task's pane, add the task's tab in it, but don't focus it
|
||||
// * `never` — do not alter focus, but still add/reuse the task's tab in its pane
|
||||
"reveal": "always",
|
||||
// Where to place the task's terminal item after starting the task:
|
||||
// * `dock` — in the terminal dock, "regular" terminal items' place (default)
|
||||
// * `center` — in the central pane group, "main" editor area
|
||||
"reveal_target": "dock",
|
||||
// What to do with the terminal pane and tab, after the command had finished:
|
||||
// * `never` — Do nothing when the command finishes (default)
|
||||
// * `always` — always hide the terminal tab, hide the pane also if it was the last tab in it
|
||||
// * `on_success` — hide the terminal tab on task success only, otherwise behaves similar to `always`
|
||||
"hide": "never",
|
||||
// Which shell to use when running a task inside the terminal.
|
||||
// May take 3 values:
|
||||
// 1. (default) Use the system's default terminal configuration in /etc/passwd
|
||||
// "shell": "system"
|
||||
// 2. A program:
|
||||
// "shell": {
|
||||
// "program": "sh"
|
||||
// }
|
||||
// 3. A program with arguments:
|
||||
// "shell": {
|
||||
// "with_arguments": {
|
||||
// "program": "/bin/bash",
|
||||
// "args": ["--login"]
|
||||
// }
|
||||
// }
|
||||
"shell": "system"
|
||||
},
|
||||
{
|
||||
"label": "Build Latex with latexmk(lualatex)",
|
||||
"command": "latexmk",
|
||||
"args": ["-lualatex", "-shell-escape", "$ZED_FILENAME"],
|
||||
"cwd": "$ZED_DIRNAME",
|
||||
"tags": ["latex-build"]
|
||||
}
|
||||
]
|
|
@ -29,5 +29,3 @@ user_pref("extensions.pocket.enabled", false); // désactive Pocket
|
|||
user_pref("layout.css.has-selector.enabled", true); // https://developer.mozilla.org/en-US/docs/Web/CSS/:has
|
||||
user_pref("extensions.webextensions.restrictedDomains", ""); // retire les domaines restreints (domanes de Mozilla) pour les extensions
|
||||
user_pref("extensions.quarantinedDomains.enabled", false); // autorise les extensions à fonctionner sur tout les sites
|
||||
user_pref("full-screen-api.warning.timeout", 0); // désactive le pop-up "site est désormais en plein écran"
|
||||
user_pref("pdfjs.defaultZoomValue", "page-fit"); // change le zoom par défaut en "Page entière"
|
||||
|
|
|
@ -38,10 +38,6 @@ ignore = Name *.fdb_latexmk
|
|||
ignore = Name *.nav
|
||||
ignore = Name *.snm
|
||||
ignore = Name *.vrb
|
||||
ignore = Name *.bcf
|
||||
ignore = Name *.bcf-SAVE-ERROR
|
||||
ignore = Name *.pdfpc
|
||||
ignore = Name *.run.xml
|
||||
ignore = Name *.o
|
||||
ignore = Name *.out
|
||||
ignore = Name *.cmi
|
||||
|
|
22
Makefile
22
Makefile
|
@ -34,6 +34,9 @@ TERMUX = $(firstword $(shell type termux-info &> /dev/null && echo 1))
|
|||
ADMIN_WIN = $(shell touch $(PF) 2> /dev/null; echo $$?)
|
||||
|
||||
|
||||
FORCE := 0
|
||||
|
||||
|
||||
all: full-sync
|
||||
|
||||
|
||||
|
@ -46,6 +49,8 @@ refresh:
|
|||
|
||||
# Pull and sync
|
||||
full-sync:
|
||||
# check if last update < with last commit ID or if FORCE is 1
|
||||
# store update : commit id in ignored file
|
||||
@$(MAKE) refresh
|
||||
@$(MAKE) sync
|
||||
|
||||
|
@ -58,8 +63,6 @@ sync-dotconfig:
|
|||
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/config.fish -O $(HOME)/.config/fish/config.fish
|
||||
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/__fish_list_current_token.fish -O $(HOME)/.config/fish/functions/__fish_list_current_token.fish
|
||||
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/fish_prompt.fish -O $(HOME)/.config/fish/functions/fish_prompt.fish
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/catall.fish -O $(HOME)/.config/fish/functions/catall.fish
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/latex-color.fish -O $(HOME)/.config/fish/functions/latex-color.fish
|
||||
|
@ -68,7 +71,6 @@ sync-dotconfig:
|
|||
@$(WGET) $(REPO_SRC)/.config/fish/functions/ssh-import.fish -O $(HOME)/.config/fish/functions/ssh-import.fish
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/ugc.fish -O $(HOME)/.config/fish/functions/ugc.fish
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/update-theme.fish -O $(HOME)/.config/fish/functions/update-theme.fish
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/functions/remove-path.fish -O $(HOME)/.config/fish/functions/remove-path.fish
|
||||
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/abbr.fish -O $(HOME)/.config/fish/conf.d/abbr.fish
|
||||
@$(WGET) $(REPO_SRC)/.config/fish/conf.d/alias.fish -O $(HOME)/.config/fish/conf.d/alias.fish
|
||||
|
@ -201,9 +203,9 @@ sync-windows:
|
|||
@$(WGET) $(REPO_SRC)/windows/clean.bat -O $(WIN_HOME)/Documents/Local/ctmpf.bat
|
||||
@$(WGET) $(REPO_SRC)/windows/installers/spotify.bat -O $(WIN_HOME)/Documents/Local/blockthespot.bat
|
||||
@$(WGET) $(REPO_SRC)/windows/installers/vencord.bat -O $(WIN_HOME)/Documents/Local/vencord_installer.bat
|
||||
# @$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
|
||||
@$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.bat
|
||||
@$(WGET) $(REPO_SRC)/windows/fix_mihoyo_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_mihoyo_shortcut.bat
|
||||
@$(WGET) $(REPO_SRC)/windows/start_obs_as_shadowplay.bat -O $(LOCALAPPDATA)/start_obs_as_shadowplay.bat
|
||||
@$(WGET) $(REPO_SRC)/windows/reg_fixes.bat -O $(WIN_HOME)/Documents/Local/reg_fixes.bat
|
||||
@echo "$(WIN) Scripts synced!"
|
||||
@echo
|
||||
|
||||
|
@ -263,6 +265,16 @@ else
|
|||
@echo
|
||||
endif
|
||||
|
||||
# FanControl
|
||||
ifeq ($(ADMIN_WIN),1)
|
||||
@echo "$(WIN) Can't update FanControl configuration, use elevated terminal to do so"
|
||||
@echo
|
||||
else
|
||||
@$(MKDIR) $(PFx86)/FanControl/Configurations/
|
||||
@$(WGET) $(REPO_SRC)/.config/FanControl/userConfig.json -O $(PFx86)/FanControl/Configurations/userConfig.json
|
||||
@echo "$(WIN) FanControl configuration synced!"
|
||||
@echo
|
||||
endif
|
||||
|
||||
# Termux distro specific
|
||||
sync-termux:
|
||||
|
|
8
arch.sh
8
arch.sh
|
@ -55,9 +55,9 @@ function main {
|
|||
gnome-shell-extension-gsconnect org.gnome.shell.extensions.color-picker \
|
||||
gnome-shell-extension-rounded-window-corners-reborn blackbox-terminal \
|
||||
gnome-shell-extension-alphabetical-grid-extension texlive-latexindent-meta \
|
||||
gnome-shell-extension-quick-settings-tweaks-git gpu-screen-recorder \
|
||||
gnome-shell-extension-quick-settings-tweaks-git gpu-screen-recorder-git \
|
||||
epson-inkjet-printer-stylus-photo-px810fw-series heroic-games-launcher-bin \
|
||||
gnome-shell-extension-blur-my-shell clamav-unofficial-sigs vesktop \
|
||||
gnome-shell-extension-blur-my-shell clamav-unofficial-sigs vesktop-bin \
|
||||
nautilus-open-any-terminal tuned-ppd
|
||||
|
||||
|
||||
|
@ -380,10 +380,8 @@ function main {
|
|||
# === GPU Screen recorder ==
|
||||
# Configuration
|
||||
wget -q --show-progress ${repo}/.config/gpu-screen-recorder.env -O "$HOME"/.config/gpu-screen-recorder.env
|
||||
# Add service
|
||||
wget -q --show-progress https://git.dec05eba.com/gpu-screen-recorder/plain/extra/gpu-screen-recorder.service -O /etc/systemd/system/gpu-screen-recorder.service
|
||||
# Enable
|
||||
systemctl enable --now gpu-screen-recorder
|
||||
systemctl enable --now --user gpu-screen-recorder
|
||||
# Keybind
|
||||
custom_keybindings_list=$(gsettings get ${gs_mediakey} custom-keybindings)
|
||||
if ! echo "$custom_keybindings_list" | grep -q "gpu-screen-recorder"
|
||||
|
|
|
@ -139,7 +139,6 @@
|
|||
"texlive-publishers",
|
||||
"texlive-mathscience",
|
||||
"texlive-plaingeneric",
|
||||
"texlive-bibtexextra",
|
||||
"sfml",
|
||||
"perl-yaml-tiny",
|
||||
"perl-file-homedir",
|
||||
|
@ -150,8 +149,7 @@
|
|||
"mvn",
|
||||
"qpdf",
|
||||
"inkscape",
|
||||
"hieroglyphic",
|
||||
"biber"
|
||||
"hieroglyphic"
|
||||
],
|
||||
"plugin": null,
|
||||
"profile": {
|
||||
|
|
4
meta.sh
4
meta.sh
|
@ -84,8 +84,8 @@ function main {
|
|||
# Add aliases
|
||||
wget -q "${repo}"/.config/fish/conf.d/alias.fish -O "$HOME"/.config/fish/conf.d/alias.fish
|
||||
# Add functions
|
||||
functions=("__fish_list_current_token" "catall" "latex-color" "makeaway"
|
||||
"remove-path" "ssh-export" "ssh-import" "ugc" "update-theme")
|
||||
functions=("catall" "latex-color" "makeaway" "ssh-export" "ssh-import" "ugc"
|
||||
"update-theme")
|
||||
for function in "${functions[@]}"
|
||||
do
|
||||
wget -q "${repo}"/.config/fish/functions/"${function}".fish -O "$HOME"/.config/fish/functions/"${function}".fish
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
FOR /F "usebackq delims=" %%i IN (`dir /B /S "*-stable_win64.exe"`) DO SET "godot=%%i"
|
||||
PowerShell -Command "Start-Process cmd -Argument '/c START /B !godot!' -WindowStyle hidden"
|
||||
EXIT /B
|
|
@ -49,10 +49,6 @@ RMDIR /S /Q "C:\PerfLogs" 2>NUL
|
|||
ECHO Delete stack files in C:\DumpStack.log...
|
||||
DEL /Q "C:\DumpStack.log" 2>NUL
|
||||
|
||||
:: Delete .cache
|
||||
ECHO Delete files in C:\.cache...
|
||||
RMDIR /S /Q "C:\.cache" 2>NUL
|
||||
|
||||
:: Empty NVidia shader caches
|
||||
ECHO Delete NVidia cache...
|
||||
DEL /S /F /Q %LOCALAPPDATA%Low\NVIDIA\PerDriverVersion\DXCache\* 2>NUL
|
||||
|
|
|
@ -1,19 +1,11 @@
|
|||
@ECHO OFF
|
||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
:: Start as administrator
|
||||
fltmc >NUL 2>&1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
SET "collapse=%LOCALAPPDATA%\CollapseLauncher\current"
|
||||
SET "collapse=%ProgramFiles%\Collapse Launcher"
|
||||
SET "exe=CollapseLauncher.exe"
|
||||
FOR /F "usebackq delims=" %%i IN (`dir /B /S "!collapse!\app-*"`) DO SET "vbc=%%i"
|
||||
SET "iconpath=Assets\Images\GameIcon"
|
||||
SET "shortcutpath=%ProgramData%\Microsoft\Windows\Start Menu\Programs\Collapse Launcher Team"
|
||||
SET "args=open --region \"Global\" --play --game"
|
||||
SET "shortcutpath=%APPDATA%\Microsoft\Windows\Start Menu\Programs"
|
||||
|
||||
:: Genshin shortcut
|
||||
ECHO Genshin shortcut creation...
|
||||
|
@ -21,8 +13,8 @@ PowerShell -Command "" ^
|
|||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Genshin Impact.lnk');" ^
|
||||
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
|
||||
"$Shortcut.Arguments = '!args! \"Genshin Impact\"';" ^
|
||||
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-genshin.ico';" ^
|
||||
"$Shortcut.Arguments = 'open --game 1 --region 0 --play';" ^
|
||||
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-genshin.ico';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
:: Honkai shortcut
|
||||
|
@ -31,8 +23,8 @@ PowerShell -Command "" ^
|
|||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Honkai Star Rail - HSR.lnk');" ^
|
||||
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
|
||||
"$Shortcut.Arguments = '!args! \"Honkai: Star Rail\"';" ^
|
||||
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-starrail.ico';" ^
|
||||
"$Shortcut.Arguments = 'open --game 2 --region 0 --play';" ^
|
||||
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-starrail.ico';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
:: ZZZ shortcut
|
||||
|
@ -41,8 +33,8 @@ PowerShell -Command "" ^
|
|||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Zenless Zone Zero - ZZZ.lnk');" ^
|
||||
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
|
||||
"$Shortcut.Arguments = '!args! \"Zenless Zone Zero\"';" ^
|
||||
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-zenless.ico';" ^
|
||||
"$Shortcut.Arguments = 'open --game 3 --region 0 --play';" ^
|
||||
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-zenless.ico';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
|
@ -1,22 +0,0 @@
|
|||
@ECHO OFF
|
||||
|
||||
ECHO Captvty...
|
||||
PowerShell -Command "" ^
|
||||
"$ie = New-Object -com internetexplorer.application;" ^
|
||||
"$ie.navigate('https://v3.captvty.fr/');" ^
|
||||
"while ($ie.Busy -eq $true) { Start-Sleep -Milliseconds 1000 };" ^
|
||||
"$link = $ie.Document.getElementsByClassName('zip')[0].getAttribute('href');" ^
|
||||
"$archive = '%TEMP%\captvty.zip';" ^
|
||||
"Invoke-WebRequest -UserAgent 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko' -Uri $link -OutFile $archive;" ^
|
||||
"Remove-Item '%LOCALAPPDATA%\Captvty' -Recurse -ErrorAction SilentlyContinue;" ^
|
||||
"Expand-Archive -Path $archive -DestinationPath '%LOCALAPPDATA%\Captvty' -Force;" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Captvty.lnk');" ^
|
||||
"$Shortcut.TargetPath = '%LOCALAPPDATA%\Captvty\Captvty.exe';" ^
|
||||
"$Shortcut.Save();" ^
|
||||
"Remove-Item -Force $archive"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\captvty" /f /v DisplayName /t REG_SZ /d "Captvty"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\captvty" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\Captvty"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
23
windows/installers/collapse.bat
Normal file
23
windows/installers/collapse.bat
Normal file
|
@ -0,0 +1,23 @@
|
|||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc >NUL 2>&1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
ECHO Collapse...
|
||||
PowerShell -Command "" ^
|
||||
"$repo = 'CollapseLauncher/Collapse';" ^
|
||||
"$releases = \"https://api.github.com/repos/$repo/releases/latest\";" ^
|
||||
"$link = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].assets.browser_download_url[0];" ^
|
||||
"$exe = 'collapse-installer.exe';" ^
|
||||
"$outFile = Join-Path -Path $env:TEMP -ChildPath $exe;" ^
|
||||
"Invoke-WebRequest -Uri $link -OutFile $outFile;" ^
|
||||
"Start-Process -Wait $outFile '/SUPPRESSMSGBOXES', '/VERYSILENT';" ^
|
||||
"Remove-Item -Force $outFile"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
26
windows/installers/deceive.bat
Normal file
26
windows/installers/deceive.bat
Normal file
|
@ -0,0 +1,26 @@
|
|||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc >NUL 2>&1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
ECHO Deceive...
|
||||
MKDIR "%LOCALAPPDATA%\Deceive" 2>NUL
|
||||
PowerShell -Command "" ^
|
||||
"$exe = 'Deceive.exe';" ^
|
||||
"$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $exe;" ^
|
||||
"$outfile = Join-Path -Path '%LOCALAPPDATA%\Deceive' -ChildPath $exe;" ^
|
||||
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^
|
||||
"$Shortcut.TargetPath = $outfile;" ^
|
||||
"$Shortcut.Save()"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v DisplayName /t REG_SZ /d "Deceive"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\Deceive"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
24
windows/installers/geek.bat
Normal file
24
windows/installers/geek.bat
Normal file
|
@ -0,0 +1,24 @@
|
|||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc >NUL 2>&1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
ECHO Geek Uninstaller...
|
||||
PowerShell -Command "" ^
|
||||
"$archive = '%TEMP%\geek.zip';" ^
|
||||
"Invoke-WebRequest -Uri https://geekuninstaller.com/geek.zip -OutFile $archive;" ^
|
||||
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\Geek Uninstaller' -Force;" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^
|
||||
"$Shortcut.TargetPath = '%ProgramFiles%\Geek Uninstaller\geek.exe';" ^
|
||||
"$Shortcut.Save()"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v DisplayName /t REG_SZ /d "Geek Uninstaller"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\geek" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Geek Uninstaller"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
|
@ -1,22 +0,0 @@
|
|||
@ECHO OFF
|
||||
|
||||
ECHO onthespot...
|
||||
MKDIR "%LOCALAPPDATA%\onthespot" 2>NUL
|
||||
PowerShell -Command "" ^
|
||||
"$repo = 'justin025/onthespot';" ^
|
||||
"$releases = \"https://api.github.com/repos/$repo/releases/latest\";" ^
|
||||
"$assets = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].assets;" ^
|
||||
"$link = ($assets | Where-Object { $_.name -like '*-x86_64.exe' }).browser_download_url;" ^
|
||||
"$exe = 'OnTheSpot-x86_64.exe';" ^
|
||||
"$outfile = Join-Path -Path '%LOCALAPPDATA%\onthespot' -ChildPath $exe;" ^
|
||||
"Invoke-WebRequest -Uri $link -OutFile $outFile;" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\onthespot.lnk');" ^
|
||||
"$Shortcut.TargetPath = $outfile;" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\onthespot" /f /v DisplayName /t REG_SZ /d "onthespot"
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\onthespot" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\onthespot"
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
|
@ -16,7 +16,6 @@ PowerShell -Command "" ^
|
|||
"Invoke-WebRequest -Uri $link -OutFile '!vencord!'"
|
||||
|
||||
ECHO Reclose Discord
|
||||
TIMEOUT 10 /NOBREAK
|
||||
TASKKILL /im Discord.exe /F
|
||||
|
||||
ECHO Install Vencord
|
||||
|
|
|
@ -1,102 +0,0 @@
|
|||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc >NUL 2>&1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2>NUL || (
|
||||
EXIT 1
|
||||
)
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
|
||||
ECHO Registery entries...
|
||||
|
||||
|
||||
:: Disabling widgets
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disabling hibernation (prevents computer to really shutdown)
|
||||
REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f
|
||||
powercfg /H off
|
||||
|
||||
:: Disabling the SysMain service (preload some apps in memory)
|
||||
sc stop "SysMain" & sc config "SysMain" start=disabled
|
||||
|
||||
:: Added confirmation when trashing
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Don't create Zone:Identifier
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 2 /f
|
||||
|
||||
:: Disables VBS
|
||||
:: see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613
|
||||
REG ADD "HKLM\System\CurrentControlSet\Control\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disables sticky keys
|
||||
REG ADD "HKCU\Control Panel\Accessibility\StickyKeys" /v Flags /t REG_SZ /d 506 /f
|
||||
|
||||
:: Remove default shortcuts for changing input language and keyboard layout
|
||||
:: WIN+Space still available
|
||||
REG ADD "HKCU\Keyboard Layout\toggle" /v "Hotkey" /t REG_SZ /d 3 /f
|
||||
REG ADD "HKCU\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_SZ /d 3 /f
|
||||
|
||||
:: Disable Game Bar
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Edge tweaks
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v HubsSidebarEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v ShowRecommendationsEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v SpotlightExperiencesAndRecommendationsEnabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable Windows Copilot
|
||||
REG ADD "HKCU\Software\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable checkboxes in explorer
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v AutoCheckSelect /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Set "This PC" default window when opening explorer
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LaunchTo /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Show file extension
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Show hidden files
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable web search in start menu
|
||||
REG ADD "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable ad in file explorer
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSyncProviderNotifications /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad in login screen
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v RotatingLockScreenOverlayEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-338387Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad in settings and notifications
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-338393Enabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-353694Enabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-353696Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad at boot
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /v ScoobeSystemSettingEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-310093Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable targeted ad
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Privacy" /v TailoredExperiencesWithDiagnosticDataEnabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad in start menu
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_IrisRecommendations /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable HAGS
|
||||
:: see https://obsproject.com/wiki/How-to-disable-Windows-10-Hardware-GPU-Scheduler
|
||||
REG ADD "HKLM\System\CurrentControlSet\Control\GraphicsDrivers" /v HwSchMode /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable automatic reboot after update
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
|
||||
|
||||
|
||||
IF NOT "%1"=="yes" PAUSE
|
||||
EXIT /B
|
178
windows11.bat
178
windows11.bat
|
@ -24,9 +24,9 @@ fltmc >NUL 2>&1 || (
|
|||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/clean.bat -OutFile '!local!\ctmpf.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/spotify.bat -OutFile '!local!\blockthespot.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/vencord.bat -OutFile '!local!\vencord_installer.bat'"
|
||||
@REM PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '!local!\fix_nvidia_wsl.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '!local!\fix_nvidia_wsl.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_mihoyo_shortcut.bat -OutFile '!local!\fix_mihoyo_shortcut.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/start_obs_as_shadowplay.bat -OutFile '%LOCALAPPDATA%\start_obs_as_shadowplay.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/reg_fixes.bat -OutFile '!local!\reg_fixes.bat'"
|
||||
|
||||
|
||||
:: === Install Spotify ==
|
||||
|
@ -55,7 +55,102 @@ IF NOT "%1"=="noskipadmin" (
|
|||
)
|
||||
|
||||
:: === Registery modifications ==
|
||||
CMD /c "!local!\reg_fixes.bat" yes
|
||||
ECHO Registery entries...
|
||||
:: Disabling widgets
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Dsh" /v AllowNewsAndInterests /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disabling hibernation (prevents computer to really shutdown)
|
||||
REG ADD "HKLM\System\CurrentControlSet\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f
|
||||
powercfg /H off
|
||||
|
||||
:: Disabling the SysMain service (preload some apps in memory)
|
||||
sc stop "SysMain" & sc config "SysMain" start=disabled
|
||||
|
||||
:: Added confirmation when trashing
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v ConfirmFileDelete /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Don't create Zone.Identifier
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments" /v SaveZoneInformation /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disables VBS
|
||||
:: see https://support.microsoft.com/en-us/windows/options-to-optimize-gaming-performance-in-windows-11-a255f612-2949-4373-a566-ff6f3f474613
|
||||
REG ADD "HKLM\System\CurrentControlSet\Control\DeviceGuard" /v EnableVirtualizationBasedSecurity /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disables sticky keys
|
||||
REG ADD "HKCU\Control Panel\Accessibility\StickyKeys" /v Flags /t REG_SZ /d 506 /f
|
||||
|
||||
:: Remove default shortcuts for changing input language and keyboard layout
|
||||
:: WIN+Space still available
|
||||
REG ADD "HKCU\Keyboard Layout\toggle" /v "Hotkey" /t REG_SZ /d 3 /f
|
||||
REG ADD "HKCU\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_SZ /d 3 /f
|
||||
|
||||
:: Disable Game Bar
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Edge tweaks
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v HubsSidebarEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v ShowRecommendationsEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Edge" /v SpotlightExperiencesAndRecommendationsEnabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable Windows Copilot
|
||||
REG ADD "HKCU\Software\Policies\Microsoft\Windows\WindowsCopilot" /v TurnOffWindowsCopilot /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable checkboxes in explorer
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v AutoCheckSelect /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Set "This PC" default window when opening explorer
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LaunchTo /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Show file extension
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Show hidden files
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable web search in start menu
|
||||
REG ADD "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v DisableSearchBoxSuggestions /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable ad in file explorer
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSyncProviderNotifications /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad in login screen
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v RotatingLockScreenOverlayEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-338387Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad in settings and notifications
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-338393Enabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-353694Enabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-353696Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad at boot
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\UserProfileEngagement" /v ScoobeSystemSettingEnabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SubscribedContent-310093Enabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable targeted ad
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Privacy" /v TailoredExperiencesWithDiagnosticDataEnabled /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable ad in start menu
|
||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_IrisRecommendations /t REG_DWORD /d 0 /f
|
||||
|
||||
:: Disable HAGS
|
||||
:: see https://obsproject.com/wiki/How-to-disable-Windows-10-Hardware-GPU-Scheduler
|
||||
REG ADD "HKLM\System\CurrentControlSet\Control\GraphicsDrivers" /v HwSchMode /t REG_DWORD /d 1 /f
|
||||
|
||||
:: Disable automatic reboot after update
|
||||
REM Is this working?
|
||||
REG ADD "HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
|
||||
|
||||
|
||||
:: === Firewall rules ==
|
||||
:: Disable Edge updates
|
||||
netsh advfirewall firewall add rule name="Disable Microsoft Edge automatic updates" dir=out program="%ProgramFiles(x86)%\Microsoft\EdgeUpdate\MicrosoftEdgeUpdate.exe" action=block
|
||||
|
||||
|
||||
:: === Install optional features ==
|
||||
PowerShell -Command "" ^
|
||||
"Get-WindowsCapability -Online -Name 'App.WirelessDisplay.Connect*' | Add-WindowsCapability -Online"
|
||||
|
||||
|
||||
:: === WinGet ==
|
||||
|
@ -92,14 +187,12 @@ for %%i in (!net_libs!) do (
|
|||
|
||||
:: Applications
|
||||
SET ^"apps=^
|
||||
Mozilla.Firefox M2Team.NanaZip Parsec.Parsec sylikc.JPEGView KDE.Kdenlive ^
|
||||
voidtools.Everything.Lite CodecGuide.K-LiteCodecPack.Standard GIMP.GIMP ^
|
||||
Mozilla.Firefox M2Team.NanaZip GIMP.GIMP Rem0o.FanControl sylikc.JPEGView ^
|
||||
voidtools.Everything.Lite VideoLAN.VLC Obsidian.Obsidian Parsec.Parsec ^
|
||||
Microsoft.VisualStudioCode Bitwarden.Bitwarden HandBrake.HandBrake ^
|
||||
TheDocumentFoundation.LibreOffice Armin2208.WindowsAutoNightMode ^
|
||||
OBSProject.OBSStudio Xournal++.Xournal++ Microsoft.PowerToys KDE.KDEConnect ^
|
||||
OpenWhisperSystems.Signal TenacityTeam.Tenacity Microsoft.PowerShell ^
|
||||
viarotel.Escrcpy Obsidian.Obsidian GeekUninstaller.GeekUninstaller ^
|
||||
Vendicated.Vencord GodotEngine.GodotEngine"
|
||||
OpenWhisperSystems.Signal TenacityTeam.Tenacity Microsoft.PowerShell"
|
||||
|
||||
ECHO Apps...
|
||||
for %%i in (!apps!) do (
|
||||
|
@ -107,10 +200,9 @@ for %%i in (!apps!) do (
|
|||
)
|
||||
|
||||
SET ^"games=^
|
||||
RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU Valve.Steam ppy.osu ^
|
||||
RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU Valve.Steam ^
|
||||
HeroicGamesLauncher.HeroicGamesLauncher PrismLauncher.PrismLauncher ^
|
||||
pizzaboxer.Bloxstrap CollapseLauncher.Collapse molenzwiebel.Deceive ^
|
||||
ebkr.r2modman"
|
||||
ppy.osu pizzaboxer.Bloxstrap"
|
||||
|
||||
ECHO Games...
|
||||
for %%i in (!games!) do (
|
||||
|
@ -135,27 +227,9 @@ PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
|
|||
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
||||
|
||||
|
||||
:: === Geek Uninstaller icon ==
|
||||
ECHO Geek Uninstaller icon...
|
||||
PowerShell -Command "" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Geek Uninstaller.lnk');" ^
|
||||
"$Shortcut.TargetPath = '%LOCALAPPDATA%\Microsoft\WinGet\Packages\GeekUninstaller.GeekUninstaller_Microsoft.Winget.Source_8wekyb3d8bbwe\geek.exe';" ^
|
||||
"$Shortcut.Save()"
|
||||
|
||||
:: === Godot Engine icon ==
|
||||
ECHO Godot Engine icon...
|
||||
PowerShell -Command "" ^
|
||||
"$loc = '%LOCALAPPDATA%\Microsoft\WinGet\Packages\GodotEngine.GodotEngine_Microsoft.Winget.Source_8wekyb3d8bbwe';" ^
|
||||
"$ico = 'https://raw.githubusercontent.com/godotengine/godot/refs/heads/master/platform/windows/godot.ico';" ^
|
||||
"Invoke-WebRequest -Uri !repo!/windows/call_godot.bat -OutFile \"$loc\call.bat\";" ^
|
||||
"Invoke-WebRequest -Uri \"$ico\" -OutFile \"$loc\icon.ico\";" ^
|
||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Godot Engine.lnk');" ^
|
||||
"$Shortcut.TargetPath = \"$loc\call.bat\";" ^
|
||||
"$Shortcut.WorkingDirectory = \"$loc\";" ^
|
||||
"$Shortcut.IconLocation = \"$loc\icon.ico\";" ^
|
||||
"$Shortcut.Save()"
|
||||
:: === Geek Uninstaller ==
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/geek.bat -OutFile '%TEMP%\geek.bat'"
|
||||
CMD /c "%TEMP%\geek.bat" yes
|
||||
|
||||
|
||||
:: === LosslessCut ==
|
||||
|
@ -168,6 +242,11 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/dsr.bat -O
|
|||
CMD /c "%TEMP%\dsr.bat" yes
|
||||
|
||||
|
||||
:: === Vencord ==
|
||||
:: Use already downloaded script
|
||||
CMD /c "!local!\vencord_installer.bat" yes
|
||||
|
||||
|
||||
:: === OpenTabletDriver ==
|
||||
ECHO OpenTabletDriver...
|
||||
PowerShell -Command "" ^
|
||||
|
@ -216,6 +295,11 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/nowt.bat -
|
|||
CMD /c "%TEMP%\nowt.bat" yes
|
||||
|
||||
|
||||
:: === Deceive ==
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/deceive.bat -OutFile '%TEMP%\deceive.bat'"
|
||||
CMD /c "%TEMP%\deceive.bat" yes
|
||||
|
||||
|
||||
:: === Minecraft ==
|
||||
:: Copy shortcut of Prism Launcher to a Minecraft shortcut
|
||||
COPY /Y "!startmenu!\Prism Launcher.lnk" "!startmenu!\Minecraft.lnk"
|
||||
|
@ -268,11 +352,11 @@ PowerShell -Command "" ^
|
|||
"Remove-Item -Force $archive"
|
||||
|
||||
:: Script OBS Automatic ReplayBuffer Restart
|
||||
@REM PowerShell -Command "" ^
|
||||
@REM "$archive = '%TEMP%\auto-obs-rb-restart.zip';" ^
|
||||
@REM "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/auto-obs-rb-restart/releases/download/latest/auto-obs-rb-restart.zip -OutFile $archive;" ^
|
||||
@REM "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\obs-studio\config' -Force;" ^
|
||||
@REM "Remove-Item -Force $archive"
|
||||
PowerShell -Command "" ^
|
||||
"$archive = '%TEMP%\auto-obs-rb-restart.zip';" ^
|
||||
"Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/auto-obs-rb-restart/releases/download/latest/auto-obs-rb-restart.zip -OutFile $archive;" ^
|
||||
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\obs-studio\config' -Force;" ^
|
||||
"Remove-Item -Force $archive"
|
||||
|
||||
:: Setup the autostart of shadowplay
|
||||
SCHTASKS /Create /RU "%USERNAME%" /SC ONLOGON /TN "OBS Shadowplay" ^
|
||||
|
@ -286,9 +370,12 @@ ECHO About OBS, you may need to adjust the screen ID by opening the OBS app
|
|||
ECHO in the systray as it may be not the same as the one presaved.
|
||||
|
||||
|
||||
:: === miHoYo Games launcher ==
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/collapse.bat -OutFile '%TEMP%\collapse.bat'"
|
||||
CMD /c "%TEMP%\collapse.bat" yes
|
||||
|
||||
:: Fix games shortcut
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/apply_mihoyo_shortcut.bat -OutFile '%TEMP%\apply_mihoyo_shortcut.bat'"
|
||||
CMD /c "%TEMP%\apply_mihoyo_shortcut.bat" yes
|
||||
CMD /c "!local!\fix_mihoyo_shortcut.bat" yes
|
||||
|
||||
|
||||
:: === FiveM ==
|
||||
|
@ -296,6 +383,11 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/fivem.bat
|
|||
CMD /c "%TEMP%\fivem.bat" yes
|
||||
|
||||
|
||||
:: === FanControl ==
|
||||
MKDIR "%ProgramFiles(x86)%\FanControl\Configurations" 2>NUL
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/.config/FanControl/userConfig.json -OutFile '%ProgramFiles(x86)%\FanControl\Configurations\userConfig.json'"
|
||||
|
||||
|
||||
:: === Bloxstrap ==
|
||||
ECHO Roblox shortcut creation...
|
||||
PowerShell -Command "" ^
|
||||
|
@ -305,14 +397,14 @@ PowerShell -Command "" ^
|
|||
"$Shortcut.Save()"
|
||||
|
||||
|
||||
:: === Captvty ==
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/captvty.bat -OutFile '%TEMP%\captvty.bat'"
|
||||
CMD /c "%TEMP%\captvty.bat" yes
|
||||
:: === DaVinci Resolve ==
|
||||
ECHO Useful link to download the latest version of DaVinci Resolve:
|
||||
ECHO https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
|
||||
|
||||
|
||||
:: === Drivers notice ==
|
||||
ECHO Installs drivers, for a list of drivers, use UserDiag https://userdiag.com/download
|
||||
ECHO For GPU driver uninstallation, use DDU. For NVidia GPU driver isntallation, use NVC.
|
||||
ECHO For NVidia, use NVC and DDU.
|
||||
|
||||
|
||||
:: === End message ==
|
||||
|
|
2
wsl.sh
2
wsl.sh
|
@ -39,7 +39,7 @@ function main {
|
|||
noto-fonts jdk-openjdk texlive-fontsrecommended texlive-publishers sfml \
|
||||
texlive-fontsextra perl-yaml-tiny perl-file-homedir perl-file-which \
|
||||
man-pages bottom maven fakeroot texlive-mathscience texlive-plaingeneric \
|
||||
qpdf inkscape ffmpeg texlive-bibtexextra biber
|
||||
qpdf inkscape ffmpeg
|
||||
|
||||
|
||||
# === Remove SU password ==
|
||||
|
|
Loading…
Add table
Reference in a new issue