Revert "Update keyboard shortcuts script to show all runtime keybinds (#70)"

This reverts commit 6433511873.
This commit is contained in:
David Heinemeier Hansson
2025-07-13 17:27:33 -07:00
parent 59b59807a9
commit dc0032c9c3
8 changed files with 131 additions and 148 deletions

View File

@ -1,14 +0,0 @@
# Launching
bindd = SUPER, space, Application Launcher, exec, pkill wofi || wofi --show drun --sort-order=alphabetical --style="$HOME/.local/share/omarchy/default/wofi/search.css"
bindd = SUPER, K, Show Keybindings, exec, ~/.local/share/omarchy/bin/omarchy-show-keybindings
bindd = SUPER, return, Launch a Terminal, exec, $terminal
bindd = SUPER, F, Launch a File Manager, exec, $fileManager
bindd = SUPER, B, Launch a Browser, exec, $browser
bindd = SUPER, M, Launch a Music Player, exec, $music
bindd = SUPER, N, Launch nvim, exec, $terminal -e nvim
bindd = SUPER, T, Launch btop, exec, $terminal -e btop
bindd = SUPER, D, Launch lazydocker, exec, $terminal -e lazydocker
bindd = SUPER, G, Launch a Messenger App, exec, $messenger
bindd = SUPER, O, Launch Obsidian, exec, obsidian -disable-gpu
bindd = SUPER, slash, Launch a Password Manager, exec, $passwordManager

View File

@ -1,13 +1,13 @@
# Laptop multimedia keys for volume, media control, and LCD brightness
bindeld = ,XF86AudioRaiseVolume, Raise Volume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindeld = ,XF86AudioLowerVolume, Lower Volume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindeld = ,XF86AudioMute, Mute Speakers, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindeld = ,XF86AudioMicMute, Mute Mic, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindeld = ,XF86MonBrightnessUp, Raise Brightness, exec, brightnessctl -e4 -n2 set 5%+
bindeld = ,XF86MonBrightnessDown, Lower Brightness, exec, brightnessctl -e4 -n2 set 5%-
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
# Requires playerctl
bindld = , XF86AudioNext, Next Track, exec, playerctl next
bindld = , XF86AudioPause, Pause Media, exec, playerctl play-pause
bindld = , XF86AudioPlay, Pause Media, exec, playerctl play-pause
bindld = , XF86AudioPrev, Previous Track, exec, playerctl previous
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous

View File

@ -1,58 +1,58 @@
# Close window
bindd = SUPER, W, Close Window, killactive,
bind = SUPER, W, killactive,
# Control tiling
bindd = SUPER, J, Toggle Split, togglesplit, # dwindle
bindd = SUPER, P, Toggle Pseudo, pseudo # dwindle
bindd = SUPER, V, Toggle Floating, togglefloating,
bindd = SUPER CTRL, F, Toggle Fullscreen, fullscreen
bind = SUPER, J, togglesplit, # dwindle
bind = SUPER, P, pseudo, # dwindle
bind = SUPER, V, togglefloating,
# Move focus with mainMod + arrow keys
bindd = SUPER, left, Move Focus Left, movefocus, l
bindd = SUPER, right, Move Focus Right, movefocus, r
bindd = SUPER, up, Move Focus Up, movefocus, u
bindd = SUPER, down, Move Focus Down, movefocus, d
bind = SUPER, left, movefocus, l
bind = SUPER, right, movefocus, r
bind = SUPER, up, movefocus, u
bind = SUPER, down, movefocus, d
# Switch workspaces with mainMod + [0-9]
bindd = SUPER, code:10, Switch to workspace 1, workspace, 1
bindd = SUPER, code:11, Switch to workspace 2, workspace, 2
bindd = SUPER, code:12, Switch to workspace 3, workspace, 3
bindd = SUPER, code:13, Switch to workspace 4, workspace, 4
bindd = SUPER, code:14, Switch to workspace 5, workspace, 5
bindd = SUPER, code:15, Switch to workspace 6, workspace, 6
bindd = SUPER, code:16, Switch to workspace 7, workspace, 7
bindd = SUPER, code:17, Switch to workspace 8, workspace, 8
bindd = SUPER, code:18, Switch to workspace 9, workspace, 9
bindd = SUPER, code:19, Switch to workspace 10, workspace, 10
bind = SUPER, code:10, workspace, 1
bind = SUPER, code:11, workspace, 2
bind = SUPER, code:12, workspace, 3
bind = SUPER, code:13, workspace, 4
bind = SUPER, code:14, workspace, 5
bind = SUPER, code:15, workspace, 6
bind = SUPER, code:16, workspace, 7
bind = SUPER, code:17, workspace, 8
bind = SUPER, code:18, workspace, 9
bind = SUPER, code:19, workspace, 10
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bindd = SUPER SHIFT, code:10, Move Active Window to workspace 1, movetoworkspace, 1
bindd = SUPER SHIFT, code:11, Move Active Window to workspace 2, movetoworkspace, 2
bindd = SUPER SHIFT, code:12, Move Active Window to workspace 3, movetoworkspace, 3
bindd = SUPER SHIFT, code:13, Move Active Window to workspace 4, movetoworkspace, 4
bindd = SUPER SHIFT, code:14, Move Active Window to workspace 5, movetoworkspace, 5
bindd = SUPER SHIFT, code:15, Move Active Window to workspace 6, movetoworkspace, 6
bindd = SUPER SHIFT, code:16, Move Active Window to workspace 7, movetoworkspace, 7
bindd = SUPER SHIFT, code:17, Move Active Window to workspace 8, movetoworkspace, 8
bindd = SUPER SHIFT, code:18, Move Active Window to workspace 9, movetoworkspace, 9
bindd = SUPER SHIFT, code:19, Move Active Window to workspace 10, movetoworkspace, 10
bind = SUPER SHIFT, code:10, movetoworkspace, 1
bind = SUPER SHIFT, code:11, movetoworkspace, 2
bind = SUPER SHIFT, code:12, movetoworkspace, 3
bind = SUPER SHIFT, code:13, movetoworkspace, 4
bind = SUPER SHIFT, code:14, movetoworkspace, 5
bind = SUPER SHIFT, code:15, movetoworkspace, 6
bind = SUPER SHIFT, code:16, movetoworkspace, 7
bind = SUPER SHIFT, code:17, movetoworkspace, 8
bind = SUPER SHIFT, code:18, movetoworkspace, 9
bind = SUPER SHIFT, code:19, movetoworkspace, 10
# Swap active window with the one next to it with mainMod + SHIFT + arrow keys
bindd = SUPER SHIFT, left, Swap Active Window with Left, swapwindow, l
bindd = SUPER SHIFT, right, Swap Active Window with Right, swapwindow, r
bindd = SUPER SHIFT, up, Swap Active Window with Up, swapwindow, u
bindd = SUPER SHIFT, down, Swap Active Window with Down, swapwindow, d
bind = SUPER SHIFT, left, swapwindow, l
bind = SUPER SHIFT, right, swapwindow, r
bind = SUPER SHIFT, up, swapwindow, u
bind = SUPER SHIFT, down, swapwindow, d
# Resize active window
bindd = SUPER, minus, Shrink Window Horizontally, resizeactive, -100 0
bindd = SUPER, equal, Grow Window Horizontally, resizeactive, 100 0
bindd = SUPER SHIFT, minus, Shrink Window Vertically, resizeactive, 0 -100
bindd = SUPER SHIFT, equal, Grow Window Vertically, resizeactive, 0 100
bind = SUPER, minus, resizeactive, -100 0
bind = SUPER, equal, resizeactive, 100 0
bind = SUPER SHIFT, minus, resizeactive, 0 -100
bind = SUPER SHIFT, equal, resizeactive, 0 100
# Scroll through existing workspaces with mainMod + scroll
bindd = SUPER, mouse_down, Scroll Down though workspaces, workspace, e+1
bindd = SUPER, mouse_up, Scroll Up through workspaces, workspace, e-1
bind = SUPER, mouse_down, workspace, e+1
bind = SUPER, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindmd = SUPER, mouse:272, Move Windows, movewindow
bindmd = SUPER, mouse:273, Resize Windows, resizewindow
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow

View File

@ -1,29 +1,32 @@
# Launching
bind = SUPER, space, exec, pkill wofi || wofi --show drun --sort-order=alphabetical --style="$HOME/.local/share/omarchy/default/wofi/search.css"
bind = SUPER, K, exec, ~/.local/share/omarchy/bin/omarchy-show-keybindings
# Aesthetics
bindd = SUPER SHIFT, SPACE, Hide Waybar, exec, pkill -SIGUSR1 waybar
bindd = SUPER ALT, SPACE, Reload Waybar, exec, pkill -SIGUSR2 waybar
bindd = SUPER CTRL, SPACE, Next Wallpaper, exec, ~/.local/share/omarchy/bin/swaybg-next
bindd = SUPER SHIFT CTRL, SPACE, Next Theme, exec, ~/.local/share/omarchy/bin/omarchy-theme-next
bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar
bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/swaybg-next
bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-next
# Notifications
bindd = SUPER, comma, Dismiss Notification, exec, makoctl dismiss
bindd = SUPER SHIFT, comma, Dismiss All Notifications, exec, makoctl dismiss --all
bindd = SUPER CTRL, comma, Toggle Do Not Disturb, exec, ~/.local/share/omarchy/bin/omarchy-toggle-dnd
bind = SUPER, comma, exec, makoctl dismiss
bind = SUPER SHIFT, comma, exec, makoctl dismiss --all
bind = SUPER CTRL, comma, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications"
# Power menu controls lock, suspend, relaunch, restart, shutdown
bindd = SUPER, ESCAPE, Show Power Menu (Lock/Suspend/Relaunch/Restart/Shutdown), exec, ~/.local/share/omarchy/bin/omarchy-power-menu
bind = SUPER, ESCAPE, exec, ~/.local/share/omarchy/bin/omarchy-power-menu
# Toggle idling
bindd = SUPER CTRL, I, Toggle Idling, exec, ~/.local/share/omarchy/bin/omarchy-toggle-idle
bind = SUPER CTRL, I, exec, ~/.local/share/omarchy/bin/omarchy-toggle-idle
# Control Apple Display brightness
bindd = CTRL, F1, Dim Apple Screen Brightness, exec, ~/.local/share/omarchy/bin/apple-display-brightness -5000
bindd = CTRL, F2, Raise Apple Screen Brightness, exec, ~/.local/share/omarchy/bin/apple-display-brightness +5000
bindd = SHIFT CTRL, F2, Set Apple Screen Brightness to Max, exec, ~/.local/share/omarchy/bin/apple-display-brightness +60000
bind = CTRL, F1, exec, ~/.local/share/omarchy/bin/apple-display-brightness -5000
bind = CTRL, F2, exec, ~/.local/share/omarchy/bin/apple-display-brightness +5000
bind = SHIFT CTRL, F2, exec, ~/.local/share/omarchy/bin/apple-display-brightness +60000
# Screenshots
bindd = , PRINT, Screenshot a Region, exec, hyprshot -m region
bindd = SHIFT, PRINT, Screenshot a Window, exec, hyprshot -m window
bindd = CTRL, PRINT, Screenshot Desktop, exec, hyprshot -m output
bind = , PRINT, exec, hyprshot -m region
bind = SHIFT, PRINT, exec, hyprshot -m window
bind = CTRL, PRINT, exec, hyprshot -m output
# Color picker
bindd = SUPER, PRINT, Pick a Color, exec, hyprpicker -a
bind = SUPER, PRINT, exec, hyprpicker -a