Skip to content

Instantly share code, notes, and snippets.

@tdak
Created February 7, 2026 20:30
Show Gist options
  • Select an option

  • Save tdak/d24ecb8fdb19779dcfd2186238c1d3ff to your computer and use it in GitHub Desktop.

Select an option

Save tdak/d24ecb8fdb19779dcfd2186238c1d3ff to your computer and use it in GitHub Desktop.
Make Omarchy work with a Mac keyboard like a mac keyboard
## ADD THIS TO YOUR BINDINGS CONFG ##
## MAC RELATED OVERWRITES ##
bindd = CTRL, C, Universal copy, sendshortcut, CTRL, Insert,
bindd = CTRL, V, Universal paste, sendshortcut, SHIFT, Insert,
bindd = CTRL, X, Universal cut, sendshortcut, CTRL, X,
bindd = CTRL, LEFT, Jump to beginning of line, sendshortcut, ,Home,
bindd = CTRL SHIFT, LEFT, Highlight to begining of line, sendshortcut, SHIFT, Home,
bindd = CTRL, RIGHT, Jump to beginning of line, sendshortcut, ,End,
bindd = CTRL SHIFT, RIGHT, Highlight to end of line, sendshortcut, SHIFT, End,
bindd = SUPER SHIFT, A, Pulsar editor, exec, pulsar
bindd = CTRL SHIFT, 4, Screenshot like mac, exec, omarchy-cmd-screenshot smart clipboard
bindd = CTRL, TAB, Cycle next workspace, workspace, e+1
bindd = CTRL SHIFT, TAB, Cycle previous workspace, workspace, e-1
## MAKE THE WORKSPACE SWITCHING WORK WITH CMD key on your keyboard ##
bindd = CTRL, code:10, Switch to workspace 1, workspace, 1
bindd = CTRL, code:11, Switch to workspace 2, workspace, 2
bindd = CTRL, code:12, Switch to workspace 3, workspace, 3
bindd = CTRL, code:13, Switch to workspace 4, workspace, 4
bindd = CTRL, code:14, Switch to workspace 5, workspace, 5
bindd = CTRL, code:15, Switch to workspace 6, workspace, 6
bindd = CTRL, code:16, Switch to workspace 7, workspace, 7
bindd = CTRL, code:17, Switch to workspace 8, workspace, 8
bindd = CTRL, code:18, Switch to workspace 9, workspace, 9
bindd = CTRL, code:19, Switch to workspace 10, workspace, 10
# Control your input devices
# See https://wiki.hypr.land/Configuring/Variables/#input
input {
# Use multiple keyboard layouts and switch between them with Left Alt + Right Alt
# kb_layout = us,dk,eu
kb_layout = us
# kb_options = compose:caps # ,grp:alts_toggle
### THIS IS THE CHANGE HERE, SWAP CMD and CTRL ###
kb_options = compose:caps, ctrl:swap_lwin_lctl
# Change speed of keyboard repeat
repeat_rate = 40
repeat_delay = 600
# Start with numlock on by default
numlock_by_default = true
# Increase sensitivity for mouse/trackpad (default: 0)
sensitivity = -0.35
touchpad {
# Use natural (inverse) scrolling
# natural_scroll = true
# Use two-finger clicks for right-click instead of lower-right corner
# clickfinger_behavior = true
# Control the speed of your scrolling
scroll_factor = 0.4
# Enable the touchpad while typing
# disable_while_typing = false
# Left-click-and-drag with three fingers
# drag_3fg = 1
}
}
# Scroll nicely in the terminal
windowrule = match:class (Alacritty|kitty), scroll_touchpad 1.5
windowrule = match:class com.mitchellh.ghostty, scroll_touchpad 0.2
# Enable touchpad gestures for changing workspaces
# See https://wiki.hyprland.org/Configuring/Gestures/
# gesture = 3, horizontal, workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment