Merge branch 'main' of git.mylloon.fr:Anri/confOS
This commit is contained in:
commit
d782be8f90
7 changed files with 23 additions and 17 deletions
|
@ -67,8 +67,8 @@ Tunable:
|
||||||
UICulture: fr
|
UICulture: fr
|
||||||
GPUMonitoring:
|
GPUMonitoring:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
Threshold: 30
|
Threshold: 40
|
||||||
Samples: 1
|
Samples: 2
|
||||||
ProcessBlockList:
|
ProcessBlockList:
|
||||||
ProcessNames: []
|
ProcessNames: []
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
|
||||||
# NAS
|
# NAS
|
||||||
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000
|
if timeout 0.2 ping -c1 192.168.1.200 > /dev/null
|
||||||
|
sudo mount -t drvfs 'Y:' /mnt/y -o metadata,uid=1000,gid=1000 2> /dev/null &
|
||||||
|
end
|
||||||
|
|
||||||
|
# Sometimes the screen is getting lost
|
||||||
|
if not test -e /tmp/.X11-unix/X0
|
||||||
|
ln -sf /mnt/wslg/.X11-unix/X0 /tmp/.X11-unix/
|
||||||
|
end
|
||||||
|
|
3
arch.sh
3
arch.sh
|
@ -387,9 +387,6 @@ main() {
|
||||||
# Add perl packages to path
|
# Add perl packages to path
|
||||||
fish -c "fish_add_path /usr/bin/vendor_perl ||:"
|
fish -c "fish_add_path /usr/bin/vendor_perl ||:"
|
||||||
|
|
||||||
# === CPAN modules ==
|
|
||||||
sudo cpanm YAML::Tiny File::HomeDir File::Which # latexindent dependencies
|
|
||||||
|
|
||||||
# === Discord ==
|
# === Discord ==
|
||||||
# Skip update
|
# Skip update
|
||||||
path_config_discord="$HOME"/.config/discord/settings.json
|
path_config_discord="$HOME"/.config/discord/settings.json
|
||||||
|
|
|
@ -39,7 +39,7 @@ main() {
|
||||||
otf-fira-mono mingw-w64-gcc otf-font-awesome soundfont-fluid fluidsynth \
|
otf-fira-mono mingw-w64-gcc otf-font-awesome soundfont-fluid fluidsynth \
|
||||||
pulseaudio-alsa texlive-latexextra texlive-langfrench texlive-luatex \
|
pulseaudio-alsa texlive-latexextra texlive-langfrench texlive-luatex \
|
||||||
noto-fonts jdk-openjdk texlive-fontsrecommended texlive-publishers sfml \
|
noto-fonts jdk-openjdk texlive-fontsrecommended texlive-publishers sfml \
|
||||||
texlive-fontsextra
|
texlive-fontsextra perl-yaml-tiny perl-file-homedir perl-file-which
|
||||||
|
|
||||||
|
|
||||||
# === Rustup ==
|
# === Rustup ==
|
||||||
|
@ -54,7 +54,7 @@ main() {
|
||||||
sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf
|
sudo sed -i "s/#ParallelDownloads = 5/ParallelDownloads = 3/g" /etc/pacman.conf
|
||||||
|
|
||||||
# === Remove SU password ==
|
# === Remove SU password ==
|
||||||
echo -e "# Disable password for specific user\nanri ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null
|
echo -e "\n# Disable password for specific user\n$USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers > /dev/null
|
||||||
|
|
||||||
# === Paru ==
|
# === Paru ==
|
||||||
git clone https://aur.archlinux.org/paru.git
|
git clone https://aur.archlinux.org/paru.git
|
||||||
|
@ -201,9 +201,6 @@ main() {
|
||||||
# Add perl packages to path
|
# Add perl packages to path
|
||||||
fish -c "fish_add_path /usr/bin/vendor_perl ||:"
|
fish -c "fish_add_path /usr/bin/vendor_perl ||:"
|
||||||
|
|
||||||
# === CPAN modules ==
|
|
||||||
sudo cpanm YAML::Tiny File::HomeDir File::Which # latexindent dependencies
|
|
||||||
|
|
||||||
# === Emacs ==
|
# === Emacs ==
|
||||||
# mkdir -p "$HOME"/.emacs.d
|
# mkdir -p "$HOME"/.emacs.d
|
||||||
# wget -q ${repo}/.emacs.d/init.el -O "$HOME"/.emacs.d/init.el
|
# wget -q ${repo}/.emacs.d/init.el -O "$HOME"/.emacs.d/init.el
|
||||||
|
|
|
@ -135,7 +135,10 @@
|
||||||
"texlive-fontsrecommended",
|
"texlive-fontsrecommended",
|
||||||
"texlive-fontsextra",
|
"texlive-fontsextra",
|
||||||
"texlive-publishers",
|
"texlive-publishers",
|
||||||
"sfml"
|
"sfml",
|
||||||
|
"perl-yaml-tiny",
|
||||||
|
"perl-file-homedir",
|
||||||
|
"perl-file-which"
|
||||||
],
|
],
|
||||||
"plugin": null,
|
"plugin": null,
|
||||||
"profile": {
|
"profile": {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
IndentWidth: 2
|
IndentWidth: 2
|
||||||
AlwaysBreakTemplateDeclarations: true
|
AlwaysBreakTemplateDeclarations: true
|
||||||
InsertBraces: true
|
InsertBraces: true
|
||||||
|
AllowShortFunctionsOnASingleLine: Empty
|
||||||
|
|
|
@ -96,7 +96,8 @@ SET ^"net_libs=^
|
||||||
Microsoft.DotNet.DesktopRuntime.3_1 Microsoft.DotNet.SDK.3_1 ^
|
Microsoft.DotNet.DesktopRuntime.3_1 Microsoft.DotNet.SDK.3_1 ^
|
||||||
Microsoft.DotNet.DesktopRuntime.5 Microsoft.DotNet.SDK.5 ^
|
Microsoft.DotNet.DesktopRuntime.5 Microsoft.DotNet.SDK.5 ^
|
||||||
Microsoft.DotNet.DesktopRuntime.6 Microsoft.DotNet.SDK.6 ^
|
Microsoft.DotNet.DesktopRuntime.6 Microsoft.DotNet.SDK.6 ^
|
||||||
Microsoft.DotNet.DesktopRuntime.7 Microsoft.DotNet.SDK.7"
|
Microsoft.DotNet.DesktopRuntime.7 Microsoft.DotNet.SDK.7 ^
|
||||||
|
Microsoft.DotNet.DesktopRuntime.8 Microsoft.DotNet.SDK.8"
|
||||||
|
|
||||||
ECHO .NET libraries...
|
ECHO .NET libraries...
|
||||||
for %%i in (!net_libs!) do (
|
for %%i in (!net_libs!) do (
|
||||||
|
@ -271,18 +272,18 @@ REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\vry" /f /v Ins
|
||||||
|
|
||||||
:: Install Deceive
|
:: Install Deceive
|
||||||
ECHO Deceive...
|
ECHO Deceive...
|
||||||
MKDIR "%ProgramFiles%\Deceive" 2>NUL
|
MKDIR "%LOCALAPPDATA%\Deceive" 2>NUL
|
||||||
PowerShell -Command "" ^
|
PowerShell -Command "" ^
|
||||||
"$exe = 'Deceive.exe';" ^
|
"$exe = 'Deceive.exe';" ^
|
||||||
"$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $exe;" ^
|
"$link = 'https://github.com/molenzwiebel/Deceive/releases/latest/download/' + $exe;" ^
|
||||||
"$outfile = Join-Path -Path '%ProgramFiles%\Deceive' -ChildPath $exe;" ^
|
"$outfile = Join-Path -Path '%LOCALAPPDATA%\Deceive' -ChildPath $exe;" ^
|
||||||
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
"Invoke-WebRequest -Uri $link -OutFile $outfile;" ^
|
||||||
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
"$WshShell = New-Object -comObject WScript.Shell;" ^
|
||||||
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^
|
"$Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Deceive.lnk');" ^
|
||||||
"$Shortcut.TargetPath = \"%ProgramFiles%\Deceive\$exe\";" ^
|
"$Shortcut.TargetPath = $outfile;" ^
|
||||||
"$Shortcut.Save()"
|
"$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 DisplayName /t REG_SZ /d "Deceive"
|
||||||
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v InstallLocation /t REG_SZ /d "%ProgramFiles%\Deceive"
|
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\Deceive" /f /v InstallLocation /t REG_SZ /d "%LOCALAPPDATA%\Deceive"
|
||||||
|
|
||||||
:: :: Install Topgrade
|
:: :: Install Topgrade
|
||||||
:: ECHO Topgrade...
|
:: ECHO Topgrade...
|
||||||
|
|
Loading…
Reference in a new issue