Compare commits

...
Sign in to create a new pull request.

65 commits
lease ... main

Author SHA1 Message Date
4ad7c3877a
change some zed settings 2025-02-15 00:53:08 +01:00
bd9b3a6b1c
add zed configuration 2025-02-15 00:34:46 +01:00
bd3e5e36a2
add working directory 2025-02-14 20:32:23 +01:00
0274f95540
add godot interface to always call the latest version 2025-02-14 20:30:44 +01:00
d8d688470b
add godot 2025-02-14 19:43:16 +01:00
195eb9ac1d
add remove element from path script 2025-02-14 08:58:00 +01:00
78343f68ac
don't sync pdfpc 2025-02-10 20:08:13 +01:00
86892dd2c1
new exclusions2 2025-02-06 02:18:38 +01:00
22bb4f5541
new exclusions 2025-02-06 02:17:39 +01:00
c31510baa2
add biber 2025-02-05 21:42:30 +01:00
5c814f163b
add texlive-bibtexextra 2025-02-05 21:39:33 +01:00
f1ef536c4d
eza icons only on arch 2025-02-05 18:08:42 +01:00
08a46b09f2
mmm 2025-02-03 20:11:18 +01:00
152fe43eaa
typo 2025-02-03 20:10:30 +01:00
dbe2ac2f4d
valid wsl only 2025-02-03 20:09:39 +01:00
c1f810b64c
Revert "use cifs instead of drvfs"
This reverts commit ee4196aaed.
2025-01-27 20:28:56 +01:00
0762e7eaee
uses non-bin version 2025-01-20 15:35:50 +01:00
c25b08202a
add s 2025-01-13 16:23:30 +01:00
ee4196aaed
use cifs instead of drvfs 2025-01-11 11:23:32 +01:00
dd360022f5
useless call 2025-01-10 09:25:47 +01:00
79d2ee9cc7
change default zoom on firefox 2025-01-09 16:19:54 +01:00
2f81ff7a92
wait 10s 2025-01-07 12:06:01 +01:00
0c2a43b051
use ie ua 2024-12-30 20:21:59 +01:00
7899b41ce2
Revert "use protocol instead of exe path"
This reverts commit 70557a37a9.
2024-12-29 16:57:42 +01:00
c6771c7a20
fix protocol call 2024-12-29 16:57:00 +01:00
70557a37a9
use protocol instead of exe path 2024-12-29 16:35:03 +01:00
b098de64ad
add as admin 2024-12-29 16:34:53 +01:00
1c9f4ae687
disable full screen warning 2024-12-28 12:26:38 +01:00
eccfb9763e
change shortcut path 2024-12-28 12:21:54 +01:00
c9eb8bb2fd
install always the latest version 2024-12-28 01:51:08 +01:00
c5a18436b8
Add captvty installer 2024-12-28 01:33:59 +01:00
d7e37c0234
fix path, use string instead of ids 2024-12-27 15:45:11 +01:00
a7ce4be365
fix path 2024-12-27 15:12:31 +01:00
7bd32027f6
use winget when possible, keep vencord script as we need it for manually fix the installation after discord updates sometimes 2024-12-27 11:58:10 +01:00
f20ee11057
on amd the script doesnt successfuly restart the rb sometimes, and since ive a new gpu i may dont need it 2024-12-26 17:09:47 +01:00
a66024bc38
use the K-Lite Codec Pack installer 2024-12-22 15:13:55 +01:00
6b4bdacdd4
local instead of global 2024-12-21 14:01:09 +01:00
bef62e7f05
do not install this optional feature anymore 2024-12-14 11:42:34 +01:00
8ee077064d
skip confirmation 2024-12-12 16:13:24 +01:00
10f417704d
all good ig 2024-12-11 19:30:28 +01:00
0e3375e5a0
now a onetime run 2024-12-09 08:44:53 +01:00
b940dca201
exe in current dir too 2024-12-09 08:41:36 +01:00
3e309fca0a
fix path 2024-12-09 08:38:53 +01:00
533c066579
add r2modman 2024-12-08 01:22:30 +01:00
54e41be5cc
add scrcpy 2024-12-04 14:40:31 +01:00
248cfbf15d
no longer use nvidia gpu 2024-11-27 17:27:31 +01:00
0e78c6f084
small change 2024-11-27 17:26:27 +01:00
06a5784860
replace davinci resolve by kdenlive 2024-11-27 17:26:21 +01:00
83a419c5b7
split registeries edit into a separate file 2024-11-27 17:23:33 +01:00
44c4b8a41e
onthespot installer 2024-11-26 21:06:44 +01:00
71bf3d8bd3
add service manually 2024-11-26 10:20:19 +01:00
d84787e998
correct bitrate mode 2024-11-26 10:20:11 +01:00
93314a3cc5
.cache 2024-11-25 01:26:16 +01:00
5ab0849c2f
change aur pkg name 2024-11-22 08:44:06 +01:00
5ed839252e
fix for Zone:Identifier 2024-11-21 08:41:21 +01:00
7f1ac6e97f
use mpc-hc instead of vlc 2024-11-20 01:10:36 +01:00
b553be957b
remove fan control related stuff 2024-11-19 21:06:56 +01:00
c3980af266
fix alt L 2024-11-17 17:41:49 +01:00
11c434c50c
use eza 2024-11-17 17:36:29 +01:00
8b661cc11e
wifix abbr 2024-11-13 09:25:23 +01:00
8d00ffaffd
fix screen 2024-11-12 20:13:44 +01:00
2cca613247
switch to amd 2024-11-12 20:09:18 +01:00
5808440368
remove fan control 2024-11-12 19:54:45 +01:00
921631bd9e
add level 2024-11-07 08:54:36 +01:00
feef5c4c8a
add tree aliases 2024-11-07 08:29:43 +01:00
31 changed files with 391 additions and 856 deletions

