[CHORE] moved config files to a generalized folder
This commit is contained in:
25
config_files/biome.json
Normal file
25
config_files/biome.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "https://biomejs.dev/schemas/2.0.6/schema.json",
|
||||
"formatter": {
|
||||
"enabled": true,
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 4,
|
||||
"lineWidth": 120
|
||||
},
|
||||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"style": {
|
||||
"useConst": "warn",
|
||||
"useTemplate": "warn"
|
||||
},
|
||||
"complexity": {
|
||||
"noForEach": "warn"
|
||||
}
|
||||
}
|
||||
},
|
||||
"vcs": {
|
||||
"enabled": true,
|
||||
"clientKind": "git"
|
||||
}
|
||||
}
|
||||
7
config_files/lsd_config.yaml
Normal file
7
config_files/lsd_config.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
header: true
|
||||
layout: tree
|
||||
recursion:
|
||||
enabled: true
|
||||
depth: 1
|
||||
total-size: true
|
||||
indicators: true
|
||||
12
config_files/lsd_icons.yaml
Normal file
12
config_files/lsd_icons.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
name:
|
||||
repos:
|
||||
|
||||
|
||||
# funsies
|
||||
rbenv:
|
||||
.rbenv:
|
||||
|
||||
# printgeek
|
||||
erp:
|
||||
portal:
|
||||
artwork_manifest:
|
||||
5
config_files/pyrightconfig.json
Normal file
5
config_files/pyrightconfig.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"reportUnusedVariable": false,
|
||||
"reportUnusedImport": false,
|
||||
"reportUnusedParameter": false
|
||||
}
|
||||
77
config_files/ruff.toml
Normal file
77
config_files/ruff.toml
Normal file
@@ -0,0 +1,77 @@
|
||||
exclude = [
|
||||
".bzr",
|
||||
".direnv",
|
||||
".eggs",
|
||||
".git",
|
||||
".git-rewrite",
|
||||
".hg",
|
||||
".ipynb_checkpoints",
|
||||
".mypy_cache",
|
||||
".nox",
|
||||
".pants.d",
|
||||
".pyenv",
|
||||
".pytest_cache",
|
||||
".pytype",
|
||||
".ruff_cache",
|
||||
".svn",
|
||||
".tox",
|
||||
".venv",
|
||||
".vscode",
|
||||
"__pypackages__",
|
||||
"_build",
|
||||
"buck-out",
|
||||
"build",
|
||||
"dist",
|
||||
"node_modules",
|
||||
"site-packages",
|
||||
"venv",
|
||||
]
|
||||
|
||||
# Same as Black.
|
||||
line-length = 89
|
||||
indent-width = 4
|
||||
|
||||
[lint]
|
||||
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
|
||||
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
|
||||
# McCabe complexity (`C901`) by default.
|
||||
preview = true
|
||||
select = [
|
||||
# pycodestyle
|
||||
"E",
|
||||
"W",
|
||||
"E2",
|
||||
"E3",
|
||||
# Pyflakes
|
||||
"F",
|
||||
# pyupgrade
|
||||
"UP",
|
||||
# flake8-bugbear
|
||||
"B",
|
||||
# flake8-simplify
|
||||
"SIM",
|
||||
# isort
|
||||
"I",
|
||||
# pep8-naming
|
||||
"N",
|
||||
# flake8-annotations
|
||||
# "ANN",
|
||||
# pylint
|
||||
"PL",
|
||||
"ARG"
|
||||
]
|
||||
ignore = [
|
||||
"N812",
|
||||
"SIM108",
|
||||
"PLR0911"
|
||||
"C901"
|
||||
]
|
||||
|
||||
# Allow fix for all enabled rules (when `--fix`) is provided.
|
||||
fixable = ["ALL"]
|
||||
unfixable = []
|
||||
|
||||
# Allow unused variables when underscore-prefixed.
|
||||
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
|
||||
[format]
|
||||
quote-style = "double"
|
||||
199
config_files/scoop_apps.json
Normal file
199
config_files/scoop_apps.json
Normal file
@@ -0,0 +1,199 @@
|
||||
{
|
||||
"buckets": [
|
||||
{
|
||||
"Name": "main",
|
||||
"Source": "https://github.com/ScoopInstaller/Main.git",
|
||||
"Updated": "2025-02-09T15:25:58-05:00",
|
||||
"Manifests": 1357
|
||||
},
|
||||
{
|
||||
"Name": "extras",
|
||||
"Source": "https://github.com/ScoopInstaller/Extras",
|
||||
"Updated": "2025-02-09T17:18:40-05:00",
|
||||
"Manifests": 2127
|
||||
},
|
||||
{
|
||||
"Name": "nerd-fonts",
|
||||
"Source": "https://github.com/matthewjberger/scoop-nerd-fonts",
|
||||
"Updated": "2025-02-07T22:51:32-05:00",
|
||||
"Manifests": 345
|
||||
}
|
||||
],
|
||||
"apps": [
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-09T11:36:08.5111886-04:00",
|
||||
"Name": "7zip",
|
||||
"Version": "24.08"
|
||||
},
|
||||
{
|
||||
"Source": "extras",
|
||||
"Info": "",
|
||||
"Updated": "2024-11-01T19:34:38.3778404-04:00",
|
||||
"Name": "alacritty",
|
||||
"Version": "0.14.0"
|
||||
},
|
||||
{
|
||||
"Source": "extras",
|
||||
"Info": "",
|
||||
"Updated": "2025-02-09T17:23:32.7867865-05:00",
|
||||
"Name": "bitwarden",
|
||||
"Version": "2025.1.4"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-07-04T01:17:57.9121451-04:00",
|
||||
"Name": "dark",
|
||||
"Version": "3.14"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-09T11:36:12.5176222-04:00",
|
||||
"Name": "fd",
|
||||
"Version": "10.2.0"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-11-01T19:34:40.2062145-04:00",
|
||||
"Name": "fzf",
|
||||
"Version": "0.56.0"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-10-01T17:03:13.1604702-04:00",
|
||||
"Name": "go",
|
||||
"Version": "1.23.2"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2025-01-22T10:03:39.9124094-05:00",
|
||||
"Name": "imagemagick",
|
||||
"Version": "7.1.1-43"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2025-01-22T10:03:24.5153293-05:00",
|
||||
"Name": "innounp",
|
||||
"Version": "1.76"
|
||||
},
|
||||
{
|
||||
"Source": "nerd-fonts",
|
||||
"Info": "",
|
||||
"Updated": "2024-07-03T12:03:35.3347584-04:00",
|
||||
"Name": "JetBrains-Mono",
|
||||
"Version": "2.304"
|
||||
},
|
||||
{
|
||||
"Source": "extras",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-18T16:53:33.5012064-04:00",
|
||||
"Name": "lazygit",
|
||||
"Version": "0.44.1"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-11-01T19:35:48.4703135-04:00",
|
||||
"Name": "llvm",
|
||||
"Version": "19.1.3"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-05T16:46:00.174889-04:00",
|
||||
"Name": "lsd",
|
||||
"Version": "1.1.5"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-09T11:39:07.0301924-04:00",
|
||||
"Name": "lua",
|
||||
"Version": "5.4.7-2"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-07-02T13:43:36.9378971-04:00",
|
||||
"Name": "luarocks",
|
||||
"Version": "3.11.1"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-09T11:41:16.5981167-04:00",
|
||||
"Name": "mingw",
|
||||
"Version": "14.2.0-rt_v12-rev0"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-11-01T19:36:09.7309676-04:00",
|
||||
"Name": "neovim",
|
||||
"Version": "0.10.2"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-11-01T19:36:43.4336921-04:00",
|
||||
"Name": "nodejs",
|
||||
"Version": "23.1.0"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2025-01-31T23:59:54.9114723-05:00",
|
||||
"Name": "ollama",
|
||||
"Version": "0.5.7"
|
||||
},
|
||||
{
|
||||
"Source": "extras",
|
||||
"Info": "",
|
||||
"Updated": "2025-02-01T00:03:59.1209205-05:00",
|
||||
"Name": "ollama-full",
|
||||
"Version": "0.5.7"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-10-01T17:04:33.0075698-04:00",
|
||||
"Name": "python",
|
||||
"Version": "3.12.7"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-09T11:41:57.6071607-04:00",
|
||||
"Name": "ripgrep",
|
||||
"Version": "14.1.1"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-07-03T23:27:10.7278254-04:00",
|
||||
"Name": "unzip",
|
||||
"Version": "6.00"
|
||||
},
|
||||
{
|
||||
"Source": "extras",
|
||||
"Info": "",
|
||||
"Updated": "2024-07-03T20:06:17.971977-04:00",
|
||||
"Name": "wezterm",
|
||||
"Version": "20240203-110809-5046fc22"
|
||||
},
|
||||
{
|
||||
"Source": "main",
|
||||
"Info": "",
|
||||
"Updated": "2024-09-02T19:37:17.1832372-04:00",
|
||||
"Name": "zig",
|
||||
"Version": "0.13.0"
|
||||
}
|
||||
]
|
||||
}
|
||||
5
config_files/stylua.toml
Normal file
5
config_files/stylua.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
indent_type = "Spaces"
|
||||
indent_width = 2
|
||||
column_width = 120
|
||||
[sort_requires]
|
||||
enabled = true
|
||||
70
config_files/wezterm.lua
Normal file
70
config_files/wezterm.lua
Normal file
@@ -0,0 +1,70 @@
|
||||
--WARNING: need to to set env var WEZTERM_CONFIG_FILE to this file
|
||||
local wezterm = require("wezterm")
|
||||
local config = wezterm.config_builder()
|
||||
-- workspace dir default
|
||||
config.default_cwd = os.getenv("HOMEPATH") .. "/workspace"
|
||||
-- default term prog can be changed with cli args
|
||||
config.default_prog = { "pwsh" }
|
||||
|
||||
--styles
|
||||
config.harfbuzz_features = { "calt=1", "clig=1", "liga=1" }
|
||||
config.font = wezterm.font("JetBrainsMono NF", { weight = "Bold" , style = "Italic"})
|
||||
-- config.font_size = 14
|
||||
config.color_scheme = "Sakura"
|
||||
config.window_padding = {
|
||||
left = "0.5cell",
|
||||
right = "0.5cell",
|
||||
top = "0cell",
|
||||
bottom = "0cell",
|
||||
}
|
||||
-- pane
|
||||
config.colors = { split = '#E858F5' }
|
||||
config.inactive_pane_hsb = {
|
||||
saturation = 0.7,
|
||||
brightness = 0.8,
|
||||
}
|
||||
|
||||
--tab bar
|
||||
config.hide_tab_bar_if_only_one_tab = true
|
||||
config.tab_bar_at_bottom = true
|
||||
|
||||
--window size
|
||||
config.initial_rows = 32
|
||||
config.initial_cols = 129
|
||||
|
||||
--tansparent
|
||||
local is_transparent = true
|
||||
config.window_background_opacity = 0.65
|
||||
config.text_background_opacity = 0.4
|
||||
|
||||
--key map
|
||||
local act = wezterm.action
|
||||
config.keys = {
|
||||
{ key = "l", mods = "ALT", action = act.ActivateTabRelative(1) },
|
||||
{ key = "h", mods = "ALT", action = act.ActivateTabRelative(-1) },
|
||||
{ key = "f", mods = "ALT", action = act.ToggleFullScreen },
|
||||
-- Keybinding to toggle transparency
|
||||
{
|
||||
key = "o",
|
||||
mods = "ALT|CTRL",
|
||||
action = wezterm.action_callback(function(window)
|
||||
if is_transparent then
|
||||
-- Set to solid
|
||||
window:set_config_overrides({
|
||||
window_background_opacity = 1.0,
|
||||
text_background_opacity = 1.0,
|
||||
})
|
||||
is_transparent = false
|
||||
else
|
||||
-- Set to transparent
|
||||
window:set_config_overrides({
|
||||
window_background_opacity = 0.65,
|
||||
text_background_opacity = 0.4,
|
||||
})
|
||||
is_transparent = true
|
||||
end
|
||||
end),
|
||||
},
|
||||
}
|
||||
|
||||
return config
|
||||
Reference in New Issue
Block a user