summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/karabiner/karabiner.json65
-rw-r--r--.config/kitty/themes/penelope.conf39
-rw-r--r--.config/shell/profile12
3 files changed, 91 insertions, 25 deletions
diff --git a/.config/karabiner/karabiner.json b/.config/karabiner/karabiner.json
new file mode 100644
index 0000000..a19c9e7
--- /dev/null
+++ b/.config/karabiner/karabiner.json
@@ -0,0 +1,65 @@
+{
+ "profiles": [
+ {
+ "complex_modifications": {
+ "rules": [
+ {
+ "description": "Change caps_lock to control when held, escape when tapped",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "caps_lock",
+ "modifiers": { "optional": ["any"] }
+ },
+ "to": [{ "key_code": "left_control" }],
+ "to_if_alone": [{ "key_code": "escape" }],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Swap left_meta and left_super",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "caps_lock",
+ "modifiers": { "optional": ["any"] }
+ },
+ "to": [{ "key_code": "left_control" }],
+ "to_if_alone": [{ "key_code": "escape" }],
+ "type": "basic"
+ }
+ ]
+ }
+ ]
+ },
+ "mouse_key": {},
+ "name": "Default profile",
+ "selected": true,
+ "simple_modifications": [
+ {
+ "from": { "key_code": "left_command" },
+ "to": [{ "key_code": "left_option" }]
+ },
+ {
+ "from": { "key_code": "left_option" },
+ "to": [{ "key_code": "left_command" }]
+ },
+ {
+ "from": { "key_code": "right_command" },
+ "to": [{ "key_code": "right_option" }]
+ },
+ {
+ "from": { "key_code": "right_option" },
+ "to": [{ "key_code": "right_command" }]
+ }
+ ],
+ "standalone_keys": [],
+ "sticky_modifier_keys": [],
+ "virtual_hid_keyboard": {
+ "keyboard_type": "ansi",
+ "keyboard_type_v2": "ansi"
+ }
+ }
+ ]
+}
diff --git a/.config/kitty/themes/penelope.conf b/.config/kitty/themes/penelope.conf
index 6f58b4f..b19c49b 100644
--- a/.config/kitty/themes/penelope.conf
+++ b/.config/kitty/themes/penelope.conf
@@ -1,24 +1,23 @@
-foreground #e4e4e4
-background #181818
-cursor #ffdd33
+foreground #ebdbb2
+background #1d2021
+cursor #ebdbb2
cursor_text_color #ffffff
selection_background #ffffff
selection_foreground #52494e
-color0 #181818
-color1 #f43841
-color2 #73d936
-color3 #ffdd33
-color4 #96a6c8
-color5 #9e95c7
-color6 #95a99f
-color7 #e4e4e4
-
-color8 #52494e
-color9 #ff4f58
-color10 #73d936
-color11 #ffdd33
-color12 #96a6c8
-color13 #afafd7
-color14 #95a99f
-color15 #f5f5f5
+color0 #1d2021
+color1 #cc241d
+color2 #98971a
+color3 #d79921
+color4 #458588
+color5 #b16286
+color6 #689d6a
+color7 #a89984
+color8 #928374
+color9 #fb4934
+color10 #b8bb26
+color11 #fabd2f
+color12 #83a598
+color13 #d3869b
+color14 #8ec07c
+color15 #ebdbb2
diff --git a/.config/shell/profile b/.config/shell/profile
index 441d5b2..afdf05e 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -1,9 +1,4 @@
export PATH="$HOME/.local/bin:$PATH"
-if [ "$(uname -s)" = "Darwin" ]; then
- export PATH="/opt/homebrew/opt/findutils/libexec/gnubin:$PATH"
- export PATH="$HOME/.local/bin/macos.d:$PATH"
-fi
-
export XDG_CONFIG_HOME=$HOME/.config
export XDG_CACHE_HOME=$HOME/.cache
export XDG_DATA_HOME=$HOME/.local/share
@@ -23,4 +18,11 @@ export GIT_EDITOR="kak"
export BROWSER="firefox"
export PATH="$PATH:$HOME/go/bin:/usr/local/go/bin"
+stty discard undef
[ ! -f "$XDG_CONFIG_HOME/shell/shortcutrc" ] && setsid -f shortcuts >/dev/null 2>&1
+
+if [ "$(uname -s)" = "Darwin" ]; then
+ export PATH="/opt/homebrew/opt/findutils/libexec/gnubin:$PATH"
+ export PATH="$HOME/.local/bin/macos.d:$PATH"
+ export BROWSER="open"
+fi