View file

@ -1,604 +0,0 @@
{
"__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
}
}

View file

@ -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"

View file

@ -6,8 +6,13 @@ 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"

View file

@ -4,8 +4,13 @@ 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' -ok rm {} \;"
abbr zfind "find . -type f -name '*:Zone.Identifier' -delete"
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)'"

View file

@ -1,21 +1,29 @@
# 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")
printf "\n"
set -l cmd
if test -d $val
eza --icons=auto $val
set cmd eza $val
else
set -l dir (dirname -- $val)
if test $dir != . -a -d $dir
eza --icons=auto $dir
set cmd eza $dir
else
eza --icons=auto
set cmd eza
end
end
string repeat -N \n --count=(math (count (fish_prompt)) - 1)
commandline -f repaint
__fish_echo $cmd
end

View file

@ -0,0 +1,7 @@
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

View file

@ -1,3 +1,4 @@
BITRATE_MODE=vbr
QUALITY=medium
REPLAYDURATION=120
OUTPUTDIR=Vidéos

View file

@ -51,7 +51,7 @@ RecFilePath=C:\\Users\\anri\\Videos
RecFormat2=hybrid_mp4
RecUseRescale=false
RecTracks=7
RecEncoder=jim_hevc_nvenc
RecEncoder=h265_texture_amf
FLVTrack=1
StreamMultiTrackAudioMixes=1
FFOutputToFile=true

View file

@ -1 +1 @@
{"bitrate":12000,"keyint_sec":1,"lookahead":false}
{"preset":"speed","bitrate":12000,"keyint_sec":1}

File diff suppressed because one or more lines are too long

View file

@ -53,9 +53,6 @@ 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'
;;

58
.config/zed/settings.json Normal file
View file

@ -0,0 +1,58 @@
// 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
}
}
}
}
}
}

55
.config/zed/tasks.json Normal file
View file

@ -0,0 +1,55 @@
// 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"]
}
]

View file

@ -29,3 +29,5 @@ 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"

View file

@ -38,6 +38,10 @@ 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

View file

@ -58,6 +58,8 @@ 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
@ -66,6 +68,7 @@ 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
@ -198,9 +201,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_mihoyo_shortcut.bat -O $(WIN_HOME)/Documents/Local/fix_mihoyo_shortcut.bat
# @$(WGET) $(REPO_SRC)/windows/fix_nvidia_wsl.bat -O $(WIN_HOME)/Documents/Local/fix_nvidia_wsl.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
@ -260,16 +263,6 @@ 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:

