systemd user units into repo (symlink swap) + sharpshooter watchdog timer
Browse files at this commit010184914131b60adf795e5374258e7e559056c2Parent: b315d056 changed files +839 -6
- .config/fish/completions/bun.fish +196 -0
- .config/fish/completions/omp.fish +279 -0
- .config/fish/config.fish +8 -0
- .config/mimeapps.list +1 -0
- .config/niri/config.bak +349 -0
- .config/niri/config.kdl +6 -6
.config/fish/completions/bun.fishadded+196 -0
| @@ -0,0 +1,196 @@ | |||
| 1 | +# This is terribly complicated | ||
| 2 | +# It's because: | ||
| 3 | +# 1. bun run has to have dynamic completions | ||
| 4 | +# 2. there are global options | ||
| 5 | +# 3. bun {install add remove} gets special options | ||
| 6 | +# 4. I don't know how to write fish completions well | ||
| 7 | +# Contributions very welcome!! | ||
| 8 | + | ||
| 9 | +function __fish__get_bun_bins | ||
| 10 | + string split ' ' (bun getcompletes b) | ||
| 11 | +end | ||
| 12 | + | ||
| 13 | +function __fish__get_bun_scripts | ||
| 14 | + set -lx SHELL bash | ||
| 15 | + set -lx MAX_DESCRIPTION_LEN 40 | ||
| 16 | + string trim (string split '\n' (string split '\t' (bun getcompletes z))) | ||
| 17 | +end | ||
| 18 | + | ||
| 19 | +function __fish__get_bun_packages | ||
| 20 | + if test (commandline -ct) != "" | ||
| 21 | + set -lx SHELL fish | ||
| 22 | + string split ' ' (bun getcompletes a (commandline -ct)) | ||
| 23 | + end | ||
| 24 | +end | ||
| 25 | + | ||
| 26 | +function __history_completions | ||
| 27 | + set -l tokens (commandline --current-process --tokenize) | ||
| 28 | + history --prefix (commandline) | string replace -r \^$tokens[1]\\s\* "" | string replace -r \^$tokens[2]\\s\* "" | string split ' ' | ||
| 29 | +end | ||
| 30 | + | ||
| 31 | +function __fish__get_bun_bun_js_files | ||
| 32 | + string split ' ' (bun getcompletes j) | ||
| 33 | +end | ||
| 34 | + | ||
| 35 | +set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global | ||
| 36 | +set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't update package.json or save a lockfile" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependencies" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder" | ||
| 37 | + | ||
| 38 | +set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add update init pm x repl | ||
| 39 | +set -l bun_builtin_cmds_accepting_flags create help bun upgrade discord run init link unlink pm x update | ||
| 40 | + | ||
| 41 | +function __bun_complete_bins_scripts --inherit-variable bun_builtin_cmds_without_run -d "Emit bun completions for bins and scripts" | ||
| 42 | + # Do nothing if we already have a builtin subcommand, | ||
| 43 | + # or any subcommand other than "run". | ||
| 44 | + if __fish_seen_subcommand_from $bun_builtin_cmds_without_run | ||
| 45 | + or not __fish_use_subcommand && not __fish_seen_subcommand_from run | ||
| 46 | + return | ||
| 47 | + end | ||
| 48 | + # Do we already have a bin or script subcommand? | ||
| 49 | + set -l bins (__fish__get_bun_bins) | ||
| 50 | + if __fish_seen_subcommand_from $bins | ||
| 51 | + return | ||
| 52 | + end | ||
| 53 | + # Scripts have descriptions appended with a tab separator. | ||
| 54 | + # Strip off descriptions for the purposes of subcommand testing. | ||
| 55 | + set -l scripts (__fish__get_bun_scripts) | ||
| 56 | + if __fish_seen_subcommand_from (string split \t -f 1 -- $scripts) | ||
| 57 | + return | ||
| 58 | + end | ||
| 59 | + # Emit scripts. | ||
| 60 | + for script in $scripts | ||
| 61 | + echo $script | ||
| 62 | + end | ||
| 63 | + # Emit binaries and JS files (but only if we're doing `bun run`). | ||
| 64 | + if __fish_seen_subcommand_from run | ||
| 65 | + for bin in $bins | ||
| 66 | + echo "$bin"\t"package bin" | ||
| 67 | + end | ||
| 68 | + for file in (__fish__get_bun_bun_js_files) | ||
| 69 | + echo "$file"\t"Bun.js" | ||
| 70 | + end | ||
| 71 | + end | ||
| 72 | +end | ||
| 73 | + | ||
| 74 | + | ||
| 75 | +# Clear existing completions | ||
| 76 | +complete -e -c bun | ||
| 77 | + | ||
| 78 | +# Dynamically emit scripts and binaries | ||
| 79 | +complete -c bun -f -a "(__bun_complete_bins_scripts)" | ||
| 80 | + | ||
| 81 | +# Complete flags if we have no subcommand or a flag-friendly one. | ||
| 82 | +set -l flag_applies "__fish_use_subcommand; or __fish_seen_subcommand_from $bun_builtin_cmds_accepting_flags" | ||
| 83 | +complete -c bun \ | ||
| 84 | + -n $flag_applies --no-files -s 'u' -l 'origin' -r -d 'Server URL. Rewrites import paths' | ||
| 85 | +complete -c bun \ | ||
| 86 | + -n $flag_applies --no-files -s 'p' -l 'port' -r -d 'Port number to start server from' | ||
| 87 | +complete -c bun \ | ||
| 88 | + -n $flag_applies --no-files -s 'd' -l 'define' -r -d 'Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\"' | ||
| 89 | +complete -c bun \ | ||
| 90 | + -n $flag_applies --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react' | ||
| 91 | +complete -c bun \ | ||
| 92 | + -n $flag_applies --no-files -l 'use' -r -d 'Use a framework (ex: next)' | ||
| 93 | +complete -c bun \ | ||
| 94 | + -n $flag_applies --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime' | ||
| 95 | + | ||
| 96 | +# Complete dev and create as first subcommand. | ||
| 97 | +complete -c bun \ | ||
| 98 | + -n "__fish_use_subcommand" -a 'dev' -d 'Start dev server' | ||
| 99 | +complete -c bun \ | ||
| 100 | + -n "__fish_use_subcommand" -a 'create' -f -d 'Create a new project from a template' | ||
| 101 | + | ||
| 102 | +# Complete "next" and "react" if we've seen "create". | ||
| 103 | +complete -c bun \ | ||
| 104 | + -n "__fish_seen_subcommand_from create" -a 'next' -d 'new Next.js project' | ||
| 105 | + | ||
| 106 | +complete -c bun \ | ||
| 107 | + -n "__fish_seen_subcommand_from create" -a 'react' -d 'new React project' | ||
| 108 | + | ||
| 109 | +# Complete "upgrade" as first subcommand. | ||
| 110 | +complete -c bun \ | ||
| 111 | + -n "__fish_use_subcommand" -a 'upgrade' -d 'Upgrade bun to the latest version' -x | ||
| 112 | +# Complete "-h/--help" unconditionally. | ||
| 113 | +complete -c bun \ | ||
| 114 | + -s "h" -l "help" -d 'See all commands and flags' -x | ||
| 115 | + | ||
| 116 | +# Complete "-v/--version" if we have no subcommand. | ||
| 117 | +complete -c bun \ | ||
| 118 | + -n "not __fish_use_subcommand" -l "version" -s "v" -d 'Bun\'s version' -x | ||
| 119 | + | ||
| 120 | +# Complete additional subcommands. | ||
| 121 | +complete -c bun \ | ||
| 122 | + -n "__fish_use_subcommand" -a 'discord' -d 'Open bun\'s Discord server' -x | ||
| 123 | + | ||
| 124 | + | ||
| 125 | +complete -c bun \ | ||
| 126 | + -n "__fish_use_subcommand" -a 'bun' -d 'Generate a new bundle' | ||
| 127 | + | ||
| 128 | + | ||
| 129 | +complete -c bun \ | ||
| 130 | + -n "__fish_seen_subcommand_from bun" -F -d 'Bundle this' | ||
| 131 | + | ||
| 132 | +complete -c bun \ | ||
| 133 | + -n "__fish_seen_subcommand_from create; and __fish_seen_subcommand_from react next" -F -d "Create in directory" | ||
| 134 | + | ||
| 135 | + | ||
| 136 | +complete -c bun \ | ||
| 137 | + -n "__fish_use_subcommand" -a 'init' -F -d 'Start an empty Bun project' | ||
| 138 | + | ||
| 139 | +complete -c bun \ | ||
| 140 | + -n "__fish_use_subcommand" -a 'install' -f -d 'Install packages from package.json' | ||
| 141 | + | ||
| 142 | +complete -c bun \ | ||
| 143 | + -n "__fish_use_subcommand" -a 'add' -F -d 'Add a package to package.json' | ||
| 144 | + | ||
| 145 | +complete -c bun \ | ||
| 146 | + -n "__fish_use_subcommand" -a 'remove' -F -d 'Remove a package from package.json' | ||
| 147 | + | ||
| 148 | + | ||
| 149 | +for i in (seq (count $bun_install_boolean_flags)) | ||
| 150 | + complete -c bun \ | ||
| 151 | + -n "__fish_seen_subcommand_from install add remove update" -l "$bun_install_boolean_flags[$i]" -d "$bun_install_boolean_flags_descriptions[$i]" | ||
| 152 | +end | ||
| 153 | + | ||
| 154 | +complete -c bun \ | ||
| 155 | + -n "__fish_seen_subcommand_from install add remove update" -l 'cwd' -d 'Change working directory' | ||
| 156 | + | ||
| 157 | +complete -c bun \ | ||
| 158 | + -n "__fish_seen_subcommand_from install add remove update" -l 'cache-dir' -d 'Choose a cache directory (default: $HOME/.bun/install/cache)' | ||
| 159 | + | ||
| 160 | +complete -c bun \ | ||
| 161 | + -n "__fish_seen_subcommand_from add" -d 'Popular' -a '(__fish__get_bun_packages)' | ||
| 162 | + | ||
| 163 | +complete -c bun \ | ||
| 164 | + -n "__fish_seen_subcommand_from add" -d 'History' -a '(__history_completions)' | ||
| 165 | + | ||
| 166 | +complete -c bun \ | ||
| 167 | + -n "__fish_seen_subcommand_from pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) cache;" -a 'bin ls cache hash hash-print hash-string' -f | ||
| 168 | + | ||
| 169 | +complete -c bun \ | ||
| 170 | + -n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts);" -a 'rm' -f | ||
| 171 | + | ||
| 172 | +# Add built-in subcommands with descriptions. | ||
| 173 | +complete -c bun -n "__fish_use_subcommand" -a "create" -f -d "Create a new project from a template" | ||
| 174 | +complete -c bun -n "__fish_use_subcommand" -a "build bun" --require-parameter -F -d "Transpile and bundle one or more files" | ||
| 175 | +complete -c bun -n "__fish_use_subcommand" -a "upgrade" -d "Upgrade Bun" | ||
| 176 | +complete -c bun -n "__fish_use_subcommand" -a "run" -d "Run a script or package binary" | ||
| 177 | +complete -c bun -n "__fish_use_subcommand" -a "install" -d "Install dependencies from package.json" -f | ||
| 178 | +complete -c bun -n "__fish_use_subcommand" -a "remove" -d "Remove a dependency from package.json" -f | ||
| 179 | +complete -c bun -n "__fish_use_subcommand" -a "add" -d "Add a dependency to package.json" -f | ||
| 180 | +complete -c bun -n "__fish_use_subcommand" -a "init" -d "Initialize a Bun project in this directory" -f | ||
| 181 | +complete -c bun -n "__fish_use_subcommand" -a "link" -d "Register or link a local npm package" -f | ||
| 182 | +complete -c bun -n "__fish_use_subcommand" -a "unlink" -d "Unregister a local npm package" -f | ||
| 183 | +complete -c bun -n "__fish_use_subcommand" -a "pm" -d "Additional package management utilities" -f | ||
| 184 | +complete -c bun -n "__fish_use_subcommand" -a "x" -d "Execute a package binary, installing if needed" -f | ||
| 185 | +complete -c bun -n "__fish_use_subcommand" -a "outdated" -d "Display the latest versions of outdated dependencies" -f | ||
| 186 | +complete -c bun -n "__fish_use_subcommand" -a "update" -d "Update dependencies to their latest versions" -f | ||
| 187 | +complete -c bun -n "__fish_use_subcommand" -a "publish" -d "Publish your package from local to npm" -f | ||
| 188 | +complete -c bun -n "__fish_use_subcommand" -a "repl" -d "Start a REPL session with Bun" -f | ||
| 189 | +complete -c bun -n "__fish_seen_subcommand_from repl" -s "e" -l "eval" -r -d "Evaluate argument as a script, then exit" -f | ||
| 190 | +complete -c bun -n "__fish_seen_subcommand_from repl" -s "p" -l "print" -r -d "Evaluate argument as a script, print the result, then exit" -f | ||
| 191 | +complete -c bun -n "__fish_seen_subcommand_from repl" -s "r" -l "preload" -r -d "Import a module before other modules are loaded" | ||
| 192 | +complete -c bun -n "__fish_seen_subcommand_from repl" -l "smol" -d "Use less memory, but run garbage collection more often" -f | ||
| 193 | +complete -c bun -n "__fish_seen_subcommand_from repl" -s "c" -l "config" -r -d "Specify path to Bun config file" | ||
| 194 | +complete -c bun -n "__fish_seen_subcommand_from repl" -l "cwd" -r -d "Absolute path to resolve files & entry points from" | ||
| 195 | +complete -c bun -n "__fish_seen_subcommand_from repl" -l "env-file" -r -d "Load environment variables from the specified file(s)" | ||
| 196 | +complete -c bun -n "__fish_seen_subcommand_from repl" -l "no-env-file" -d "Disable automatic loading of .env files" -f | ||
.config/fish/completions/omp.fishadded+279 -0
| @@ -0,0 +1,279 @@ | |||
| 1 | +# fish completion for omp — generated by `omp completions fish` | ||
| 2 | + | ||
| 3 | +function __fish_omp_no_subcommand | ||
| 4 | + for i in (commandline -opc) | ||
| 5 | + if contains -- $i acp agents auth-broker auth-gateway bench browser-relay cleanse commit completions compress config dry-balance gallery gc grep grievances install join models plugin read say search q setup share shell ssh stats tiny-models token ttsr update usage worktree wt | ||
| 6 | + return 1 | ||
| 7 | + end | ||
| 8 | + end | ||
| 9 | + return 0 | ||
| 10 | +end | ||
| 11 | + | ||
| 12 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'acp' -d 'Run Oh My Pi as an ACP (Agent Client Protocol) server over stdio' | ||
| 13 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'agents' -d 'Manage bundled task agents' | ||
| 14 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'auth-broker' -d 'Manage the omp auth-broker (credential vault)' | ||
| 15 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'auth-gateway' -d 'Run an auth-gateway forward proxy backed by the configured broker' | ||
| 16 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'bench' -d 'Benchmark models with the same prompt: time-to-first-token and generation throughput (tokens/s)' | ||
| 17 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'browser-relay' -d 'Run the local CDP relay that lets the browser tool drive your own Chrome tabs' | ||
| 18 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'cleanse' -d 'Detect and fix project diagnostics with weighted parallel subagents' | ||
| 19 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'commit' -d 'Generate a commit message and update changelogs' | ||
| 20 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'completions' -d 'Print a shell completion script (bash, zsh, or fish)' | ||
| 21 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'compress' -d 'Rewrite a text file into the dense prompt register, reporting what it drops' | ||
| 22 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'config' -d 'Manage configuration settings' | ||
| 23 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'dry-balance' -d 'Dry-run OAuth account balancing across random session ids' | ||
| 24 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'gallery' -d 'Preview tool renderers across streaming, in-progress, success, and failure states' | ||
| 25 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'gc' -d 'Run storage garbage collection' | ||
| 26 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'grep' -d 'Test grep tool' | ||
| 27 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'grievances' -d 'View, clean, or push reported tool issues (auto-QA grievances)' | ||
| 28 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'install' -d 'Install or link an extension package (alias of `plugin install`/`plugin link`)' | ||
| 29 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'join' -d 'Join a shared collab session (same as /join)' | ||
| 30 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'models' -d 'List, search, and refresh available models' | ||
| 31 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'plugin' -d 'Manage plugins (install, uninstall, list, etc.)' | ||
| 32 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'read' -d 'Show what the read tool will return for a path, URL, or internal URI' | ||
| 33 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'say' -d 'Synthesize text with the local TTS engine and play it through the speakers' | ||
| 34 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'search' -d 'Test web search providers' | ||
| 35 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'q' -d 'Test web search providers' | ||
| 36 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'setup' -d 'Run onboarding setup or install dependencies for optional features' | ||
| 37 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'share' -d 'Share a saved session via an encrypted link (same as /share)' | ||
| 38 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'shell' -d 'Interactive shell console' | ||
| 39 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'ssh' -d 'Manage SSH host configurations' | ||
| 40 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'stats' -d 'View usage statistics' | ||
| 41 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'tiny-models' -d 'Download tiny local models (session titles + memory)' | ||
| 42 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'token' -d 'Get the API key or OAuth token for a provider' | ||
| 43 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'ttsr' -d 'Inspect and test Time-Traveling Stream Rules (TTSR)' | ||
| 44 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'update' -d 'Check for and install updates' | ||
| 45 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'usage' -d 'Show provider usage limits for every authenticated account' | ||
| 46 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'worktree' -d 'List or clear agent-managed git worktrees (~/.omp/wt)' | ||
| 47 | +complete -c omp -f -n '__fish_omp_no_subcommand' -a 'wt' -d 'List or clear agent-managed git worktrees (~/.omp/wt)' | ||
| 48 | + | ||
| 49 | +complete -c omp -n '__fish_omp_no_subcommand' -l model -d 'Model to use (fuzzy match: "opus", "gpt-5.2", or "openai/gpt-5.2")' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 50 | +complete -c omp -n '__fish_omp_no_subcommand' -l smol -d 'Smol/fast model for lightweight tasks (or PI_SMOL_MODEL env)' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 51 | +complete -c omp -n '__fish_omp_no_subcommand' -l slow -d 'Slow/reasoning model for thorough analysis (or PI_SLOW_MODEL env)' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 52 | +complete -c omp -n '__fish_omp_no_subcommand' -l plan -d 'Plan model for architectural planning (or PI_PLAN_MODEL env)' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 53 | +complete -c omp -n '__fish_omp_no_subcommand' -l prewalk -d 'Switch from the active model to a fast/cheap model at the first edit/write after the plan’s todo list exists (default off; see prewalk.enabled)' | ||
| 54 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-prewalk -d 'Disable prewalk even if prewalk.enabled is set' | ||
| 55 | +complete -c omp -n '__fish_omp_no_subcommand' -l prewalk-into -d 'Target model for prewalk (default the "smol" role)' -r -F | ||
| 56 | +complete -c omp -n '__fish_omp_no_subcommand' -l plan-yolo -d 'Force read-only plan mode at start, auto-approve the plan on the model’s first resolve call, then switch to --plan-yolo-into to implement it' | ||
| 57 | +complete -c omp -n '__fish_omp_no_subcommand' -l plan-yolo-into -d 'Target model for plan-yolo execution (default the "smol" role)' -r -F | ||
| 58 | +complete -c omp -n '__fish_omp_no_subcommand' -l provider -d 'Provider to use (legacy; prefer --model)' -r -F | ||
| 59 | +complete -c omp -n '__fish_omp_no_subcommand' -l api-key -d 'API key (defaults to env vars)' -r -F | ||
| 60 | +complete -c omp -n '__fish_omp_no_subcommand' -l system-prompt -d 'System prompt (default: coding assistant prompt)' -r -F | ||
| 61 | +complete -c omp -n '__fish_omp_no_subcommand' -l append-system-prompt -d 'Append text or file contents to the system prompt' -r -F | ||
| 62 | +complete -c omp -n '__fish_omp_no_subcommand' -l allow-home -d 'Allow starting in ~ without auto-switching to a temp dir' | ||
| 63 | +complete -c omp -n '__fish_omp_no_subcommand' -l profile -d 'Use an isolated profile for auth, sessions, settings, and caches' -r -F | ||
| 64 | +complete -c omp -n '__fish_omp_no_subcommand' -l alias -d 'Create a shell shortcut for the selected profile and exit' -r -F | ||
| 65 | +complete -c omp -n '__fish_omp_no_subcommand' -l cwd -d 'Directory to start in (overrides the launch cwd)' -r -F | ||
| 66 | +complete -c omp -n '__fish_omp_no_subcommand' -l mode -d 'Output mode: text (default), json, rpc, or rpc-ui' -x -a 'text json rpc acp rpc-ui' | ||
| 67 | +complete -c omp -n '__fish_omp_no_subcommand' -l config -d 'Load an extra config.yml-style overlay for this run (repeatable)' -r -F | ||
| 68 | +complete -c omp -n '__fish_omp_no_subcommand' -l add-dir -d 'Add a workspace directory beyond the working directory (repeatable)' -r -F | ||
| 69 | +complete -c omp -n '__fish_omp_no_subcommand' -s p -l print -d 'Non-interactive mode: process prompt and exit' | ||
| 70 | +complete -c omp -n '__fish_omp_no_subcommand' -s c -l continue -d 'Continue previous session' | ||
| 71 | +complete -c omp -n '__fish_omp_no_subcommand' -s r -l resume -d 'Resume a session (by ID prefix, path, or picker if omitted)' -x -a '(command omp __complete sessions -- (commandline -ct))' | ||
| 72 | +complete -c omp -n '__fish_omp_no_subcommand' -l from-claude -d 'Import a Claude Code session into OMP' | ||
| 73 | +complete -c omp -n '__fish_omp_no_subcommand' -l from-codex -d 'Import a Codex session into OMP' | ||
| 74 | +complete -c omp -n '__fish_omp_no_subcommand' -l session-dir -d 'Directory for session storage and lookup' -x -a '(__fish_complete_directories (commandline -ct))' | ||
| 75 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-session -d 'Don’t save session (ephemeral)' | ||
| 76 | +complete -c omp -n '__fish_omp_no_subcommand' -l models -d 'Comma-separated model patterns for Ctrl+P cycling' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 77 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-tools -d 'Disable all built-in tools' | ||
| 78 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-lsp -d 'Disable LSP tools, formatting, and diagnostics' | ||
| 79 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-pty -d 'Disable PTY-based interactive bash execution' | ||
| 80 | +complete -c omp -n '__fish_omp_no_subcommand' -l tools -d 'Comma-separated list of tools to enable (default: all)' -x -a 'read bash edit ast_grep ast_edit ask debug eval github glob grep lsp inspect_image browser computer checkpoint rewind security_scan task hub todo web_search write memory_edit retain recall reflect learn manage_skill' | ||
| 81 | +complete -c omp -n '__fish_omp_no_subcommand' -l thinking -d 'Set thinking level: off, minimal, low, medium, high, xhigh, max, auto' -x -a 'off minimal low medium high xhigh max auto' | ||
| 82 | +complete -c omp -n '__fish_omp_no_subcommand' -l service-tier -d 'OpenAI service tier for this session (none omits service_tier)' -x -a 'none auto default flex scale priority' | ||
| 83 | +complete -c omp -n '__fish_omp_no_subcommand' -l hide-thinking -d 'Hide thinking blocks in TUI output (display only, does not disable model thinking)' | ||
| 84 | +complete -c omp -n '__fish_omp_no_subcommand' -l advisor -d 'Enable the advisor runtime (passively reviews each turn and injects notes)' | ||
| 85 | +complete -c omp -n '__fish_omp_no_subcommand' -l external-thinking -d 'Use a private scratchpad while disabling supported GPT, Claude, and Gemini reasoning' | ||
| 86 | +complete -c omp -n '__fish_omp_no_subcommand' -l hook -d 'Load a hook/extension file (can be used multiple times)' -r -F | ||
| 87 | +complete -c omp -n '__fish_omp_no_subcommand' -s e -l extension -d 'Load an extension file (can be used multiple times)' -r -F | ||
| 88 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-extensions -d 'Disable extension discovery (explicit -e paths still work)' | ||
| 89 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-skills -d 'Disable skills discovery and loading' | ||
| 90 | +complete -c omp -n '__fish_omp_no_subcommand' -l skills -d 'Comma-separated glob patterns to filter skills (e.g., git-*,docker)' -r -F | ||
| 91 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-rules -d 'Disable rules discovery and loading' | ||
| 92 | +complete -c omp -n '__fish_omp_no_subcommand' -l export -d 'Export session file to HTML and exit' -r -F | ||
| 93 | +complete -c omp -n '__fish_omp_no_subcommand' -l no-title -d 'Disable title auto-generation' | ||
| 94 | +complete -c omp -n '__fish_omp_no_subcommand' -l print-thoughts -d 'Include thinking blocks in print mode text output' | ||
| 95 | +complete -c omp -n '__fish_omp_no_subcommand' -l max-time -d 'Stop the session after this duration (e.g., 600, 10m, 1h)' -r -F | ||
| 96 | +complete -c omp -n '__fish_omp_no_subcommand' -l auto-approve -d 'Auto-approve all tool calls (skip approval prompts)' | ||
| 97 | +complete -c omp -n '__fish_omp_no_subcommand' -l approval-mode -d 'Override tools.approvalMode for this session (always-ask|write|yolo)' -x -a 'always-ask write yolo' | ||
| 98 | + | ||
| 99 | +complete -c omp -n '__fish_seen_subcommand_from agents' -s f -l force -d 'Overwrite existing agent files' | ||
| 100 | +complete -c omp -n '__fish_seen_subcommand_from agents' -l json -d 'Output JSON' | ||
| 101 | +complete -c omp -n '__fish_seen_subcommand_from agents' -l dir -d 'Output directory (overrides --user/--project)' -r -F | ||
| 102 | +complete -c omp -n '__fish_seen_subcommand_from agents' -l user -d 'Write to ~/.omp/agent/agents (default)' | ||
| 103 | +complete -c omp -n '__fish_seen_subcommand_from agents' -l project -d 'Write to ./.omp/agents' | ||
| 104 | +complete -c omp -f -n '__fish_seen_subcommand_from agents' -a 'unpack' -d 'Agents action' | ||
| 105 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l json -d 'Output JSON' | ||
| 106 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -s b -l bind -d 'Bind address for `serve` (host:port)' -r -F | ||
| 107 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l regenerate -d 'Regenerate the bearer token' | ||
| 108 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l via -d 'SSH user@host for remote login (login --via=user@host)' -r -F | ||
| 109 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l provider -d 'Override provider id for `import` (e.g. when JSON `type` is unrecognized)' -r -F | ||
| 110 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l include-disabled -d 'Import credentials whose JSON has `disabled: true` (import)' | ||
| 111 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l from-local -d 'migrate source: local SQLite + env vars (required for `migrate`)' | ||
| 112 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l include-env -d 'Capture env-var API keys for providers not yet on broker (migrate)' | ||
| 113 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l include-oauth -d 'Also upload OAuth from local SQLite during migrate (default skips them)' | ||
| 114 | +complete -c omp -n '__fish_seen_subcommand_from auth-broker' -l dry-run -d 'Print actions without executing (import / login --via / migrate)' | ||
| 115 | +complete -c omp -f -n '__fish_seen_subcommand_from auth-broker' -a 'serve token login logout import migrate status list' -d 'Sub-command' | ||
| 116 | +complete -c omp -n '__fish_seen_subcommand_from auth-gateway' -l json -d 'Output JSON (token/status/check)' | ||
| 117 | +complete -c omp -n '__fish_seen_subcommand_from auth-gateway' -s b -l bind -d 'Bind address for `serve` (host:port)' -r -F | ||
| 118 | +complete -c omp -n '__fish_seen_subcommand_from auth-gateway' -l regenerate -d 'Regenerate the gateway bearer token (token)' | ||
| 119 | +complete -c omp -n '__fish_seen_subcommand_from auth-gateway' -l no-auth -d 'Disable inbound bearer-token auth (serve). Useful when bound to loopback — any caller is allowed.' | ||
| 120 | +complete -c omp -n '__fish_seen_subcommand_from auth-gateway' -l strict -d 'For `check`: additionally probe each credential against its provider’s chat-completion endpoint. Slower; consumes a tiny amount of quota per credential.' | ||
| 121 | +complete -c omp -f -n '__fish_seen_subcommand_from auth-gateway' -a 'serve token status check' -d 'Sub-command' | ||
| 122 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l runs -d 'Requests per model (results are averaged; default: 10)' -x | ||
| 123 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l max-tokens -d 'Max output tokens per request (default: 512; cache mode: 64)' -x | ||
| 124 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l prompt -d 'Custom prompt text (default: bundled bench prompt)' -r -F | ||
| 125 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l service-tier -d 'Service tier applied per model family (default: configured `tier.*` settings; `none` omits it)' -x -a 'none auto default flex scale priority' | ||
| 126 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l json -d 'Output JSON' | ||
| 127 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l par -d 'Execute runs with N parallel queries/requests (default: 4)' -x | ||
| 128 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l cache -d 'Run independent cold/warm prompt-cache pairs (not supported for openai-codex-responses)' | ||
| 129 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l cache-prefix-file -d 'Stable prompt prefix file for --cache' -r -F | ||
| 130 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l cache-prefix-bytes -d 'Stable prefix byte budget for --cache (default: 8192)' -x | ||
| 131 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l cache-pairs -d 'Cold/warm pairs per model for --cache (default: 1)' -x | ||
| 132 | +complete -c omp -n '__fish_seen_subcommand_from bench' -l cache-concurrency -d 'Concurrent cache pairs for --cache; each pair remains sequential (default: 1)' -x | ||
| 133 | +complete -c omp -F -n '__fish_seen_subcommand_from bench' | ||
| 134 | +complete -c omp -n '__fish_seen_subcommand_from browser-relay' -s p -l port -d 'Port to listen on' -x | ||
| 135 | +complete -c omp -n '__fish_seen_subcommand_from browser-relay' -l token -d 'Require the extension to present this token' -r -F | ||
| 136 | +complete -c omp -n '__fish_seen_subcommand_from browser-relay' -l dir -d 'Extension install directory (install; default ~/.omp/browser-relay/extension)' -r -F | ||
| 137 | +complete -c omp -n '__fish_seen_subcommand_from browser-relay' -l no-group -d 'Don’t gather controllable tabs into an ’omp’ tab group' | ||
| 138 | +complete -c omp -n '__fish_seen_subcommand_from browser-relay' -s v -l verbose -d 'Log relay traffic summaries to stderr' | ||
| 139 | +complete -c omp -f -n '__fish_seen_subcommand_from browser-relay' -a 'serve install' -d 'Action: serve | install (default serve)' | ||
| 140 | +complete -c omp -n '__fish_seen_subcommand_from cleanse' -s n -l agents -d 'Maximum number of file-disjoint subagents' -x | ||
| 141 | +complete -c omp -n '__fish_seen_subcommand_from cleanse' -s m -l model -d 'Subagent model selector' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 142 | +complete -c omp -n '__fish_seen_subcommand_from cleanse' -s t -l tests -d 'Also run configured project test suites' | ||
| 143 | +complete -c omp -n '__fish_seen_subcommand_from cleanse' -s a -l all -d 'Run every discovered checker without the interactive picker' | ||
| 144 | +complete -c omp -F -n '__fish_seen_subcommand_from cleanse' | ||
| 145 | +complete -c omp -n '__fish_seen_subcommand_from commit' -l push -d 'Push after committing' | ||
| 146 | +complete -c omp -n '__fish_seen_subcommand_from commit' -l dry-run -d 'Preview without committing' | ||
| 147 | +complete -c omp -n '__fish_seen_subcommand_from commit' -l no-changelog -d 'Skip changelog updates' | ||
| 148 | +complete -c omp -n '__fish_seen_subcommand_from commit' -l legacy -d 'Use legacy deterministic pipeline' | ||
| 149 | +complete -c omp -n '__fish_seen_subcommand_from commit' -s c -l context -d 'Additional context for the model' -r -F | ||
| 150 | +complete -c omp -n '__fish_seen_subcommand_from commit' -s m -l model -d 'Override model selection' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 151 | +complete -c omp -f -n '__fish_seen_subcommand_from completions' -a 'bash zsh fish' -d 'Target shell' | ||
| 152 | +complete -c omp -n '__fish_seen_subcommand_from compress' -s o -l out -d 'Write the approved text here instead of stdout (single file)' -r -F | ||
| 153 | +complete -c omp -n '__fish_seen_subcommand_from compress' -s i -l inPlace -d 'Overwrite each source file with its approved text' | ||
| 154 | +complete -c omp -n '__fish_seen_subcommand_from compress' -s r -l rounds -d 'Maximum drafts per file before giving up' -x | ||
| 155 | +complete -c omp -n '__fish_seen_subcommand_from compress' -s n -l agents -d 'Files compressed concurrently' -x | ||
| 156 | +complete -c omp -n '__fish_seen_subcommand_from compress' -s m -l model -d 'Model selector' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 157 | +complete -c omp -F -n '__fish_seen_subcommand_from compress' | ||
| 158 | +complete -c omp -n '__fish_seen_subcommand_from config' -l json -d 'Output JSON' | ||
| 159 | +complete -c omp -f -n '__fish_seen_subcommand_from config' -a 'list get set reset path init-xdg' -d 'Config action' | ||
| 160 | +complete -c omp -n '__fish_seen_subcommand_from dry-balance' -l model -d 'Model selector (same syntax as --model on omp)' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 161 | +complete -c omp -n '__fish_seen_subcommand_from dry-balance' -l count -d 'Number of random session ids to try' -x | ||
| 162 | +complete -c omp -n '__fish_seen_subcommand_from dry-balance' -l concurrency -d 'Maximum concurrent credential resolutions' -x | ||
| 163 | +complete -c omp -n '__fish_seen_subcommand_from dry-balance' -l json -d 'Output JSON' | ||
| 164 | +complete -c omp -n '__fish_seen_subcommand_from dry-balance' -l bench -d 'Send one live benchmark request per OAuth account' | ||
| 165 | +complete -c omp -F -n '__fish_seen_subcommand_from dry-balance' | ||
| 166 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -s t -l tool -d 'Render a single tool by name' -r -F | ||
| 167 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -s s -l state -d 'Render only the given lifecycle state(s)' -x -a 'streaming streaming args progress in progress success done error failed' | ||
| 168 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -s w -l width -d 'Render width in columns' -x | ||
| 169 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -s e -l expanded -d 'Render the expanded variant of each renderer' | ||
| 170 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -l plain -d 'Strip ANSI styling from the output' | ||
| 171 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -l screenshot -d 'Capture the rendered output as PNG screenshot(s) via VHS instead of printing ANSI (requires vhs)' | ||
| 172 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -s o -l out -d 'Screenshot output path (with --screenshot); suffixed per image when split across multiple' -r -F | ||
| 173 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -l font -d 'Screenshot font family (default: JetBrainsMono Nerd Font)' -r -F | ||
| 174 | +complete -c omp -n '__fish_seen_subcommand_from gallery' -l font-size -d 'Screenshot font size in points (default: 18)' -x | ||
| 175 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l apply -d 'Apply changes (default is dry-run)' | ||
| 176 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l json -d 'Output JSON' | ||
| 177 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l agent-dir -d 'Agent directory to maintain' -r -F | ||
| 178 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l blobs -d 'Sweep unreferenced blobs' | ||
| 179 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l archive -d 'Archive cold sessions' | ||
| 180 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l wal -d 'Checkpoint history/model database WAL files' | ||
| 181 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l cold-archive-after-days -d 'Minimum session age before archiving' -x | ||
| 182 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l retain-newest-global -d 'Always keep this many newest sessions active' -x | ||
| 183 | +complete -c omp -n '__fish_seen_subcommand_from gc' -l retain-newest-per-cwd -d 'Always keep this many newest sessions per cwd active' -x | ||
| 184 | +complete -c omp -n '__fish_seen_subcommand_from grep' -s g -l glob -d 'Filter files by glob pattern' -r -F | ||
| 185 | +complete -c omp -n '__fish_seen_subcommand_from grep' -s l -l limit -d 'Max matches' -x | ||
| 186 | +complete -c omp -n '__fish_seen_subcommand_from grep' -s C -l context -d 'Context lines' -x | ||
| 187 | +complete -c omp -n '__fish_seen_subcommand_from grep' -s f -l files -d 'Output file names only' | ||
| 188 | +complete -c omp -n '__fish_seen_subcommand_from grep' -s c -l count -d 'Output match counts per file' | ||
| 189 | +complete -c omp -n '__fish_seen_subcommand_from grep' -l no-gitignore -d 'Include files excluded by .gitignore' | ||
| 190 | +complete -c omp -F -n '__fish_seen_subcommand_from grep' | ||
| 191 | +complete -c omp -n '__fish_seen_subcommand_from grievances' -s n -l limit -d 'Number of recent issues to show (list)' -x | ||
| 192 | +complete -c omp -n '__fish_seen_subcommand_from grievances' -s t -l tool -d 'Filter by tool name (list, clean)' -r -F | ||
| 193 | +complete -c omp -n '__fish_seen_subcommand_from grievances' -s j -l json -d 'Output as JSON' | ||
| 194 | +complete -c omp -n '__fish_seen_subcommand_from grievances' -l id -d 'Delete a single grievance by id (clean)' -x | ||
| 195 | +complete -c omp -n '__fish_seen_subcommand_from grievances' -l all -d 'Delete every grievance (clean)' | ||
| 196 | +complete -c omp -f -n '__fish_seen_subcommand_from grievances' -a 'list clean push' -d 'list (default), clean, or push' | ||
| 197 | +complete -c omp -n '__fish_seen_subcommand_from install' -l json -d 'Output JSON' | ||
| 198 | +complete -c omp -n '__fish_seen_subcommand_from install' -l force -d 'Force install' | ||
| 199 | +complete -c omp -n '__fish_seen_subcommand_from install' -l dry-run -d 'Show actions without applying changes' | ||
| 200 | +complete -c omp -n '__fish_seen_subcommand_from install' -l scope -d 'Install scope: "user" (default) or "project" (marketplace installs only)' -x -a 'user project' | ||
| 201 | +complete -c omp -F -n '__fish_seen_subcommand_from install' | ||
| 202 | +complete -c omp -F -n '__fish_seen_subcommand_from join' | ||
| 203 | +complete -c omp -n '__fish_seen_subcommand_from models' -l json -d 'Output JSON' | ||
| 204 | +complete -c omp -n '__fish_seen_subcommand_from models' -s e -l extension -d 'Load an extension file before listing (repeatable)' -r -F | ||
| 205 | +complete -c omp -n '__fish_seen_subcommand_from models' -l no-extensions -d 'Disable extension discovery (explicit -e paths still work)' | ||
| 206 | +complete -c omp -n '__fish_seen_subcommand_from models' -l config -d 'Load an extra config.yml-style overlay for this run (repeatable)' -r -F | ||
| 207 | +complete -c omp -F -n '__fish_seen_subcommand_from models' | ||
| 208 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l json -d 'Output JSON' | ||
| 209 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l fix -d 'Attempt to fix issues (doctor)' | ||
| 210 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l force -d 'Force install' | ||
| 211 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l dry-run -d 'Show actions without applying changes' | ||
| 212 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -s l -l local -d 'Operate on local plugin directory' | ||
| 213 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l enable -d 'Enable a feature' -r -F | ||
| 214 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l disable -d 'Disable a feature' -r -F | ||
| 215 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l set -d 'Set plugin config (key=value)' -r -F | ||
| 216 | +complete -c omp -n '__fish_seen_subcommand_from plugin' -l scope -d 'Install scope: "user" (default) or "project"' -x -a 'user project' | ||
| 217 | +complete -c omp -f -n '__fish_seen_subcommand_from plugin' -a 'install uninstall list link doctor features config enable disable marketplace discover upgrade' -d 'Plugin action' | ||
| 218 | +complete -c omp -F -n '__fish_seen_subcommand_from read' | ||
| 219 | +complete -c omp -n '__fish_seen_subcommand_from say' -l voice -d 'Voice id' -x -a 'af_heart af_bella af_nicole af_aoede af_kore af_sarah am_michael am_fenrir am_puck bf_emma bm_george bm_fable' | ||
| 220 | +complete -c omp -n '__fish_seen_subcommand_from say' -l model -d 'Local TTS model key' -x -a '(command omp __complete models -- (commandline -ct))' | ||
| 221 | +complete -c omp -n '__fish_seen_subcommand_from say' -s f -l file -d 'Read the text to speak from this file' -r -F | ||
| 222 | +complete -c omp -n '__fish_seen_subcommand_from say' -s o -l out -d 'Write WAV to this path instead of playing' -r -F | ||
| 223 | +complete -c omp -F -n '__fish_seen_subcommand_from say' | ||
| 224 | +complete -c omp -n '__fish_seen_subcommand_from search q' -l provider -d 'Search provider' -x -a 'auto perplexity gemini anthropic codex xai zai exa tinyfish jina kagi tavily firecrawl brave kimi parallel synthetic searxng startpage duckduckgo ecosia google mojeek public' | ||
| 225 | +complete -c omp -n '__fish_seen_subcommand_from search q' -l recency -d 'Recency filter' -x -a 'day week month year' | ||
| 226 | +complete -c omp -n '__fish_seen_subcommand_from search q' -s l -l limit -d 'Max results to return' -x | ||
| 227 | +complete -c omp -n '__fish_seen_subcommand_from search q' -l compact -d 'Render condensed output' | ||
| 228 | +complete -c omp -F -n '__fish_seen_subcommand_from search q' | ||
| 229 | +complete -c omp -n '__fish_seen_subcommand_from setup' -s c -l check -d 'Check if dependencies are installed' | ||
| 230 | +complete -c omp -n '__fish_seen_subcommand_from setup' -l json -d 'Output status as JSON' | ||
| 231 | +complete -c omp -f -n '__fish_seen_subcommand_from setup' -a 'python speech' -d 'Optional component to install' | ||
| 232 | +complete -c omp -n '__fish_seen_subcommand_from share' -l gist -d 'Upload to a secret GitHub gist instead of the share server' | ||
| 233 | +complete -c omp -F -n '__fish_seen_subcommand_from share' | ||
| 234 | +complete -c omp -n '__fish_seen_subcommand_from shell' -s C -l cwd -d 'Set working directory for commands' -r -F | ||
| 235 | +complete -c omp -n '__fish_seen_subcommand_from shell' -s t -l timeout -d 'Timeout per command in milliseconds' -x | ||
| 236 | +complete -c omp -n '__fish_seen_subcommand_from shell' -l no-snapshot -d 'Skip sourcing snapshot from user shell' | ||
| 237 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l json -d 'Output JSON' | ||
| 238 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l host -d 'Host address' -r -F | ||
| 239 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l user -d 'Username' -r -F | ||
| 240 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l port -d 'Port number' -r -F | ||
| 241 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l key -d 'Identity key path' -r -F | ||
| 242 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l desc -d 'Host description' -r -F | ||
| 243 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l compat -d 'Enable compatibility mode' | ||
| 244 | +complete -c omp -n '__fish_seen_subcommand_from ssh' -l scope -d 'Config scope (project|user)' -x -a 'project user' | ||
| 245 | +complete -c omp -f -n '__fish_seen_subcommand_from ssh' -a 'add remove list' -d 'SSH action' | ||
| 246 | +complete -c omp -n '__fish_seen_subcommand_from stats' -s p -l port -d 'Port for the dashboard server' -x | ||
| 247 | +complete -c omp -n '__fish_seen_subcommand_from stats' -s j -l json -d 'Output stats as JSON' | ||
| 248 | +complete -c omp -n '__fish_seen_subcommand_from stats' -s s -l summary -d 'Print summary to console' | ||
| 249 | +complete -c omp -n '__fish_seen_subcommand_from tiny-models' -l json -d 'Output JSON' | ||
| 250 | +complete -c omp -f -n '__fish_seen_subcommand_from tiny-models' -a 'download list' -d 'Action to perform' | ||
| 251 | +complete -c omp -n '__fish_seen_subcommand_from token' -l raw -d 'Output the raw credential value without parsing nested JSON structures' | ||
| 252 | +complete -c omp -n '__fish_seen_subcommand_from token' -l force-refresh -d 'Force refresh the OAuth token even if it has not expired' | ||
| 253 | +complete -c omp -n '__fish_seen_subcommand_from token' -s a -l account -d 'Select the Nth OAuth account (1-based) in stored order instead of the round-robin default' -x | ||
| 254 | +complete -c omp -n '__fish_seen_subcommand_from token' -s l -l list -d 'List the provider’s OAuth accounts (index + identity) and exit' | ||
| 255 | +complete -c omp -F -n '__fish_seen_subcommand_from token' | ||
| 256 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -l file -d 'Snippet file path, or - for stdin (ttsr test)' -r -F | ||
| 257 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -s r -l rule -d 'Rule markdown file to test in isolation (skips project rule loading)' -r -F | ||
| 258 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -l source -d 'Match source: text, thinking, or tool (inferred from --file when omitted)' -x -a 'text thinking tool' | ||
| 259 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -l tool -d 'Tool name when source is tool (e.g. edit, write); defaults to edit' -r -F | ||
| 260 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -s p -l path -d 'Candidate file path for scope/glob matching and AST language inference' -r -F | ||
| 261 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -s v -l verbose -d 'Show every evaluated rule, not just triggered ones' | ||
| 262 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -l json -d 'Output JSON' | ||
| 263 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -l no-gitignore -d 'Include files excluded by .gitignore (ttsr scan)' | ||
| 264 | +complete -c omp -n '__fish_seen_subcommand_from ttsr' -l max-bytes -d 'Maximum file size to scan in bytes; 0 disables the limit (ttsr scan)' -x | ||
| 265 | +complete -c omp -f -n '__fish_seen_subcommand_from ttsr' -a 'test list scan' -d 'TTSR action' | ||
| 266 | +complete -c omp -n '__fish_seen_subcommand_from update' -s f -l force -d 'Force update' | ||
| 267 | +complete -c omp -n '__fish_seen_subcommand_from update' -s c -l check -d 'Check for updates without installing' | ||
| 268 | +complete -c omp -n '__fish_seen_subcommand_from update' -s l -l plugins -d 'Update installed plugins' | ||
| 269 | +complete -c omp -n '__fish_seen_subcommand_from usage' -s j -l json -d 'Output usage reports as JSON' | ||
| 270 | +complete -c omp -n '__fish_seen_subcommand_from usage' -s p -l provider -d 'Only show usage for this provider id (e.g. anthropic)' -r -F | ||
| 271 | +complete -c omp -n '__fish_seen_subcommand_from usage' -s r -l redact -d 'Redact account emails/ids (shortest unique prefix) for sharing screenshots' | ||
| 272 | +complete -c omp -n '__fish_seen_subcommand_from usage' -l history -d 'Show recorded usage-limit history (hourly snapshots) instead of a live snapshot' | ||
| 273 | +complete -c omp -n '__fish_seen_subcommand_from usage' -s d -l days -d 'History window in days (with --history)' -x | ||
| 274 | +complete -c omp -f -n '__fish_seen_subcommand_from usage' -a 'invalidate' -d 'Optional subcommand to execute' | ||
| 275 | +complete -c omp -n '__fish_seen_subcommand_from worktree wt' -l all -d 'Clear every entry, including live PR-checkout worktrees (clear)' | ||
| 276 | +complete -c omp -n '__fish_seen_subcommand_from worktree wt' -s n -l dry-run -d 'Print what would be removed without touching the filesystem (clear)' | ||
| 277 | +complete -c omp -n '__fish_seen_subcommand_from worktree wt' -s j -l json -d 'Emit machine-readable JSON' | ||
| 278 | +complete -c omp -f -n '__fish_seen_subcommand_from worktree wt' -a 'list clear' -d 'list (default) or clear' | ||
| 279 | + | ||
.config/fish/config.fishmodified+8 -0
| @@ -24,3 +24,11 @@ set --export PATH $BUN_INSTALL/bin $PATH | |||
| 24 | 24 | ||
| 25 | # Hermes Agent — ensure ~/.local/bin is on PATH | 25 | # Hermes Agent — ensure ~/.local/bin is on PATH |
| 26 | fish_add_path "$HOME/.local/bin" | 26 | fish_add_path "$HOME/.local/bin" |
| 27 | + | ||
| 28 | +# kimi-code | ||
| 29 | +fish_add_path -g "/home/tahinli/.kimi-code/bin" | ||
| 30 | + | ||
| 31 | +# Added by jcode installer | ||
| 32 | +if not contains "/home/tahinli/.local/bin" $PATH | ||
| 33 | + set -gx PATH "/home/tahinli/.local/bin" $PATH | ||
| 34 | +end | ||
.config/mimeapps.listmodified+1 -0
| @@ -59,6 +59,7 @@ application/x-python=com.system76.CosmicEdit.desktop | |||
| 59 | x-scheme-handler/claude-cli=claude-code-url-handler.desktop | 59 | x-scheme-handler/claude-cli=claude-code-url-handler.desktop |
| 60 | x-scheme-handler/surrealist=surrealist.desktop | 60 | x-scheme-handler/surrealist=surrealist.desktop |
| 61 | x-scheme-handler/openhuman=OpenHuman-handler.desktop | 61 | x-scheme-handler/openhuman=OpenHuman-handler.desktop |
| 62 | +x-scheme-handler/zcode=zcode.desktop | ||
| 62 | 63 | ||
| 63 | [Added Associations] | 64 | [Added Associations] |
| 64 | video/mp4=mpv.desktop; | 65 | video/mp4=mpv.desktop; |
.config/niri/config.bakadded+349 -0
| @@ -0,0 +1,349 @@ | |||
| 1 | + | ||
| 2 | +hotkey-overlay { | ||
| 3 | + skip-at-startup | ||
| 4 | +} | ||
| 5 | + | ||
| 6 | +input { | ||
| 7 | + keyboard { | ||
| 8 | + xkb { | ||
| 9 | + layout "tr"; | ||
| 10 | + } | ||
| 11 | + numlock | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + touchpad { | ||
| 15 | + tap | ||
| 16 | + natural-scroll | ||
| 17 | + } | ||
| 18 | + | ||
| 19 | + mouse { | ||
| 20 | + accel-profile "flat" | ||
| 21 | + } | ||
| 22 | + | ||
| 23 | + trackpoint { | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + wake-monitors-on-input false | ||
| 27 | +} | ||
| 28 | + | ||
| 29 | +prefer-no-csd | ||
| 30 | + | ||
| 31 | +gestures { | ||
| 32 | + hot-corners { | ||
| 33 | + off | ||
| 34 | + } | ||
| 35 | +} | ||
| 36 | + | ||
| 37 | +output "DP-1" { | ||
| 38 | + mode "2560x1440@180" | ||
| 39 | + scale 1 | ||
| 40 | + transform "normal" | ||
| 41 | + position x=0 y=0 | ||
| 42 | + focus-at-startup | ||
| 43 | +} | ||
| 44 | + | ||
| 45 | +output "HDMI-A-1" { | ||
| 46 | + mode "1920x1080@75.003" | ||
| 47 | + scale 1 | ||
| 48 | + transform "normal" | ||
| 49 | + position x=2560 y=0 | ||
| 50 | +} | ||
| 51 | + | ||
| 52 | +layout { | ||
| 53 | + gaps 3 | ||
| 54 | + struts { | ||
| 55 | + left 7 | ||
| 56 | + right 7 | ||
| 57 | + top 7 | ||
| 58 | + bottom 7 | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + center-focused-column "never" | ||
| 62 | + | ||
| 63 | + empty-workspace-above-first | ||
| 64 | + | ||
| 65 | + default-column-width { proportion 0.5; } | ||
| 66 | + preset-column-widths { | ||
| 67 | + proportion 0.33333 | ||
| 68 | + proportion 0.5 | ||
| 69 | + proportion 0.66667 | ||
| 70 | + proportion 1.0 | ||
| 71 | + } | ||
| 72 | + | ||
| 73 | + focus-ring { | ||
| 74 | + off | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + border { | ||
| 78 | + width 3 | ||
| 79 | + | ||
| 80 | + // WALLUST-GRADIENT | ||
| 81 | + active-gradient from="#4D0830" to="#7E420A" angle=90 in="oklch" | ||
| 82 | + | ||
| 83 | + inactive-color "#595959aa" | ||
| 84 | + urgent-color "#9b0000" | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | +} | ||
| 88 | + | ||
| 89 | +environment { | ||
| 90 | + QT_QPA_PLATFORMTHEME "gtk3" | ||
| 91 | + XCURSOR_SIZE "24" | ||
| 92 | +} | ||
| 93 | + | ||
| 94 | +spawn-at-startup "sh" "-c" "sleep 1 && /usr/libexec/polkit-mate-authentication-agent-1" | ||
| 95 | +spawn-at-startup "sh" "-c" "bash ~/.config/scripts/niri/wallpaper_restore.sh" | ||
| 96 | +spawn-at-startup "sh" "-c" "bash ~/.config/scripts/shared/song_detail_writer.sh" | ||
| 97 | +spawn-at-startup "sh" "-c" "sleep 1 && waybar -c ~/.config/waybar/config-niri" | ||
| 98 | +spawn-at-startup "sh" "-c" "sleep 2 && kdeconnect-indicator" | ||
| 99 | +spawn-at-startup "sh" "-c" "sleep 3 && /opt/Mullvad\\ VPN/mullvad-vpn" | ||
| 100 | +spawn-at-startup "sh" "-c" "sleep 3 && swaync-client -dn" | ||
| 101 | +spawn-at-startup "sh" "-c" "sleep 3 && wl-paste --type text --watch cliphist store" | ||
| 102 | +spawn-at-startup "sh" "-c" "sleep 3 && wl-paste --type image --watch cliphist store" | ||
| 103 | +spawn-at-startup "sh" "-c" "sleep 4 && rfkill unblock bluetooth && bluetoothctl power on" | ||
| 104 | + | ||
| 105 | +spawn-at-startup "sh" "-c" "sleep 1 && bash ~/.config/scripts/niri/workspace_startup.sh" | ||
| 106 | + | ||
| 107 | +screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" | ||
| 108 | + | ||
| 109 | +animations { | ||
| 110 | +} | ||
| 111 | + | ||
| 112 | +window-rule { | ||
| 113 | + // background fill in border color: the border's inner AA edge and the app's | ||
| 114 | + // corner AA edge share a line; without the fill the backdrop bleeds through | ||
| 115 | + // that seam. Transparent apps opt back out per-rule (wezterm below). | ||
| 116 | + draw-border-with-background true | ||
| 117 | + // libadwaita 1.6+ draws 15; must stay >= the largest toolkit radius so | ||
| 118 | + // clip-to-geometry dominates and the border hugs every corner. 16 = 1px margin. | ||
| 119 | + geometry-corner-radius 16 | ||
| 120 | + clip-to-geometry true | ||
| 121 | +} | ||
| 122 | + | ||
| 123 | +window-rule { | ||
| 124 | + match app-id=r#"^org\.wezfurlong\.wezterm$"# | ||
| 125 | + opacity 0.8 | ||
| 126 | + draw-border-with-background false | ||
| 127 | +} | ||
| 128 | + | ||
| 129 | +window-rule { | ||
| 130 | + match app-id=r#"firefox$"# title="^Picture-in-Picture$" | ||
| 131 | + open-floating true | ||
| 132 | +} | ||
| 133 | + | ||
| 134 | +// Hunt: Showdown — fullscreen so the surface matches the 2560x1440 X screen the | ||
| 135 | +// game maps input to; floating clamps to the working area (-20px) and offsets clicks | ||
| 136 | +window-rule { | ||
| 137 | + match app-id=r#"^steam_app_594650$"# | ||
| 138 | + open-fullscreen true | ||
| 139 | + border { off; } | ||
| 140 | + focus-ring { off; } | ||
| 141 | + shadow { off; } | ||
| 142 | + geometry-corner-radius 0 | ||
| 143 | + clip-to-geometry false | ||
| 144 | + draw-border-with-background false | ||
| 145 | +} | ||
| 146 | + | ||
| 147 | +workspace "code" | ||
| 148 | +workspace "github" | ||
| 149 | +workspace "whatsapp" | ||
| 150 | +workspace "discord" | ||
| 151 | +workspace "deezer" | ||
| 152 | +workspace "youtube" | ||
| 153 | +workspace "mail" | ||
| 154 | +workspace "signal" | ||
| 155 | + | ||
| 156 | +binds { | ||
| 157 | + Alt+T hotkey-overlay-title="Terminal: wezterm" { spawn-sh "wezterm start --always-new-process"; } | ||
| 158 | + Alt+Q hotkey-overlay-title="Files: nautilus" { spawn-sh "nautilus --new-window"; } | ||
| 159 | + | ||
| 160 | + Alt+F1 hotkey-overlay-title="rofi: window switcher" { spawn-sh "rofi -show"; } | ||
| 161 | + Alt+1 hotkey-overlay-title="rofi: window switcher" { spawn-sh "rofi -show"; } | ||
| 162 | + Alt+F2 hotkey-overlay-title="rofi: run" { spawn-sh "rofi -show drun -show-icons"; } | ||
| 163 | + Alt+2 hotkey-overlay-title="rofi: run" { spawn-sh "rofi -show drun -show-icons"; } | ||
| 164 | + Shift+Alt+F2 hotkey-overlay-title="rofi: run (outside VPN)" { spawn-sh "mullvad-exclude rofi -show drun -show-icons"; } | ||
| 165 | + Shift+Alt+2 hotkey-overlay-title="rofi: run (outside VPN)" { spawn-sh "mullvad-exclude rofi -show drun -show-icons"; } | ||
| 166 | + Alt+F3 hotkey-overlay-title="Clipboard history" { spawn-sh "cliphist list | rofi -dmenu -show-icons -i | cliphist decode | wl-copy"; } | ||
| 167 | + Alt+3 hotkey-overlay-title="Clipboard history" { spawn-sh "cliphist list | rofi -dmenu -show-icons -i | cliphist decode | wl-copy"; } | ||
| 168 | + | ||
| 169 | + Alt+F hotkey-overlay-title="Browser" { spawn-sh "flatpak run io.github.ungoogled_software.ungoogled_chromium --enable-features=MiddleClickAutoscroll"; } | ||
| 170 | + Shift+Alt+F hotkey-overlay-title="Browser (incognito, outside VPN)" { spawn-sh "mullvad-exclude flatpak run org.chromium.Chromium --incognito --enable-features=MiddleClickAutoscroll,AllowLegacyMV2Extensions --disable-features=ExtensionManifestV2Unsupported,ExtensionManifestV2Disabled,ExtensionsManifestV3Only"; } | ||
| 171 | + | ||
| 172 | + Alt+C hotkey-overlay-title="Workspace: code" { spawn-sh "~/.config/scripts/niri/workspace_app.sh code zed"; } | ||
| 173 | + Alt+G hotkey-overlay-title="Workspace: github" { spawn-sh "~/.config/scripts/niri/workspace_app.sh github ~/.config/scripts/shared/webapp.sh https://github.com/ FCF18Wmt"; } | ||
| 174 | + Alt+W hotkey-overlay-title="Workspace: whatsapp" { spawn-sh "~/.config/scripts/niri/workspace_app.sh whatsapp ~/.config/scripts/shared/webapp.sh --mullvad https://web.whatsapp.com/ aW2IMaZ8"; } | ||
| 175 | + Alt+D hotkey-overlay-title="Workspace: discord" { spawn-sh "~/.config/scripts/niri/workspace_app.sh discord flatpak run org.equicord.equibop"; } | ||
| 176 | + Alt+S hotkey-overlay-title="Workspace: deezer" { spawn-sh "~/.config/scripts/niri/workspace_app.sh deezer ~/.config/scripts/shared/webapp.sh --mullvad https://deezer.com/ VjW8vTQ3"; } | ||
| 177 | + Alt+Y hotkey-overlay-title="Workspace: youtube" { spawn-sh "~/.config/scripts/niri/workspace_app.sh youtube mullvad-exclude flatpak run io.freetubeapp.FreeTube"; } | ||
| 178 | + Alt+P hotkey-overlay-title="Workspace: mail" { spawn-sh "~/.config/scripts/niri/workspace_app.sh mail ~/.config/scripts/shared/webapp.sh https://mail.proton.me/ eIpzVtL8"; } | ||
| 179 | + Alt+N hotkey-overlay-title="Workspace: signal" { spawn-sh "~/.config/scripts/niri/workspace_app.sh signal flatpak run org.signal.Signal"; } | ||
| 180 | + | ||
| 181 | + Mod+Shift+C { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move code"; } | ||
| 182 | + Mod+Shift+G { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move github"; } | ||
| 183 | + Mod+Shift+W { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move whatsapp"; } | ||
| 184 | + Mod+Shift+D { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move discord"; } | ||
| 185 | + Mod+Shift+S { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move deezer"; } | ||
| 186 | + Mod+Shift+Y { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move youtube"; } | ||
| 187 | + Mod+Shift+P { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move mail"; } | ||
| 188 | + Mod+Shift+N { spawn-sh "~/.config/scripts/niri/workspace_app.sh --move signal"; } | ||
| 189 | + | ||
| 190 | + Super+L hotkey-overlay-title="Lock: hyprlock" { spawn "hyprlock"; } | ||
| 191 | + Mod+Escape hotkey-overlay-title="Power menu" { spawn-sh "bash ~/.config/scripts/system/power_menu.sh"; } | ||
| 192 | + Mod+X hotkey-overlay-title="Show desktop" { spawn-sh "~/.config/scripts/niri/show_desktop.sh"; } | ||
| 193 | + Mod+H hotkey-overlay-title="Toggle waybar" { spawn-sh "pkill -SIGUSR1 waybar"; } | ||
| 194 | + Mod+B hotkey-overlay-title="Wallpaper picker" { spawn-sh "~/.config/scripts/niri/wallpaper_picker.sh"; } | ||
| 195 | + Mod+Shift+M hotkey-overlay-title="Monitors menu" { spawn-sh "~/.config/scripts/niri/toggle_monitors.sh"; } | ||
| 196 | + Mod+Shift+K hotkey-overlay-title="USB plug/unplug menu" { spawn-sh "bash ~/.config/scripts/system/usb_menu.sh"; } | ||
| 197 | + Mod+Ctrl+M hotkey-overlay-title="Wake monitors" { power-on-monitors; } | ||
| 198 | + | ||
| 199 | + Alt+4 repeat=false { close-window; } | ||
| 200 | + Alt+F4 repeat=false { close-window; } | ||
| 201 | + Mod+Alt+F4 { quit; } | ||
| 202 | + | ||
| 203 | + Mod+Shift+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } | ||
| 204 | + Mod+Shift+Slash { show-hotkey-overlay; } | ||
| 205 | + Mod+O repeat=false { toggle-overview; } | ||
| 206 | + Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; } | ||
| 207 | + | ||
| 208 | + XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; } | ||
| 209 | + XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; } | ||
| 210 | + XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; } | ||
| 211 | + XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; } | ||
| 212 | + XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; } | ||
| 213 | + XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; } | ||
| 214 | + XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; } | ||
| 215 | + XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; } | ||
| 216 | + XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; } | ||
| 217 | + XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; } | ||
| 218 | + | ||
| 219 | + Print { spawn-sh "grim -t png - | tee \"$HOME/Pictures/Screenshots/$(date '+%y%m%d_%H-%M-%S').png\" | wl-copy -t image/png"; } | ||
| 220 | + Shift+Print { spawn-sh "grim -t png -g \"$(slurp)\" - | wl-copy -t image/png"; } | ||
| 221 | + Ctrl+Print { screenshot-screen; } | ||
| 222 | + Alt+Print { screenshot-window; } | ||
| 223 | + | ||
| 224 | + Mod+Q { focus-monitor "DP-1"; } | ||
| 225 | + Mod+E { focus-monitor "HDMI-A-1"; } | ||
| 226 | + Mod+Shift+Q { move-column-to-monitor "DP-1"; } | ||
| 227 | + Mod+Shift+E { move-column-to-monitor "HDMI-A-1"; } | ||
| 228 | + | ||
| 229 | + | ||
| 230 | + // Left-hand WASD navigation (right hand stays on mouse) | ||
| 231 | + Mod+A { focus-column-or-monitor-left; } | ||
| 232 | + Mod+D { focus-column-or-monitor-right; } | ||
| 233 | + Mod+W { spawn-sh "~/.config/scripts/niri/workspace_nav.sh up"; } | ||
| 234 | + Mod+S { spawn-sh "~/.config/scripts/niri/workspace_nav.sh down"; } | ||
| 235 | + | ||
| 236 | + Mod+Left { focus-column-left; } | ||
| 237 | + Mod+Right { focus-column-right; } | ||
| 238 | + Mod+Up { spawn-sh "~/.config/scripts/niri/workspace_nav.sh up"; } | ||
| 239 | + Mod+Down { spawn-sh "~/.config/scripts/niri/workspace_nav.sh down"; } | ||
| 240 | + Mod+J { focus-window-down; } | ||
| 241 | + Mod+K { focus-window-up; } | ||
| 242 | + Mod+Home { focus-column-first; } | ||
| 243 | + Mod+End { focus-column-last; } | ||
| 244 | + Mod+Tab { focus-window-previous; } | ||
| 245 | + Alt+Tab { focus-workspace-previous; } | ||
| 246 | + | ||
| 247 | + // Left-hand WASD moving | ||
| 248 | + Mod+Ctrl+A { move-column-left-or-to-monitor-left; } | ||
| 249 | + Mod+Ctrl+D { move-column-right-or-to-monitor-right; } | ||
| 250 | + Mod+Ctrl+W { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-up"; } | ||
| 251 | + Mod+Ctrl+S { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-down"; } | ||
| 252 | + | ||
| 253 | + Mod+Ctrl+Left { move-column-left; } | ||
| 254 | + Mod+Ctrl+Right { move-column-right; } | ||
| 255 | + Mod+Ctrl+Up { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-up"; } | ||
| 256 | + Mod+Ctrl+Down { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-down"; } | ||
| 257 | + Mod+Ctrl+H { move-column-left; } | ||
| 258 | + Mod+Ctrl+L { move-column-right; } | ||
| 259 | + Mod+Ctrl+J { move-window-down; } | ||
| 260 | + Mod+Ctrl+K { move-window-up; } | ||
| 261 | + Mod+Ctrl+Home { move-column-to-first; } | ||
| 262 | + Mod+Ctrl+End { move-column-to-last; } | ||
| 263 | + | ||
| 264 | + Mod+1 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 1"; } | ||
| 265 | + Mod+2 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 2"; } | ||
| 266 | + Mod+3 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 3"; } | ||
| 267 | + Mod+4 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 4"; } | ||
| 268 | + Mod+5 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 5"; } | ||
| 269 | + Mod+6 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 6"; } | ||
| 270 | + Mod+7 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 7"; } | ||
| 271 | + Mod+8 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 8"; } | ||
| 272 | + Mod+9 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 9"; } | ||
| 273 | + Mod+0 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh focus 10"; } | ||
| 274 | + | ||
| 275 | + Mod+Shift+1 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 1"; } | ||
| 276 | + Mod+Shift+2 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 2"; } | ||
| 277 | + Mod+Shift+3 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 3"; } | ||
| 278 | + Mod+Shift+4 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 4"; } | ||
| 279 | + Mod+Shift+5 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 5"; } | ||
| 280 | + Mod+Shift+6 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 6"; } | ||
| 281 | + Mod+Shift+7 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 7"; } | ||
| 282 | + Mod+Shift+8 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 8"; } | ||
| 283 | + Mod+Shift+9 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 9"; } | ||
| 284 | + Mod+Shift+0 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 10"; } | ||
| 285 | + | ||
| 286 | + Mod+Ctrl+1 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 1"; } | ||
| 287 | + Mod+Ctrl+2 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 2"; } | ||
| 288 | + Mod+Ctrl+3 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 3"; } | ||
| 289 | + Mod+Ctrl+4 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 4"; } | ||
| 290 | + Mod+Ctrl+5 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 5"; } | ||
| 291 | + Mod+Ctrl+6 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 6"; } | ||
| 292 | + Mod+Ctrl+7 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 7"; } | ||
| 293 | + Mod+Ctrl+8 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 8"; } | ||
| 294 | + Mod+Ctrl+9 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move 9"; } | ||
| 295 | + | ||
| 296 | + Mod+Page_Down { spawn-sh "~/.config/scripts/niri/workspace_nav.sh next"; } | ||
| 297 | + Mod+Page_Up { spawn-sh "~/.config/scripts/niri/workspace_nav.sh prev"; } | ||
| 298 | + Mod+U { spawn-sh "~/.config/scripts/niri/workspace_nav.sh next"; } | ||
| 299 | + Mod+I { spawn-sh "~/.config/scripts/niri/workspace_nav.sh prev"; } | ||
| 300 | + Mod+Ctrl+Page_Down { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-next"; } | ||
| 301 | + Mod+Ctrl+Page_Up { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-prev"; } | ||
| 302 | + Mod+Ctrl+U { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-next"; } | ||
| 303 | + Mod+Ctrl+I { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-prev"; } | ||
| 304 | + Mod+Shift+Page_Down { move-workspace-down; } | ||
| 305 | + Mod+Shift+Page_Up { move-workspace-up; } | ||
| 306 | + Mod+Shift+U { move-workspace-down; } | ||
| 307 | + Mod+Shift+I { move-workspace-up; } | ||
| 308 | + | ||
| 309 | + Mod+WheelScrollDown cooldown-ms=150 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh next"; } | ||
| 310 | + Mod+WheelScrollUp cooldown-ms=150 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh prev"; } | ||
| 311 | + Mod+Ctrl+WheelScrollDown cooldown-ms=150 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-next"; } | ||
| 312 | + Mod+Ctrl+WheelScrollUp cooldown-ms=150 { spawn-sh "~/.config/scripts/niri/workspace_nav.sh move-prev"; } | ||
| 313 | + Mod+WheelScrollRight { focus-column-right; } | ||
| 314 | + Mod+WheelScrollLeft { focus-column-left; } | ||
| 315 | + Mod+Ctrl+WheelScrollRight { move-column-right; } | ||
| 316 | + Mod+Ctrl+WheelScrollLeft { move-column-left; } | ||
| 317 | + Mod+Shift+WheelScrollDown { focus-column-right; } | ||
| 318 | + Mod+Shift+WheelScrollUp { focus-column-left; } | ||
| 319 | + Mod+Ctrl+Shift+WheelScrollDown { move-column-right; } | ||
| 320 | + Mod+Ctrl+Shift+WheelScrollUp { move-column-left; } | ||
| 321 | + | ||
| 322 | + Mod+F { toggle-window-floating; } | ||
| 323 | + Mod+Shift+F { fullscreen-window; } | ||
| 324 | + Mod+M { maximize-column; } | ||
| 325 | + Mod+Ctrl+F { expand-column-to-available-width; } | ||
| 326 | + Mod+Shift+V { switch-focus-between-floating-and-tiling; } | ||
| 327 | + | ||
| 328 | + Mod+Shift+Right { set-column-width "+30"; } | ||
| 329 | + Mod+Shift+Left { set-column-width "-30"; } | ||
| 330 | + Mod+Shift+Up { set-window-height "-30"; } | ||
| 331 | + Mod+Shift+Down { set-window-height "+30"; } | ||
| 332 | + Mod+Minus { set-column-width "-10%"; } | ||
| 333 | + Mod+Equal { set-column-width "+10%"; } | ||
| 334 | + Mod+Shift+Minus { set-window-height "-10%"; } | ||
| 335 | + Mod+Shift+Equal { set-window-height "+10%"; } | ||
| 336 | + | ||
| 337 | + Mod+R { switch-preset-column-width; } | ||
| 338 | + Mod+Shift+R { switch-preset-column-width-back; } | ||
| 339 | + Mod+Ctrl+R { reset-window-height; } | ||
| 340 | + Mod+Ctrl+Shift+R { switch-preset-window-height; } | ||
| 341 | + | ||
| 342 | + Mod+C { center-column; } | ||
| 343 | + Mod+Ctrl+C { center-visible-columns; } | ||
| 344 | + Mod+BracketLeft { consume-or-expel-window-left; } | ||
| 345 | + Mod+BracketRight { consume-or-expel-window-right; } | ||
| 346 | + Mod+Comma { consume-window-into-column; } | ||
| 347 | + Mod+Period { expel-window-from-column; } | ||
| 348 | + Mod+Ctrl+T { toggle-column-tabbed-display; } | ||
| 349 | +} | ||
.config/niri/config.kdlmodified+6 -6
| @@ -62,7 +62,7 @@ layout { | |||
| 62 | 62 | ||
| 63 | empty-workspace-above-first | 63 | empty-workspace-above-first |
| 64 | 64 | ||
| 65 | - default-column-width { proportion 1.0; } | 65 | + default-column-width { proportion 0.5; } |
| 66 | preset-column-widths { | 66 | preset-column-widths { |
| 67 | proportion 0.33333 | 67 | proportion 0.33333 |
| 68 | proportion 0.5 | 68 | proportion 0.5 |
| @@ -126,11 +126,6 @@ window-rule { | |||
| 126 | draw-border-with-background false | 126 | draw-border-with-background false |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | -window-rule { | ||
| 130 | - match app-id=r#"firefox$"# title="^Picture-in-Picture$" | ||
| 131 | - open-floating true | ||
| 132 | -} | ||
| 133 | - | ||
| 134 | // Hunt: Showdown — fullscreen so the surface matches the 2560x1440 X screen the | 129 | // Hunt: Showdown — fullscreen so the surface matches the 2560x1440 X screen the |
| 135 | // game maps input to; floating clamps to the working area (-20px) and offsets clicks | 130 | // game maps input to; floating clamps to the working area (-20px) and offsets clicks |
| 136 | window-rule { | 131 | window-rule { |
| @@ -154,6 +149,11 @@ workspace "mail" | |||
| 154 | workspace "signal" | 149 | workspace "signal" |
| 155 | 150 | ||
| 156 | binds { | 151 | binds { |
| 152 | + // >>> jcode launch hotkeys (managed) >>> | ||
| 153 | + Super+Semicolon hotkey-overlay-title="jcode: home" { spawn "sh" "-c" "if [ -d '/home/tahinli' ]; then cd '/home/tahinli'; else cd \"$HOME\"; fi; exec 'kitty' '/home/tahinli/.jcode/builds/versions/0.80.0/jcode-linux-x86_64.bin' --spawn-hotkey 'cmd+;'"; } | ||
| 154 | + Super+Apostrophe hotkey-overlay-title="jcode: last project" { spawn "sh" "-c" "if [ -d '/home/tahinli' ]; then cd '/home/tahinli'; else cd \"$HOME\"; fi; exec 'kitty' '/home/tahinli/.jcode/builds/versions/0.80.0/jcode-linux-x86_64.bin' --spawn-hotkey 'cmd+'\\'''"; } | ||
| 155 | + Super+Shift+Apostrophe hotkey-overlay-title="jcode: self-dev (self-dev)" { spawn "sh" "-c" "if [ -d '/home/tahinli' ]; then cd '/home/tahinli'; else cd \"$HOME\"; fi; exec 'kitty' '/home/tahinli/.jcode/builds/versions/0.80.0/jcode-linux-x86_64.bin' --spawn-hotkey 'cmd+shift+'\\''' self-dev"; } | ||
| 156 | + // <<< jcode launch hotkeys (managed) <<< | ||
| 157 | Alt+T hotkey-overlay-title="Terminal: wezterm" { spawn-sh "wezterm start --always-new-process"; } | 157 | Alt+T hotkey-overlay-title="Terminal: wezterm" { spawn-sh "wezterm start --always-new-process"; } |
| 158 | Alt+Q hotkey-overlay-title="Files: nautilus" { spawn-sh "nautilus --new-window"; } | 158 | Alt+Q hotkey-overlay-title="Files: nautilus" { spawn-sh "nautilus --new-window"; } |
| 159 | 159 | ||