Update
Added windows terminal added config for windows terminal
This commit is contained in:
@@ -123,6 +123,24 @@ function Install-PlexAmp {
|
|||||||
winget install Plex.Plexamp
|
winget install Plex.Plexamp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function Install-WindowsTerminal {
|
||||||
|
Write-Host "Installing Windows Terminal"
|
||||||
|
winget install Microsoft.WindowsTerminal
|
||||||
|
}
|
||||||
|
|
||||||
|
function Config-WindowsTerminal {
|
||||||
|
Write-Host "Configuring Windows Terminal"
|
||||||
|
$folderPath = "$ENV:LOCALAPPDATA\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState"
|
||||||
|
if (-not (Test-Path $folderPath -PathType Container)) {
|
||||||
|
New-Item -Path $folderPath -ItemType Directory -Force
|
||||||
|
Write-Host "Folder '$folderPath' created successfully."
|
||||||
|
} else {
|
||||||
|
Write-Host "Folder '$folderPath' already exists."
|
||||||
|
}
|
||||||
|
$download = "https://git.tcmeta.net/kurtis/win11-scripts/raw/branch/main/vargscript/termsettings.json"
|
||||||
|
Invoke-WebRequest $download -Out "$folderPath\settings.json"
|
||||||
|
}
|
||||||
|
|
||||||
function Show-InteractiveMenu {
|
function Show-InteractiveMenu {
|
||||||
param (
|
param (
|
||||||
[string]$Title = "Main Menu",
|
[string]$Title = "Main Menu",
|
||||||
@@ -167,6 +185,8 @@ do {
|
|||||||
Install-Gimp
|
Install-Gimp
|
||||||
Install-Joplin
|
Install-Joplin
|
||||||
Install-PlexAmp
|
Install-PlexAmp
|
||||||
|
Install-Terminal
|
||||||
|
Config-WindowsTerminal
|
||||||
Pause
|
Pause
|
||||||
}
|
}
|
||||||
"2" {
|
"2" {
|
||||||
|
|||||||
120
vargscript/termsettings.json
Normal file
120
vargscript/termsettings.json
Normal file
@@ -0,0 +1,120 @@
|
|||||||
|
{
|
||||||
|
"$help": "https://aka.ms/terminal-documentation",
|
||||||
|
"$schema": "https://aka.ms/terminal-profiles-schema",
|
||||||
|
"actions":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"command": "openNewTabDropdown",
|
||||||
|
"id": "User.openNewTabDropdown"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"copyFormatting": "none",
|
||||||
|
"copyOnSelect": false,
|
||||||
|
"defaultProfile": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
|
||||||
|
"keybindings":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"id": "Terminal.CopyToClipboard",
|
||||||
|
"keys": "ctrl+c"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Terminal.FindText",
|
||||||
|
"keys": "ctrl+shift+f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Terminal.PasteFromClipboard",
|
||||||
|
"keys": "ctrl+v"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Terminal.DuplicatePaneAuto",
|
||||||
|
"keys": "alt+shift+d"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "User.openNewTabDropdown",
|
||||||
|
"keys": "ctrl+shift+e"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"newTabMenu":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "remainingProfiles"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"profiles":
|
||||||
|
{
|
||||||
|
"defaults":
|
||||||
|
{
|
||||||
|
"colorScheme": "Solarized Dark"
|
||||||
|
},
|
||||||
|
"list":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"commandline": "ssh whonet@bastion.whonet.vpn",
|
||||||
|
"guid": "{7c1726fc-ca9d-500e-ab69-87ac0d2b40a2}",
|
||||||
|
"icon": "\u2b55",
|
||||||
|
"name": "Hosting: Bastion",
|
||||||
|
"tabTitle": "Hosting: Bastion"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"commandline": "ssh whonet@anelli.whonet.vpn",
|
||||||
|
"guid": "{61692070-bff7-5bbf-bd7a-81406b0fe206}",
|
||||||
|
"icon": "\u2b55",
|
||||||
|
"name": "Hosting: Anelli",
|
||||||
|
"tabTitle": "Hosting: Anelli"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"commandline": "ssh whonet@barbina.whonet.vpn",
|
||||||
|
"guid": "{d4875dd3-4546-5f9b-a339-e87d94677867}",
|
||||||
|
"icon": "\u2b55",
|
||||||
|
"name": "Hosting: Barbina",
|
||||||
|
"tabTitle": "Hosting: Barbina"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"commandline": "ssh whonet@cheddar.whonet.vpn",
|
||||||
|
"guid": "{c402fd55-cb8a-5cbe-b226-f68dc30703e3}",
|
||||||
|
"icon": "\u2b55",
|
||||||
|
"name": "Hosting: Cheddar",
|
||||||
|
"tabTitle": "Hosting: Cheddar"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
|
||||||
|
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
|
||||||
|
"hidden": false,
|
||||||
|
"name": "Windows PowerShell"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"colorScheme": "Vintage",
|
||||||
|
"commandline": "%SystemRoot%\\System32\\cmd.exe",
|
||||||
|
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
|
||||||
|
"hidden": false,
|
||||||
|
"name": "Command Prompt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
|
||||||
|
"hidden": false,
|
||||||
|
"name": "Azure Cloud Shell",
|
||||||
|
"source": "Windows.Terminal.Azure"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"colorScheme": "IBM 5153",
|
||||||
|
"font":
|
||||||
|
{
|
||||||
|
"size": 12
|
||||||
|
},
|
||||||
|
"guid": "{6d6f1c71-392d-5f0b-9a95-dd9a3c8f2435}",
|
||||||
|
"hidden": false,
|
||||||
|
"name": "Ubuntu",
|
||||||
|
"source": "Microsoft.WSL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"guid": "{2ece5bfe-50ed-5f3a-ab87-5cd4baafed2b}",
|
||||||
|
"hidden": false,
|
||||||
|
"name": "Git Bash",
|
||||||
|
"source": "Git"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"schemes": [],
|
||||||
|
"theme": "dark",
|
||||||
|
"themes": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user