View file

@ -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-git \
gnome-shell-extension-quick-settings-tweaks-git gpu-screen-recorder \
epson-inkjet-printer-stylus-photo-px810fw-series heroic-games-launcher-bin \
gnome-shell-extension-blur-my-shell clamav-unofficial-sigs vesktop-bin \
gnome-shell-extension-blur-my-shell clamav-unofficial-sigs vesktop \
nautilus-open-any-terminal tuned-ppd
@ -380,8 +380,10 @@ 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 --user gpu-screen-recorder
systemctl enable --now gpu-screen-recorder
# Keybind
custom_keybindings_list=$(gsettings get ${gs_mediakey} custom-keybindings)
if ! echo "$custom_keybindings_list" | grep -q "gpu-screen-recorder"

View file

@ -139,6 +139,7 @@
"texlive-publishers",
"texlive-mathscience",
"texlive-plaingeneric",
"texlive-bibtexextra",
"sfml",
"perl-yaml-tiny",
"perl-file-homedir",
@ -149,7 +150,8 @@
"mvn",
"qpdf",
"inkscape",
"hieroglyphic"
"hieroglyphic",
"biber"
],
"plugin": null,
"profile": {

View file

@ -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=("catall" "latex-color" "makeaway" "ssh-export" "ssh-import" "ugc"
"update-theme")
functions=("__fish_list_current_token" "catall" "latex-color" "makeaway"
"remove-path" "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

View file

@ -1,11 +1,19 @@
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
SET "collapse=%ProgramFiles%\Collapse Launcher"
:: Start as administrator
fltmc >NUL 2>&1 || (
PowerShell Start -Verb RunAs '%0' 2>NUL || (
EXIT 1
)
EXIT 0
)
SET "collapse=%LOCALAPPDATA%\CollapseLauncher\current"
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=%APPDATA%\Microsoft\Windows\Start Menu\Programs"
SET "shortcutpath=%ProgramData%\Microsoft\Windows\Start Menu\Programs\Collapse Launcher Team"
SET "args=open --region \"Global\" --play --game"
:: Genshin shortcut
ECHO Genshin shortcut creation...
@ -13,8 +21,8 @@ PowerShell -Command "" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Genshin Impact.lnk');" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open --game 1 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-genshin.ico';" ^
"$Shortcut.Arguments = '!args! \"Genshin Impact\"';" ^
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-genshin.ico';" ^
"$Shortcut.Save()"
:: Honkai shortcut
@ -23,8 +31,8 @@ PowerShell -Command "" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Honkai Star Rail - HSR.lnk');" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open --game 2 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-starrail.ico';" ^
"$Shortcut.Arguments = '!args! \"Honkai: Star Rail\"';" ^
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-starrail.ico';" ^
"$Shortcut.Save()"
:: ZZZ shortcut
@ -33,8 +41,8 @@ PowerShell -Command "" ^
"$WshShell = New-Object -comObject WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('!shortcutpath!\Zenless Zone Zero - ZZZ.lnk');" ^
"$Shortcut.TargetPath = '!collapse!\!exe!';" ^
"$Shortcut.Arguments = 'open --game 3 --region 0 --play';" ^
"$Shortcut.IconLocation = '!vbc!\!iconpath!\icon-zenless.ico';" ^
"$Shortcut.Arguments = '!args! \"Zenless Zone Zero\"';" ^
"$Shortcut.IconLocation = '!collapse!\!iconpath!\icon-zenless.ico';" ^
"$Shortcut.Save()"
IF NOT "%1"=="yes" PAUSE

6
windows/call_godot.bat Normal file
View file

@ -0,0 +1,6 @@
@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

View file

@ -49,6 +49,10 @@ 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

View file

@ -0,0 +1,22 @@
@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

View file

@ -1,23 +0,0 @@
@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

View file

@ -1,26 +0,0 @@
@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

View file

@ -1,24 +0,0 @@
@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

View file

@ -0,0 +1,22 @@
@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

View file

@ -16,6 +16,7 @@ PowerShell -Command "" ^
"Invoke-WebRequest -Uri $link -OutFile '!vencord!'"
ECHO Reclose Discord
TIMEOUT 10 /NOBREAK
TASKKILL /im Discord.exe /F
ECHO Install Vencord

102
windows/reg_fixes.bat Normal file
View file

@ -0,0 +1,102 @@
@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

View file

@ -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'"
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'"
@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/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,102 +55,7 @@ IF NOT "%1"=="noskipadmin" (
)
:: === Registery modifications ==
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"
CMD /c "!local!\reg_fixes.bat" yes
:: === WinGet ==
@ -187,12 +92,14 @@ for %%i in (!net_libs!) do (
:: Applications
SET ^"apps=^
Mozilla.Firefox M2Team.NanaZip GIMP.GIMP Rem0o.FanControl sylikc.JPEGView ^
voidtools.Everything.Lite VideoLAN.VLC Obsidian.Obsidian Parsec.Parsec ^
Mozilla.Firefox M2Team.NanaZip Parsec.Parsec sylikc.JPEGView KDE.Kdenlive ^
voidtools.Everything.Lite CodecGuide.K-LiteCodecPack.Standard GIMP.GIMP ^
Microsoft.VisualStudioCode Bitwarden.Bitwarden HandBrake.HandBrake ^
TheDocumentFoundation.LibreOffice Armin2208.WindowsAutoNightMode ^
OBSProject.OBSStudio Xournal++.Xournal++ Microsoft.PowerToys KDE.KDEConnect ^
OpenWhisperSystems.Signal TenacityTeam.Tenacity Microsoft.PowerShell"
OpenWhisperSystems.Signal TenacityTeam.Tenacity Microsoft.PowerShell ^
viarotel.Escrcpy Obsidian.Obsidian GeekUninstaller.GeekUninstaller ^
Vendicated.Vencord GodotEngine.GodotEngine"
ECHO Apps...
for %%i in (!apps!) do (
@ -200,9 +107,10 @@ for %%i in (!apps!) do (
)
SET ^"games=^
RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU Valve.Steam ^
RiotGames.LeagueOfLegends.EUW RiotGames.Valorant.EU Valve.Steam ppy.osu ^
HeroicGamesLauncher.HeroicGamesLauncher PrismLauncher.PrismLauncher ^
ppy.osu pizzaboxer.Bloxstrap"
pizzaboxer.Bloxstrap CollapseLauncher.Collapse molenzwiebel.Deceive ^
ebkr.r2modman"
ECHO Games...
for %%i in (!games!) do (
@ -227,9 +135,27 @@ PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
:: === Geek Uninstaller ==
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/geek.bat -OutFile '%TEMP%\geek.bat'"
CMD /c "%TEMP%\geek.bat" yes
:: === 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()"
:: === LosslessCut ==
@ -242,11 +168,6 @@ 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 "" ^
@ -295,11 +216,6 @@ 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"
@ -352,11 +268,11 @@ PowerShell -Command "" ^
"Remove-Item -Force $archive"
:: Script OBS Automatic ReplayBuffer Restart
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"
@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"
:: Setup the autostart of shadowplay
SCHTASKS /Create /RU "%USERNAME%" /SC ONLOGON /TN "OBS Shadowplay" ^
@ -370,12 +286,9 @@ 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
CMD /c "!local!\fix_mihoyo_shortcut.bat" yes
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
:: === FiveM ==
@ -383,11 +296,6 @@ 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 "" ^
@ -397,14 +305,14 @@ PowerShell -Command "" ^
"$Shortcut.Save()"
:: === DaVinci Resolve ==
ECHO Useful link to download the latest version of DaVinci Resolve:
ECHO https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion
:: === Captvty ==
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/installers/captvty.bat -OutFile '%TEMP%\captvty.bat'"
CMD /c "%TEMP%\captvty.bat" yes
:: === Drivers notice ==
ECHO Installs drivers, for a list of drivers, use UserDiag https://userdiag.com/download
ECHO For NVidia, use NVC and DDU.
ECHO For GPU driver uninstallation, use DDU. For NVidia GPU driver isntallation, use NVC.
:: === End message ==

2
wsl.sh
View file

@ -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
qpdf inkscape ffmpeg texlive-bibtexextra biber
# === Remove SU password ==