Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
takyshu98 committed Jan 21, 2024
1 parent c6d4190 commit abd77b1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .config/sheldon/plugins.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,5 @@ github = "b4b4r07/enhancd"
[plugins.enhancd.hooks]
pre = 'export ENHANCD_DIR="${XDG_STATE_HOME}/.enhancd"'

# [plugins.asdf]
# github = "asdf-vm/asdf"

[plugins.starship]
inline = 'eval "$(starship init zsh)"'
2 changes: 1 addition & 1 deletion .config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
eval "$(sheldon source)"

# Set completions
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' # enable completion without distinguishing uppercase or lowercase. except for input uppercase
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' # Enable completion without distinguishing uppercase or lowercase. except for input uppercase

# Set emacs key bindings
bindkey -e
Expand Down
21 changes: 9 additions & 12 deletions scripts/defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,32 @@
set -e

echo "Configuring Trackpad options..."
# cursor speed
# Change cursor speed faster
defaults write -g com.apple.trackpad.scaling -int 3

# tap to click
# Activate tap to click
defaults write com.apple.AppleMultitouchTrackpad Clicking -bool true
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true
defaults -currentHost write -g com.apple.mouse.tapBehavior -bool true

# three finger drag
# Activate three finger drag
defaults write com.apple.AppleMultitouchTrackpad TrackpadThreeFingerDrag -bool true
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerDrag -bool true

# four finger app expose
# Activate four finger app expose
defaults write com.apple.dock showMissionControlGestureEnabled -bool true
defaults write com.apple.dock showAppExposeGestureEnabled -bool true

echo "Configuring Mouse options..."
# cursor speed
# Change cursor speed faster
defaults write -g com.apple.mouse.scaling 3

# scroll speed
# Change scroll speed faster
defaults write -g com.apple.scrollwheel.scaling 1

echo "Configuring Other options..."
# auto capitalization
# Deactivate auto capitalization
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool "false"

# auto spell correction
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool "false"

## show battery %
# defaults write com.apple.menuextra.battery ShowPercent -string "YES"
# Deactivate auto spell correction
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool "false"

0 comments on commit abd77b1

Please sign in to comment.