From a44f306337f6dea12e8acff6580d1cd8dd7ae8a0 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Sat, 17 Sep 2022 09:43:53 +0200 Subject: [PATCH] Taking more my linux dots files like aproach. --- .gitignore | 1 - .../close-unneeded-software.ps1 | 0 .../restart-unneeded-software.ps1 | 0 install-all-my-choco-packages.bat | 1 - install-all-my-scoop-packages.bat | 3 -- profile.ps1 | 53 +++---------------- .../batman-arkhman-asylum.cmd | 0 .../battlebit-remastered.cmd | 0 {ryzenadj => ryzenadj-games}/coj-juarez.cmd | 0 {ryzenadj => ryzenadj-games}/control.cmd | 0 .../genshin-impact.cmd | 2 +- {ryzenadj => ryzenadj-games}/osu.cmd | 0 {ryzenadj => ryzenadj-games}/roblox.cmd | 0 .../rocket-league.cmd | 0 {ryzenadj => ryzenadj-games}/splitgate.cmd | 0 {ryzenadj => ryzenadj-games}/sw2.cmd | 0 .../ryzenadj-heavy gaming-pro.cmd | 0 .../ryzenadj-heavy gaming-pro.ps1 | 0 .../ryzenadj-heavy-gaming.cmd | 0 .../ryzenadj-heavy-gaming.ps1 | 0 .../ryzenadj-heavy-programs.cmd | 0 .../ryzenadj-heavy-programs.ps1 | 0 .../ryzenadj-light-gaming.cmd | 0 .../ryzenadj-light-gaming.ps1 | 0 .../ryzenadj-normal.cmd | 0 .../ryzenadj-normal.ps1 | 0 .../checkup_system.ps1 | 0 clean_system.ps1 => system/clean_system.ps1 | 0 update_system.ps1 => system/update_system.ps1 | 0 29 files changed, 8 insertions(+), 52 deletions(-) rename close-unneeded-software.ps1 => gaming/close-unneeded-software.ps1 (100%) rename restart-unneeded-software.ps1 => gaming/restart-unneeded-software.ps1 (100%) delete mode 100644 install-all-my-choco-packages.bat delete mode 100644 install-all-my-scoop-packages.bat rename {ryzenadj => ryzenadj-games}/batman-arkhman-asylum.cmd (100%) rename {ryzenadj => ryzenadj-games}/battlebit-remastered.cmd (100%) rename {ryzenadj => ryzenadj-games}/coj-juarez.cmd (100%) rename {ryzenadj => ryzenadj-games}/control.cmd (100%) rename {ryzenadj => ryzenadj-games}/genshin-impact.cmd (51%) rename {ryzenadj => ryzenadj-games}/osu.cmd (100%) rename {ryzenadj => ryzenadj-games}/roblox.cmd (100%) rename {ryzenadj => ryzenadj-games}/rocket-league.cmd (100%) rename {ryzenadj => ryzenadj-games}/splitgate.cmd (100%) rename {ryzenadj => ryzenadj-games}/sw2.cmd (100%) rename ryzenadj-heavy gaming-pro.cmd => ryzenadj/ryzenadj-heavy gaming-pro.cmd (100%) rename ryzenadj-heavy gaming-pro.ps1 => ryzenadj/ryzenadj-heavy gaming-pro.ps1 (100%) rename ryzenadj-heavy-gaming.cmd => ryzenadj/ryzenadj-heavy-gaming.cmd (100%) rename ryzenadj-heavy-gaming.ps1 => ryzenadj/ryzenadj-heavy-gaming.ps1 (100%) rename ryzenadj-heavy-programs.cmd => ryzenadj/ryzenadj-heavy-programs.cmd (100%) rename ryzenadj-heavy-programs.ps1 => ryzenadj/ryzenadj-heavy-programs.ps1 (100%) rename ryzenadj-light-gaming.cmd => ryzenadj/ryzenadj-light-gaming.cmd (100%) rename ryzenadj-light-gaming.ps1 => ryzenadj/ryzenadj-light-gaming.ps1 (100%) rename ryzenadj-normal.cmd => ryzenadj/ryzenadj-normal.cmd (100%) rename ryzenadj-normal.ps1 => ryzenadj/ryzenadj-normal.ps1 (100%) rename checkup_system.ps1 => system/checkup_system.ps1 (100%) rename clean_system.ps1 => system/clean_system.ps1 (100%) rename update_system.ps1 => system/update_system.ps1 (100%) diff --git a/.gitignore b/.gitignore index 8e5bbf0..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -*.py \ No newline at end of file diff --git a/close-unneeded-software.ps1 b/gaming/close-unneeded-software.ps1 similarity index 100% rename from close-unneeded-software.ps1 rename to gaming/close-unneeded-software.ps1 diff --git a/restart-unneeded-software.ps1 b/gaming/restart-unneeded-software.ps1 similarity index 100% rename from restart-unneeded-software.ps1 rename to gaming/restart-unneeded-software.ps1 diff --git a/install-all-my-choco-packages.bat b/install-all-my-choco-packages.bat deleted file mode 100644 index bade278..0000000 --- a/install-all-my-choco-packages.bat +++ /dev/null @@ -1 +0,0 @@ -choco install 7zip adwcleaner autohotkey autoruns bitwarden brave bulk-crap-uninstaller choco-cleaner choco-shortcuts-winconfig cpu-z crystaldiskinfo curl ddu discord eclipse-java-oxygen gpu-z hwinfo irfanview irfanviewplugins jre8 mailspring megasync microsoft-teams msiafterburner notepadplusplus openssh powershell-core qbittorrent quiterss rufus sdio sharex shutup10 speedtest spotify steam-client sumatrapdf teracopy unity-hub ventoy visualstudio-installer visualstudio2019buildtools visualstudio2019community vscode WhatsApp winaero-tweaker wiztree zoom -y \ No newline at end of file diff --git a/install-all-my-scoop-packages.bat b/install-all-my-scoop-packages.bat deleted file mode 100644 index 685fa9f..0000000 --- a/install-all-my-scoop-packages.bat +++ /dev/null @@ -1,3 +0,0 @@ -scoop install 7zip aria2 AtomicParsley bat ffmpeg fzf git hugo hugo-extended islc less lsd mpv-git neovim ninja nodejs-lts pcsx2 pshazz ripgrep ryzenadj sudo - -# in administrator run scoop install SourceCodePro-NF \ No newline at end of file diff --git a/profile.ps1 b/profile.ps1 index 7710629..1beb2b7 100644 --- a/profile.ps1 +++ b/profile.ps1 @@ -2,6 +2,9 @@ using namespace System.Management.Automation Import-Module PSReadLine +# Setting up PATH +$env:Path = "$HOME/Bin/system/;" + "$env:Path" + $versionMinimum = [Version]'7.1.999' if (($Host.Name -eq 'ConsoleHost') -and ($PSVersionTable.PSVersion -ge $versionMinimum)) @@ -28,59 +31,17 @@ Set-PSReadlineOption -Color @{ "Comment" = [ConsoleColor]::DarkCyan } -Import-Module posh-git -$GitPromptSettings.DefaultPromptPrefix.Text = "$([char]0x2192) " # arrow unicode symbol -$GitPromptSettings.DefaultPromptPrefix.ForegroundColor = [ConsoleColor]::Green -$GitPromptSettings.DefaultPromptPath.ForegroundColor =[ConsoleColor]::Cyan -$GitPromptSettings.DefaultPromptSuffix.Text = "$([char]0x203A) " # chevron unicode symbol -$GitPromptSettings.DefaultPromptSuffix.ForegroundColor = [ConsoleColor]::Magenta - -$GitPromptSettings.BeforeStatus.ForegroundColor = [ConsoleColor]::Blue -$GitPromptSettings.BranchColor.ForegroundColor = [ConsoleColor]::Blue -$GitPromptSettings.AfterStatus.ForegroundColor = [ConsoleColor]::Blue -$GitPromptSettings.DefaultPromptAbbreviateHomeDirectory = $true -$GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n' -$GitPromptSettings.DefaultPromptWriteStatusFirst = $true -$GitPromptSettings.BeforePath = '{' -$GitPromptSettings.AfterPath = '}' -$GitPromptSettings.BeforePath.ForegroundColor = 'Red' -$GitPromptSettings.AfterPath.ForegroundColor = 'Red' - -function global:PromptWriteErrorInfo() { - if ($global:GitPromptValues.DollarQuestion) { return } - - if ($global:GitPromptValues.LastExitCode) { - "`e[31m(" + $global:GitPromptValues.LastExitCode + ") `e[0m" - } - else { - "`e[31m! `e[0m" - } -} - -$global:GitPromptSettings.DefaultPromptBeforeSuffix.Text = '`n$(PromptWriteErrorInfo)' - # Chocolatey profile $ChocolateyProfile = "$env:ChocolateyInstall\helpers\chocolateyProfile.psm1" if (Test-Path($ChocolateyProfile)) { Import-Module "$ChocolateyProfile" } -function lsPretty -{ - lsd -A -L -l $args[0] -} - -function mklink -{ - [string] $original = $args[0] - [string] $target = $args[1] - sudo New-Item -ItemType SymbolicLink -Path "$target" -Target "$original" -} - -function download { +function dl { Set-Location ~\Downloads aria2c -j 16 -s 16 -x 16 -k 5M --file-allocation=none $args[0] } -Set-Alias -Name ls -Value lsPretty -Set-Alias -Name ln -Value mklink +New-Alias vi nvim-qt.exe + +Invoke-Expression (&starship init powershell) diff --git a/ryzenadj/batman-arkhman-asylum.cmd b/ryzenadj-games/batman-arkhman-asylum.cmd similarity index 100% rename from ryzenadj/batman-arkhman-asylum.cmd rename to ryzenadj-games/batman-arkhman-asylum.cmd diff --git a/ryzenadj/battlebit-remastered.cmd b/ryzenadj-games/battlebit-remastered.cmd similarity index 100% rename from ryzenadj/battlebit-remastered.cmd rename to ryzenadj-games/battlebit-remastered.cmd diff --git a/ryzenadj/coj-juarez.cmd b/ryzenadj-games/coj-juarez.cmd similarity index 100% rename from ryzenadj/coj-juarez.cmd rename to ryzenadj-games/coj-juarez.cmd diff --git a/ryzenadj/control.cmd b/ryzenadj-games/control.cmd similarity index 100% rename from ryzenadj/control.cmd rename to ryzenadj-games/control.cmd diff --git a/ryzenadj/genshin-impact.cmd b/ryzenadj-games/genshin-impact.cmd similarity index 51% rename from ryzenadj/genshin-impact.cmd rename to ryzenadj-games/genshin-impact.cmd index 9a8ddf7..ed811e1 100644 --- a/ryzenadj/genshin-impact.cmd +++ b/ryzenadj-games/genshin-impact.cmd @@ -1,3 +1,3 @@ @echo off -ryzenadj --slow-time=60 --vrmmax-current=44000 --tctl-temp=70 --stapm-limit=13000 --stapm-time=1000 --fast-limit=18000 --slow-limit=16000 +ryzenadj --slow-time=60 --vrmmax-current=44000 --tctl-temp=70 --stapm-limit=13000 --stapm-time=1000 --fast-limit=19000 --slow-limit=15000 pause \ No newline at end of file diff --git a/ryzenadj/osu.cmd b/ryzenadj-games/osu.cmd similarity index 100% rename from ryzenadj/osu.cmd rename to ryzenadj-games/osu.cmd diff --git a/ryzenadj/roblox.cmd b/ryzenadj-games/roblox.cmd similarity index 100% rename from ryzenadj/roblox.cmd rename to ryzenadj-games/roblox.cmd diff --git a/ryzenadj/rocket-league.cmd b/ryzenadj-games/rocket-league.cmd similarity index 100% rename from ryzenadj/rocket-league.cmd rename to ryzenadj-games/rocket-league.cmd diff --git a/ryzenadj/splitgate.cmd b/ryzenadj-games/splitgate.cmd similarity index 100% rename from ryzenadj/splitgate.cmd rename to ryzenadj-games/splitgate.cmd diff --git a/ryzenadj/sw2.cmd b/ryzenadj-games/sw2.cmd similarity index 100% rename from ryzenadj/sw2.cmd rename to ryzenadj-games/sw2.cmd diff --git a/ryzenadj-heavy gaming-pro.cmd b/ryzenadj/ryzenadj-heavy gaming-pro.cmd similarity index 100% rename from ryzenadj-heavy gaming-pro.cmd rename to ryzenadj/ryzenadj-heavy gaming-pro.cmd diff --git a/ryzenadj-heavy gaming-pro.ps1 b/ryzenadj/ryzenadj-heavy gaming-pro.ps1 similarity index 100% rename from ryzenadj-heavy gaming-pro.ps1 rename to ryzenadj/ryzenadj-heavy gaming-pro.ps1 diff --git a/ryzenadj-heavy-gaming.cmd b/ryzenadj/ryzenadj-heavy-gaming.cmd similarity index 100% rename from ryzenadj-heavy-gaming.cmd rename to ryzenadj/ryzenadj-heavy-gaming.cmd diff --git a/ryzenadj-heavy-gaming.ps1 b/ryzenadj/ryzenadj-heavy-gaming.ps1 similarity index 100% rename from ryzenadj-heavy-gaming.ps1 rename to ryzenadj/ryzenadj-heavy-gaming.ps1 diff --git a/ryzenadj-heavy-programs.cmd b/ryzenadj/ryzenadj-heavy-programs.cmd similarity index 100% rename from ryzenadj-heavy-programs.cmd rename to ryzenadj/ryzenadj-heavy-programs.cmd diff --git a/ryzenadj-heavy-programs.ps1 b/ryzenadj/ryzenadj-heavy-programs.ps1 similarity index 100% rename from ryzenadj-heavy-programs.ps1 rename to ryzenadj/ryzenadj-heavy-programs.ps1 diff --git a/ryzenadj-light-gaming.cmd b/ryzenadj/ryzenadj-light-gaming.cmd similarity index 100% rename from ryzenadj-light-gaming.cmd rename to ryzenadj/ryzenadj-light-gaming.cmd diff --git a/ryzenadj-light-gaming.ps1 b/ryzenadj/ryzenadj-light-gaming.ps1 similarity index 100% rename from ryzenadj-light-gaming.ps1 rename to ryzenadj/ryzenadj-light-gaming.ps1 diff --git a/ryzenadj-normal.cmd b/ryzenadj/ryzenadj-normal.cmd similarity index 100% rename from ryzenadj-normal.cmd rename to ryzenadj/ryzenadj-normal.cmd diff --git a/ryzenadj-normal.ps1 b/ryzenadj/ryzenadj-normal.ps1 similarity index 100% rename from ryzenadj-normal.ps1 rename to ryzenadj/ryzenadj-normal.ps1 diff --git a/checkup_system.ps1 b/system/checkup_system.ps1 similarity index 100% rename from checkup_system.ps1 rename to system/checkup_system.ps1 diff --git a/clean_system.ps1 b/system/clean_system.ps1 similarity index 100% rename from clean_system.ps1 rename to system/clean_system.ps1 diff --git a/update_system.ps1 b/system/update_system.ps1 similarity index 100% rename from update_system.ps1 rename to system/update_system.ps1