summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2025-07-25 12:21:43 +0200
committerMike Vink <ivi@vinkies.net>2025-07-25 12:21:43 +0200
commit8a42b8725b876669169e83e00ef1b0b3efc9a449 (patch)
treea352274a508fb4f0da471ef30579b88acc3d8a33
parent1b52afb562daef3e6b09ccf1cccd61f26b349e22 (diff)
make windows draggable
-rw-r--r--.config/kitty/kitty.conf3
-rw-r--r--.config/shell/profile3
2 files changed, 5 insertions, 1 deletions
diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf
index cd77009..d1b72a0 100644
--- a/.config/kitty/kitty.conf
+++ b/.config/kitty/kitty.conf
@@ -6,7 +6,8 @@ italic_font auto
bold_italic_font auto
allow_remote_control yes
enable_audio_bell no
-hide_window_decorations yes
+hide_window_decorations titlebar-only
+window_margin_width 0 10
clear_all_shortcuts yes
macos_option_as_alt yes
map alt+c copy_to_clipboard
diff --git a/.config/shell/profile b/.config/shell/profile
index 7f7773c..ade3821 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -19,6 +19,9 @@ if [ "$(uname -s)" = "Darwin" ]; then
export LANG=en_US.UTF-8
export BROWSER="open"
+ # defaults delete -g NSWindowShouldDragOnGesture
+ defaults write -g NSWindowShouldDragOnGesture -bool true
+
brewpath="/opt/homebrew"
export PATH="/usr/local/bin:$brewpath/bin:$PATH"
export PATH="$brewpath/share/google-cloud-sdk/bin:$PATH"