diff --git a/modules/dotly b/modules/dotly index 072b59b..12ca79c 160000 --- a/modules/dotly +++ b/modules/dotly @@ -1 +1 @@ -Subproject commit 072b59ba27bea2b96bb1bbebdbf8553964d7e589 +Subproject commit 12ca79c9499556740eb02441d8f6d816f1432ad8 diff --git a/os/mac/karabiner-elements/karabiner.json b/os/mac/karabiner-elements/karabiner.json index 67d8f66..3bc3672 100644 --- a/os/mac/karabiner-elements/karabiner.json +++ b/os/mac/karabiner-elements/karabiner.json @@ -567,6 +567,25 @@ } ], "type" : "basic" } ] + }, { + "description" : "[arc] CMD e show open tabs thanks to Arc Raycast extension", + "manipulators" : [ { + "from" : { + "key_code" : "e", + "modifiers" : { + "mandatory" : [ "left_command" ] + } + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command", "left_control", "left_option", "left_shift" ] + } ], + "conditions" : [ { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "company.thebrowser.Browser" ] + } ], + "type" : "basic" + } ] }, { "description" : "[chatgpt] Toggle sidebar", "manipulators" : [ { @@ -935,6 +954,25 @@ } ], "type" : "basic" } ] + }, { + "description" : "[notion] Copy current url", + "manipulators" : [ { + "from" : { + "modifiers" : { + "mandatory" : [ "left_command", "left_shift" ] + }, + "key_code" : "c" + }, + "to" : [ { + "key_code" : "l", + "modifiers" : [ "left_command" ] + } ], + "conditions" : [ { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "notion.id" ] + } ], + "type" : "basic" + } ] }, { "description" : "[notion] Extend selection", "manipulators" : [ { @@ -1027,6 +1065,41 @@ } ], "type" : "basic" } ] + }, { + "description" : "[slack] Move in history", + "manipulators" : [ { + "from" : { + "key_code" : "tab", + "modifiers" : { + "mandatory" : [ "left_control" ] + } + }, + "to" : [ { + "key_code" : "open_bracket", + "modifiers" : [ "left_command" ] + } ], + "conditions" : [ { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "com.tinyspeck.slackmacgap" ] + } ], + "type" : "basic" + }, { + "from" : { + "key_code" : "tab", + "modifiers" : { + "mandatory" : [ "left_control", "left_shift" ] + } + }, + "to" : [ { + "key_code" : "close_bracket", + "modifiers" : [ "left_command" ] + } ], + "conditions" : [ { + "type" : "frontmost_application_if", + "bundle_identifiers" : [ "com.tinyspeck.slackmacgap" ] + } ], + "type" : "basic" + } ] }, { "description" : "[slack] Navigate between channels", "manipulators" : [ { diff --git a/os/mac/karabiner-goku/karabiner.edn b/os/mac/karabiner-goku/karabiner.edn index 6de77cc..b8901fe 100644 --- a/os/mac/karabiner-goku/karabiner.edn +++ b/os/mac/karabiner-goku/karabiner.edn @@ -26,6 +26,7 @@ :create-folder {:modi [:left_control :left_option :left_command] :key :p} :create-new {:modi [:left_command] :key :n} :create-new-window {:modi [:left_command :left_shift] :key :n} + :copy-current-url {:modi [:left_command :left_shift] :key :c} :line-delete {:modi :left_command :key :delete_or_backspace} :line-duplicate {:modi :left_command :key :d} :move-next-screen {:modi [:left_command :left_shift :left_option] :key :right_arrow} @@ -130,6 +131,8 @@ :rules [:Arc [:switch-account-esc :!COright_arrow]]} {:des "[arc] CMD P also to show url menu" :rules [:Arc [:!Cp :!Cl]]} + {:des "[arc] CMD e show open tabs thanks to Arc Raycast extension" + :rules [:Arc [:!Ce :!TOCSl]]} {:des "[chatgpt] Toggle sidebar" :rules [:ChatGPT [:sidebar-primary-toggle :!CSs]]} @@ -172,10 +175,13 @@ :rules [:Notion [:show-recent :!Cp]]} {:des "[notion] Toggle sidebar" :rules [:Notion [:sidebar-primary-toggle :!Cbackslash]]} + {:des "[notion] Copy current url" + :rules [:Notion [:copy-current-url :!Cl]]} {:des "[notion] Extend selection" :rules [:Notion [:selection-extend :!Sup_arrow] [:selection-shrink :!Sdown_arrow]]} + {:des "[PersonalNotion] Show recent pages" :rules [:PersonalNotion [:show-recent :!Cp]]} {:des "[PersonalNotion] Toggle sidebar" @@ -184,6 +190,8 @@ {:des "[safari] Toggle sidebar" :rules [:Safari [:sidebar-primary-toggle :!CSl]]} + {:des "[slack] Move in history" + :rules [:Slack [:!Ttab :!Copen_bracket] [:!TStab :!Cclose_bracket]]} {:des "[slack] Navigate between channels" :rules [:Slack [:!Cp :!Ck] [:!Ce :!Ck]]} {:des "[slack] Toggle sidebars" diff --git a/shell/exports.sh b/shell/exports.sh index b19b53c..f0875cd 100644 --- a/shell/exports.sh +++ b/shell/exports.sh @@ -2,10 +2,10 @@ # Codely theme config # ------------------------------------------------------------------------------ export CODELY_THEME_MODE="dark" -export CODELY_THEME_PWD_MODE="short" # full, short, home_relative -export CODELY_THEME_STATUS_ICON_OK="" #  ﭧ ﯓ ﬦ           -export CODELY_THEME_STATUS_ICON_KO="☢" # ﮊ -export CODELY_THEME_PROMPT_IN_NEW_LINE=false +export CODELY_THEME_PWD_MODE="short" # full, short, home_relative +export CODELY_THEME_STATUS_ICON_OK="ﬦ" #  ﭧ ﯓ ﬦ           +export CODELY_THEME_STATUS_ICON_KO="☢" # ﮊ +export CODELY_THEME_PROMPT_IN_NEW_LINE=true if [[ $__CFBundleIdentifier == "com.jetbrains."* ]]; then export CODELY_THEME_MINIMAL=true @@ -19,7 +19,7 @@ fi # ------------------------------------------------------------------------------ # Languages # ------------------------------------------------------------------------------ -export JAVA_HOME='/Users/rafa.gomez/Library/Java/JavaVirtualMachines/corretto-18.0.2/Contents/Home' +export JAVA_HOME='/Users/rafa.gomez/Library/Java/JavaVirtualMachines/openjdk-21.0.2/Contents/Home' export GEM_HOME="$HOME/.gem" export GOPATH="$HOME/.go" export PYTORCH_ENABLE_MPS_FALLBACK=1