This commit is contained in:
oitsjustjose 2026-06-18 23:21:00 -05:00
commit 3967e285b6
27 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,3 @@
@rem For use with Lenovo Legion laptops when the Audio driver outright dies from sleep or hardware change????
pnputil /disable-device "SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKAPO&6&1DC6BD64&0"
pnputil /enable-device "SWD\DRIVERENUM\{C3A63EDD-2D27-4B66-B155-5E94B43D926A}#REALTEKAPO&6&1DC6BD64&0"

View file

@ -0,0 +1,4 @@
@REM Converts a given JPEG to HEIC
cd "C:\Users\Jose\Documents\Code\Scripts\Shell Scripts\python"
pip install -r requirements.txt
python.exe convert_heic.py "%1"

View file

@ -0,0 +1,8 @@
@rem Fixes system time when rebooting
@echo off
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync

79
windows/pwsh10k.omp.json Normal file
View file

@ -0,0 +1,79 @@
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
"segments": [
{
"foreground": "p:os",
"style": "plain",
"template": "{{.Icon}}",
"type": "os"
},
{
"foreground": "cyan",
"style": "plain",
"template": "{{if .Root}} <yellow>\ue701 {{ .UserName }} as Administrator</>{{end}}",
"type": "session"
},
{
"properties": {
"enable_hyperlink": true,
"home_icon": "\uf015 ~",
"style": "short"
},
"foreground": "lightBlue",
"type": "path",
"style": "plain"
},
{
"properties": {
"display_stash_count": true,
"branch_icon": "\ue725 ",
"prefix": "<white>\ue708</>"
},
"foreground": "lightCyan",
"type": "git",
"style": "plain"
},
{
"properties": {
"postfix": "",
"prefix": "",
"text": "\u200b"
},
"foreground": "white",
"type": "text",
"style": "plain"
}
]
},
{
"alignment": "left",
"newline": true,
"segments": [
{
"foreground": "cyan",
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
"properties": {
"always_enabled": true
},
"style": "plain",
"template": "\u276f ",
"type": "status"
}
],
"type": "prompt"
}
],
"transient_prompt": {
"foreground": "cyan",
"foreground_templates": ["{{ if gt .Code 0 }}red{{ end }}"],
"template": "\u276f ",
"newline": true
},
"version": 3,
"final_space": false
}

View file

@ -0,0 +1,142 @@
{
"$help": "https://aka.ms/terminal-documentation",
"$schema": "https://aka.ms/terminal-profiles-schema",
"actions": [
{
"command": {
"action": "copy",
"singleLine": false
},
"id": "User.copy.644BA8F2"
},
{
"command": "paste",
"id": "User.paste"
},
{
"command": "find",
"id": "User.find"
},
{
"command": {
"action": "splitPane",
"split": "auto",
"splitMode": "duplicate"
},
"id": "User.splitPane.A6751878"
}
],
"copyFormatting": "none",
"copyOnSelect": false,
"defaultProfile": "{4ff56d04-d9cf-57ea-bae2-ad396374e7e3}",
"keybindings": [
{
"id": "User.copy.644BA8F2",
"keys": "ctrl+c"
},
{
"id": "User.find",
"keys": "ctrl+shift+f"
},
{
"id": "User.paste",
"keys": "ctrl+v"
},
{
"id": "User.splitPane.A6751878",
"keys": "alt+shift+d"
}
],
"newTabMenu": [
{
"type": "remainingProfiles"
}
],
"profiles": {
"defaults": {
"closeOnExit": "graceful",
"colorScheme": "Tokyo Night",
"cursorShape": "underscore",
"font": {
"face": "MesloLGS NF"
},
"padding": "8",
"scrollbarState": "visible"
},
"list": [
{
"commandline": "%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe /nologo",
"font": {
"size": 13
},
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"hidden": false,
"name": "Windows PowerShell"
},
{
"commandline": "%SystemRoot%\\System32\\cmd.exe",
"guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
"hidden": false,
"name": "Command Prompt"
},
{
"closeOnExit": "graceful",
"guid": "{4ff56d04-d9cf-57ea-bae2-ad396374e7e3}",
"hidden": false,
"name": "Ubuntu 22.04.5 LTS",
"source": "CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc"
}
]
},
"schemes": [
{
"background": "#1A1B2C",
"black": "#414868",
"blue": "#7AA2F7",
"brightBlack": "#414868",
"brightBlue": "#7AA2F7",
"brightCyan": "#7DCFFF",
"brightGreen": "#73DACA",
"brightPurple": "#BB9AF7",
"brightRed": "#F7768E",
"brightWhite": "#C0CAF5",
"brightYellow": "#E0AF68",
"cursorColor": "#C0CAF5",
"cyan": "#7DCFFF",
"foreground": "#A9B1DC",
"green": "#73DACA",
"name": "Tokyo Night",
"purple": "#BB9AF7",
"red": "#F7768E",
"selectionBackground": "#28344A",
"white": "#C0CAF5",
"yellow": "#E0AF68"
},
{
"background": "#24283B",
"black": "#414868",
"blue": "#7AA2F7",
"brightBlack": "#414868",
"brightBlue": "#7AA2F7",
"brightCyan": "#7DCFFF",
"brightGreen": "#73DACA",
"brightPurple": "#BB9AF7",
"brightRed": "#F7768E",
"brightWhite": "#C0CAF5",
"brightYellow": "#E0AF68",
"cursorColor": "#C0CAF5",
"cyan": "#7DCFFF",
"foreground": "#A9B1DC",
"green": "#73DACA",
"name": "Tokyo Night Storm",
"purple": "#BB9AF7",
"red": "#F7768E",
"selectionBackground": "#28344A",
"white": "#C0CAF5",
"yellow": "#E0AF68"
}
],
"tabWidthMode": "titleLength",
"themes": [],
"useAcrylicInTabRow": true
}