Compare commits

..
5 Commits
Author SHA1 Message Date
Petr Nyc c13ff4dfa6 Merge branch 'main' of git.meinlschmidt.org:jetpac/dotfiles 2026-09-29 22:31:58 +02:00
Petr Nyc 87a710dd85 readme 2026-09-29 22:31:51 +02:00
Petr Nyc dfbcd5c81c kitty and codex conf 2026-09-29 22:29:40 +02:00
Petr Nyc 291db7c6cc kitty tab config 2026-09-29 20:36:27 +02:00
Petr Nyc 840b30c804 next 2026-09-29 16:53:03 +02:00
7 changed files with 177 additions and 70 deletions
+15 -44
View File
@@ -8,28 +8,6 @@ model_catalog_json = "/Users/jetpac/.codex/models_cache.json"
# doc: https://developers.openai.com/codex/config-advanced
# https://developers.openai.com/codex/config-reference
# The API key should be valid for a year
# Generate API key:
# 1. Open https://apex.oraclecorp.com/pls/apex/r/oca/api-key/home and generate an API Key for yourself.
# 2. Press 'Copy Codex Environment Setup Command'
# 3. paste the command and run it
# #+begin_src bash
# echo <api_key> | codex login --with-api-key
# #+end_src
# model = "gpt-5.6-sol"
# web_search is deprecated
# web_search_request = true
allowed_web_search_modes = [ "live" ]
trust_level = "trusted"
# sandbox_mode = "workspace-write"
personality = "pragmatic"
model_reasoning_effort = "xhigh"
@@ -50,6 +28,7 @@ goals = true
js_repl = false
terminal_resize_reflow = true
memories = true
prevent_idle_sleep = true
# remote_control = true
[agents]
@@ -61,6 +40,7 @@ alternate_screen = "always"
status_line = ["model-with-reasoning", "current-dir", "git-branch", "run-state", "codex-version", "context-remaining"]
pet = "seedy"
animations = false
screen_reader_detection_done = true
[tui.model_availability_nux]
"gpt-5.5" = 4
@@ -73,24 +53,6 @@ writable_roots = [ "/Users/jetpac/.codex/skills" ]
[analytics]
enabled = false
[model_providers.oca-responses]
base_url = "https://code-internal.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm"
http_headers = { "client" = "codex-cli", "client-version" = "0" }
model = "gpt5"
name = "Oracle Code Assist Responses"
wire_api = "responses"
stream_max_retries = 20
request_max_retries = 20
[profiles.gpt-5-5-pro]
model = "gpt-5.5-pro"
model_provider = "oca-responses"
review_model = "gpt-5.5-pro"
personality = "pragmatic"
[mcp_servers.playwright]
command = "/Users/jetpac/.codex/bin/playwright-mcp"
args = ["--extension"]
@@ -1234,6 +1196,15 @@ trust_level = "trusted"
[projects."/Users/jetpac/Documents/ansible"]
trust_level = "trusted"
[projects."/Users/jetpac/.ssh/ssh_configs"]
trust_level = "trusted"
[projects."/Users/jetpac/.ora-gateway"]
trust_level = "trusted"
[projects."/Users/jetpac/.local/src/cyrus-sasl-xoauth2"]
trust_level = "trusted"
[marketplaces.openai-bundled]
source_type = "local"
source = "/Users/jetpac/.codex/.tmp/bundled-marketplaces/openai-bundled"
@@ -1281,7 +1252,7 @@ composerEnterBehavior = "cmdIfMultiline"
preventSleepWhileRunning = true
keepRemoteControlAwakeWhilePluggedIn = false
conversationDetailMode = "STEPS_COMMANDS"
ambient-suggestions-enabled = false
ambient-suggestions-enabled = true
followUpQueueMode = "queue"
dock-icon-preference = "codex-system"
show-context-window-usage = true
@@ -1606,10 +1577,10 @@ NODE_REPL_INSTRUCTIONS_USE_CASE_BROWSER = ""
NODE_REPL_INSTRUCTIONS_USE_CASE_CHROME = ""
NODE_REPL_INSTRUCTIONS_USE_CASE_COMPUTER_USE = ""
BROWSER_USE_CODEX_APP_BUILD_FLAVOR = "prod"
BROWSER_USE_CODEX_APP_VERSION = "26.901.51231"
NODE_REPL_TRUSTED_SERVICES = '{"browser":"/Users/jetpac/.codex/plugins/cache/openai-bundled/browser/26.901.51231/scripts/browser-service.mjs","sky":"@oai/sky/service"}'
BROWSER_USE_CODEX_APP_VERSION = "26.924.20706"
NODE_REPL_TRUSTED_SERVICES = '{"browser":"/Users/jetpac/.codex/plugins/cache/openai-bundled/browser/26.924.20706/scripts/browser-service.mjs","sky":"@oai/sky/service"}'
SKY_CUA_SERVICE_PATH = "/Users/jetpac/.codex/computer-use/Codex Computer Use.app"
CODEX_CLI_PATH = "/Applications/ChatGPT.app/Contents/Resources/codex"
CODEX_CLI_PATH = "/Applications/ChatGPT.app/Contents/Resources/codex-cli/CodexCLI.app/Contents/MacOS/codex"
[mcp_servers.computer-use]
command = "./Codex Computer Use.app/Contents/SharedSupport/SkyComputerUseClient.app/Contents/MacOS/SkyComputerUseClient"
+6 -7
View File
@@ -19,10 +19,9 @@ color14 #299ba2
color7 #e4e4e4
color15 #f2f2f2
# START_AUTOGENERATED_TAB_STYLE
# Feel free to update these colors manually and remove these comments.
active_tab_foreground #eeeeee
active_tab_background #5c4c79
inactive_tab_foreground #bfbfbf
inactive_tab_background #202225
# END_AUTOGENERATED_TAB_STYLE
# Muted purple active tab; gray inactive tabs on the terminal background
active_tab_foreground #ded8e8
active_tab_background #423a50
inactive_tab_foreground #94969c
inactive_tab_background #282a2e
tab_bar_background #282a2e
+66 -2
View File
@@ -1268,7 +1268,8 @@
#: Window focus and this feature to indicate which kitty window is
#: active insidethe OS Window.
hide_window_decorations yes
# hide_window_decorations no
hide_window_decorations no
#: Hide the window decorations (title-bar and window borders) with
#: yes. On macOS, titlebar-only and titlebar-and-corners can be used
@@ -2349,6 +2350,7 @@ hide_window_decorations yes
#: inside it to take effect.
# macos_option_as_alt no
macos_option_as_alt both
#: Use the Option key as an Alt key on macOS. With this set to no,
#: kitty will use the macOS native Option+Key to enter Unicode
@@ -3321,4 +3323,66 @@ map alt+cmd+l neighboring_window right
map alt+cmd+z toggle_layout stack
# enable remote control
allow_remote_control yes
allow_remote_control yes
# tmux-style tabs (colors are set in the automatic theme files)
tab_bar_edge bottom
tab_bar_style separator
tab_bar_align left
tab_bar_min_tabs 1
tab_separator " "
tab_activity_symbol "•"
tab_title_template "{index}:{activity_symbol}{title}({num_windows}){bell_symbol}"
active_tab_title_template "{index}:{title}*({num_windows}){bell_symbol}{activity_symbol}"
active_tab_font_style normal
inactive_tab_font_style normal
# shift+tab work-around for codex to be able to switch to planning mode
map shift+tab send_text all \e[9;2u
# selecting tabs by numbers
map alt+1 goto_tab 1
map alt+2 goto_tab 2
map alt+3 goto_tab 3
map alt+4 goto_tab 4
map alt+5 goto_tab 5
map alt+6 goto_tab 6
map alt+7 goto_tab 7
map alt+8 goto_tab 8
map alt+9 goto_tab 9
# tmux-style Ctrl+A prefix
map ctrl+a>ctrl+a send_text all \x01
map ctrl+a>q focus_visible_window
# Tabs — equivalent to tmux windows
map ctrl+a>c new_tab
map ctrl+a>n next_tab
map --allow-fallback=shifted,ascii alt+n next_tab
map ctrl+a>p previous_tab
map --allow-fallback=shifted,ascii alt+p previous_tab
map ctrl+a>1 goto_tab 1
map ctrl+a>2 goto_tab 2
map ctrl+a>3 goto_tab 3
map ctrl+a>4 goto_tab 4
map ctrl+a>5 goto_tab 5
map ctrl+a>6 goto_tab 6
map ctrl+a>7 goto_tab 7
map ctrl+a>8 goto_tab 8
map ctrl+a>9 goto_tab 9
map ctrl+a>0 goto_tab 10
map ctrl+a>, set_tab_title
# Panes
map ctrl+a>| combine : goto_layout splits : launch --location=vsplit
map ctrl+a>s combine : goto_layout splits : launch --location=hsplit
map ctrl+a>- combine : goto_layout splits : launch --location=hsplit
map ctrl+a>x close_window
map ctrl+a>h neighboring_window left
map ctrl+a>j neighboring_window down
map ctrl+a>k neighboring_window up
map ctrl+a>l neighboring_window right
map ctrl+a>r start_resizing_window
# Temporarily maximize the current pane
map ctrl+a>z toggle_layout stack
+6 -7
View File
@@ -19,10 +19,9 @@ color14 #299ba2
color7 #e4e4e4
color15 #f2f2f2
# START_AUTOGENERATED_TAB_STYLE
# Feel free to update these colors manually and remove these comments.
active_tab_foreground #eeeeee
active_tab_background #5c4c79
inactive_tab_foreground #bfbfbf
inactive_tab_background #202225
# END_AUTOGENERATED_TAB_STYLE
# Muted purple active tab; gray inactive tabs on the terminal background
active_tab_foreground #ded8e8
active_tab_background #423a50
inactive_tab_foreground #94969c
inactive_tab_background #282a2e
tab_bar_background #282a2e
+6 -7
View File
@@ -19,10 +19,9 @@ color14 #299ba2
color7 #e4e4e4
color15 #f2f2f2
# START_AUTOGENERATED_TAB_STYLE
# Feel free to update these colors manually and remove these comments.
active_tab_foreground #eeeeee
active_tab_background #5c4c79
inactive_tab_foreground #bfbfbf
inactive_tab_background #202225
# END_AUTOGENERATED_TAB_STYLE
# Muted purple active tab; gray inactive tabs on the terminal background
active_tab_foreground #ded8e8
active_tab_background #423a50
inactive_tab_foreground #94969c
inactive_tab_background #282a2e
tab_bar_background #282a2e
-3
View File
@@ -280,9 +280,6 @@ fi
unset _profile_interactive _profile_emacs _profile_terminal _profile_plugin _profile_cache_root _profile_launchctl_ssh_auth_sock
unset -f _profile_add_plugin _profile_add_plugin_if_command_exists 2>/dev/null || true
### MANAGED BY RANCHER DESKTOP START (DO NOT EDIT)
export PATH="/Users/jetpac/.rd/bin:$PATH"
### MANAGED BY RANCHER DESKTOP END (DO NOT EDIT)
. "$HOME/.atuin/bin/env"
+78
View File
@@ -44,6 +44,84 @@
- automatically appears in profiles; set it as default and you should be going
- TODO - table of defined keys
** BetterTouchTool
Presets are stored as uncompressed JSON exports in
=~/.config/bettertouchtool/=. Ansible installs BetterTouchTool and checks out
dotfiles on initial setup; it does not import or continuously synchronize BTT
settings. BTT continues to own its live configuration.
*** Restore on a new Mac
1. Install and start BetterTouchTool, activate your licence separately, and
grant the macOS permissions requested by BTT.
2. If BTT already has configuration you want to keep, export those presets
before importing anything from dotfiles.
3. Open the Presets interface (top-right preset button) and import
=Default.bttpreset= from =~/.config/bettertouchtool/=. Use Cmd+Shift+G in the
file picker to enter this hidden directory. This export includes BTT's
exportable general settings, including window move/resize preferences.
Allow importing these settings when prompted.
4. Import =clipboard.bttpreset=, =BTT Clipboard Manager.bttpreset= and
=btt-mobile-example.bttpreset= from the same directory. These exports do not
include general settings.
5. Select the imported =Default= as the master preset and enable all four
imported presets to reproduce the source setup. Avoid keeping duplicate
copies enabled; if a preset with the same name already exists, review the
import/replacement prompt rather than blindly adding another copy.
6. Check the window move/resize preferences and test them on an ordinary
window. Test a configured browser gesture (for example, a Firefox TipTap
gesture), and check the clipboard manager and mobile menus if you use them.
Clipboard history is not restored.
The snapshot was exported from BTT 5.750 on 2026-09-25. The source master is
=Default= (activation state 2); =clipboard=, =BTT Clipboard Manager= and
=btt-mobile-example= have activation state 1. The =clipboard= preset currently
contains app scopes but no triggers; it is retained to preserve the setup.
*** Update the exports
After changing BTT settings, export the affected presets again from BTT's
Presets interface to the same filenames. Choose uncompressed JSON; include
general settings only in =Default.bttpreset=. Re-export =Default= when changing
general preferences, even if no shortcuts changed. Preserve the names above
and update this section if the master or enabled presets change.
Before adding exports to Git, review the diff for passwords, API keys, private
paths, typed-text actions and scripts. Remove =BTTFloatingMenuRenderedPreview=
fields from JSON exports: these are cached menu snapshots, not configuration.
Validate the resulting JSON, for example:
#+begin_src sh
python3 -m json.tool ~/.config/bettertouchtool/Default.bttpreset >/dev/null
config diff -- .config/bettertouchtool README.org
#+end_src
New files must be added explicitly with the existing =config= Git alias.
Exports may receive new preset UUIDs, so inspect import prompts on subsequent
restores and ensure only one intended copy of each preset is enabled.
Do not add BTT's Application Support directory, preferences plist, clipboard
database, licences, automatic backups or user-variable stores to Git.
*** Portability notes
- App-specific bindings target iTerm2, Finder, Firefox and Microsoft Edge;
install the relevant apps before testing those bindings. The mobile example
also includes Safari actions. Hardware-specific gestures and window geometry
may need adjustment for a different keyboard, pointing device or display.
- No user-specific absolute paths were found in these exports. The mobile
example contains JavaScript menu widgets and a =say hello= shell action;
import only trusted presets and review scripts before enabling them.
- Two custom mobile-menu images are already absent from the source Mac:
=AE909FCE-DACE-4774-823D-36F7C2864EB5-BTTMenuItemImage.png= and
=ED4B7AB4-D7E6-474C-B4A4-7BDCA93F25DB-BTTMenuItemImage.png=.
Their =BTT_PRESET_PATH= references remain in the export, but those icons
cannot be restored from this snapshot. Re-select images in BTT if needed.
- Cached rendered menu previews are intentionally omitted. The clipboard
presets contain configuration only, not copied text or clipboard history.
See [[https://docs.folivora.ai/docs/configuration/presets][BTT's preset documentation]] for export/import behaviour.
** fonts
For iTerm on mac, the preferred fonts are installed automatically.
You can also download fonts like this: