diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf index 4bd9e1403a9f..19d8178aaa3c 100644 --- a/config/hypr/hyprland.conf +++ b/config/hypr/hyprland.conf @@ -4,6 +4,8 @@ # But don't change anything that lives in ~/.local/share/omarchy, if you can help it! # Those files are overwritten when Omarchy is updated. +$super = SUPER + # Change your personal monitor setup in here to keep the main config portable source = ~/.config/hypr/monitors.conf @@ -23,26 +25,26 @@ $terminal = uwsm app -- alacritty $browser = uwsm app -- chromium --new-window --ozone-platform=wayland $webapp = $browser --app -bind = SUPER, return, exec, $terminal -bind = SUPER, F, exec, uwsm app -- nautilus --new-window -bind = SUPER, B, exec, $browser -bind = SUPER, M, exec, uwsm app -- spotify -bind = SUPER, N, exec, $terminal -e nvim -bind = SUPER, T, exec, $terminal -e btop -bind = SUPER, D, exec, $terminal -e lazydocker -bind = SUPER, G, exec, uwsm app -- signal-desktop -bind = SUPER, O, exec, uwsm app -- obsidian -disable-gpu -bind = SUPER, slash, exec, uwsm app -- 1password - -bind = SUPER, A, exec, $webapp="https://chatgpt.com" -bind = SUPER SHIFT, A, exec, $webapp="https://grok.com" -bind = SUPER, C, exec, $webapp="https://app.hey.com/calendar/weeks/" -bind = SUPER, E, exec, $webapp="https://app.hey.com" -bind = SUPER, Y, exec, $webapp="https://youtube.com/" -bind = SUPER SHIFT, G, exec, $webapp="https://web.whatsapp.com/" -bind = SUPER ALT, G, exec, $webapp="https://messages.google.com/web/conversations" -bind = SUPER, X, exec, $webapp="https://x.com/" -bind = SUPER SHIFT, X, exec, $webapp="https://x.com/compose/post" +bind = $super, return, exec, $terminal +bind = $super, F, exec, uwsm app -- nautilus --new-window +bind = $super, B, exec, $browser +bind = $super, M, exec, uwsm app -- spotify +bind = $super, N, exec, $terminal -e nvim +bind = $super, T, exec, $terminal -e btop +bind = $super, D, exec, $terminal -e lazydocker +bind = $super, G, exec, uwsm app -- signal-desktop +bind = $super, O, exec, uwsm app -- obsidian -disable-gpu +bind = $super, slash, exec, uwsm app -- 1password + +bind = $super, A, exec, $webapp="https://chatgpt.com" +bind = $super SHIFT, A, exec, $webapp="https://grok.com" +bind = $super, C, exec, $webapp="https://app.hey.com/calendar/weeks/" +bind = $super, E, exec, $webapp="https://app.hey.com" +bind = $super, Y, exec, $webapp="https://youtube.com/" +bind = $super SHIFT, G, exec, $webapp="https://web.whatsapp.com/" +bind = $super ALT, G, exec, $webapp="https://messages.google.com/web/conversations" +bind = $super, X, exec, $webapp="https://x.com/" +bind = $super SHIFT, X, exec, $webapp="https://x.com/compose/post" # Extra autostart processes # exec-once = uwsm app -- my-service diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf index 15bfb20960be..958eefe71422 100644 --- a/default/hypr/bindings.conf +++ b/default/hypr/bindings.conf @@ -1,15 +1,15 @@ # Deprecated bindings file. New installations include everything directly. -bind = SUPER, return, exec, $terminal -bind = SUPER, F, exec, $fileManager -bind = SUPER, B, exec, $browser -bind = SUPER, M, exec, $music -bind = SUPER, N, exec, $terminal -e nvim -bind = SUPER, T, exec, $terminal -e btop -bind = SUPER, D, exec, $terminal -e lazydocker -bind = SUPER, G, exec, $messenger -bind = SUPER, O, exec, obsidian -disable-gpu -bind = SUPER, slash, exec, $passwordManager +bind = $super, return, exec, $terminal +bind = $super, F, exec, $fileManager +bind = $super, B, exec, $browser +bind = $super, M, exec, $music +bind = $super, N, exec, $terminal -e nvim +bind = $super, T, exec, $terminal -e btop +bind = $super, D, exec, $terminal -e lazydocker +bind = $super, G, exec, $messenger +bind = $super, O, exec, obsidian -disable-gpu +bind = $super, slash, exec, $passwordManager source = ~/.local/share/omarchy/default/hypr/bindings/media.conf source = ~/.local/share/omarchy/default/hypr/bindings/tiling.conf diff --git a/default/hypr/bindings/tiling.conf b/default/hypr/bindings/tiling.conf index 4b9224ab87f4..f559a255774e 100644 --- a/default/hypr/bindings/tiling.conf +++ b/default/hypr/bindings/tiling.conf @@ -1,59 +1,58 @@ # Close window -bind = SUPER, W, killactive, +bind = $super, W, killactive, # Control tiling -bind = SUPER, J, togglesplit, # dwindle -bind = SUPER, P, pseudo, # dwindle -bind = SUPER, V, togglefloating, +bind = $super, J, togglesplit, # dwindle +bind = $super, P, pseudo, # dwindle +bind = $super, V, togglefloating, bind = , F11, fullscreen, 0 # Move focus with mainMod + arrow keys -bind = SUPER, left, movefocus, l -bind = SUPER, right, movefocus, r -bind = SUPER, up, movefocus, u -bind = SUPER, 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] -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 +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] -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 +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 -bind = SUPER SHIFT, left, swapwindow, l -bind = SUPER SHIFT, right, swapwindow, r -bind = SUPER SHIFT, up, swapwindow, u -bind = SUPER SHIFT, 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 -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 +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 -bind = SUPER, mouse_down, workspace, e+1 -bind = SUPER, mouse_up, 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 -bindm = SUPER, mouse:272, movewindow -bindm = SUPER, mouse:273, resizewindow - +bindm = $super, mouse:272, movewindow +bindm = $super, mouse:273, resizewindow diff --git a/default/hypr/bindings/utilities.conf b/default/hypr/bindings/utilities.conf index cffd84d57b0b..a796c77f196b 100644 --- a/default/hypr/bindings/utilities.conf +++ b/default/hypr/bindings/utilities.conf @@ -1,22 +1,22 @@ # Launching -bind = SUPER, space, exec, walker -bind = SUPER, K, exec, ~/.local/share/omarchy/bin/omarchy-menu-keybindings +bind = $super, space, exec, walker +bind = $super, K, exec, ~/.local/share/omarchy/bin/omarchy-menu-keybindings # Aesthetics -bind = SUPER SHIFT, SPACE, exec, pkill -SIGUSR1 waybar -bind = SUPER CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-bg-next -bind = SUPER SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-menu +bind = $super SHIFT, SPACE, exec, pkill -SIGUSR1 waybar +bind = $super CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-bg-next +bind = $super SHIFT CTRL, SPACE, exec, ~/.local/share/omarchy/bin/omarchy-theme-menu # Notifications -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" +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 -bind = SUPER, ESCAPE, exec, ~/.local/share/omarchy/bin/omarchy-menu-power +bind = $super, ESCAPE, exec, ~/.local/share/omarchy/bin/omarchy-menu-power # Toggle idling -bind = SUPER CTRL, I, exec, ~/.local/share/omarchy/bin/omarchy-toggle-idle +bind = $super CTRL, I, exec, ~/.local/share/omarchy/bin/omarchy-toggle-idle # Control Apple Display brightness bind = CTRL, F1, exec, ~/.local/share/omarchy/bin/omarchy-cmd-apple-display-brightness -5000 @@ -33,4 +33,4 @@ bind = ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord bind = CTRL ALT, PRINT, exec, ~/.local/share/omarchy/bin/omarchy-cmd-screenrecord output # Color picker -bind = SUPER, PRINT, exec, hyprpicker -a +bind = $super, PRINT, exec, hyprpicker -a