Bindings: bar style cycle, notification center, Monitor Manager (SUPER+CTRL+M), shell restart; reload prefixes for hypr/keymap modules; float rules for plugin windows
swadhinbiswas committed 2 months ago
56dc5ec
1 parent f5910ef
commit 56dc5ec
3 files changed
+13 -2
Showing 3 changed files+13-2
▼config/hypr/deo-bindings.lua
+7-2
| @@ -53,7 +53,7 @@ o.bind("SUPER + mouse:273", "Resize window", hl.dsp.window.resize(), { mouse = t | ||
53 | 53 | o.bind("SUPER + SHIFT + M", "Omarchy menu", "omarchy-menu toggle") |
54 | 54 | o.bind("SUPER + ALT + SPACE", "Apps menu", "omarchy-menu toggle apps") |
55 | 55 | o.bind("SUPER + CTRL + E", "Emojis", "omarchy-shell shell toggle omarchy.emojis") |
56 | -o.bind("SUPER + K", "Keybindings", "omarchy-menu-keybindings") | |
56 | +o.bind("SUPER + K", "Keybindings", "omarchy-keybindings") | |
57 | 57 | o.bind("SUPER + CTRL + Q", "Calculator", "omacalc") |
58 | 58 | o.bind("XF86Calculator", "Calculator", "omacalc") |
59 | 59 | o.bind("XF86PowerOff", "Power menu", "omarchy-menu toggle system", { locked = true }) |
| @@ -64,11 +64,13 @@ o.bind("SUPER + SHIFT + CTRL + SPACE", "Theme menu", "omarchy-menu toggle theme" | ||
64 | 64 | o.bind("SUPER + CTRL + A", "Audio", "omarchy-shell shell toggle omarchy.audio") |
65 | 65 | o.bind("SUPER + CTRL + B", "Bluetooth", "omarchy-shell shell toggle omarchy.bluetooth") |
66 | 66 | o.bind("SUPER + CTRL + W", "Network", "omarchy-shell shell toggle omarchy.network") |
67 | +o.bind("SUPER + CTRL + Y", "Cycle bar style", "omarchy-bar-style-cycle") | |
67 | 68 | |
68 | 69 | -- Notifications |
69 | 70 | o.bind("SUPER + comma", "Dismiss last notification", "omarchy-shell notifications dismissOne") |
70 | 71 | o.bind("SUPER + ALT + comma", "Invoke last notification", "omarchy-shell notifications invokeLast") |
71 | 72 | o.bind("SUPER + SHIFT + ALT + comma", "Open notification history", "omarchy-shell notifications showHistory") |
73 | +o.bind("SUPER + ALT + N", "Notification center", "omarchy-shell deomarchy.notification-center toggle") | |
72 | 74 | o.bind_toggle("SUPER + CTRL + comma", "Toggle silencing notifications", "notification-silencing") |
73 | 75 | |
74 | 76 | -- Toggles |
| @@ -85,7 +87,10 @@ o.bind("SUPER + PRINT", "Color picker", "pkill hyprpicker || hyprpicker -a") | ||
85 | 87 | o.bind("SUPER + CTRL + PRINT", "Extract text (OCR) from screenshot", "omarchy-capture-text") |
86 | 88 | |
87 | 89 | -- Monitor manager |
88 | -o.bind("SUPER + CTRL + M", "Display", "omarchy-shell shell toggle omarchy.monitor") | |
90 | +o.bind("SUPER + CTRL + M", "Monitor Manager", "omarchy-monitor-manager") | |
91 | + | |
92 | +-- Shell lifecycle | |
93 | +o.bind("SUPER + CTRL + ALT + S", "Restart Omarchy shell", "omarchy-restart-shell") | |
89 | 94 | |
90 | 95 | -- Laptop |
91 | 96 | o.bind("SUPER + CTRL + Delete", "Toggle laptop display", "omarchy-hyprland-monitor-internal toggle") |
92 | 97 | |
▼default/hypr/bootstrap.lua
+2-0
| @@ -3,7 +3,9 @@ | ||
3 | 3 | local home = os.getenv("HOME") |
4 | 4 | local reload_prefixes = { |
5 | 5 | "default.hypr", |
6 | + "keymap", | |
6 | 7 | "hypr", |
8 | + "hyprland", | |
7 | 9 | "omarchy.current.theme", |
8 | 10 | } |
9 | 11 | |
10 | 12 | |
▼default/hypr/windows.lua
+4-0
| @@ -23,3 +23,7 @@ require("default.hypr.apps") | ||
23 | 23 | |
24 | 24 | -- Apply default opacity after apps have had a chance to opt out. |
25 | 25 | o.window({ tag = "default-opacity" }, { opacity = "0.985 0.96" }) |
26 | + | |
27 | +-- Plugin Manager / Keybindings (standalone Quickshell windows) | |
28 | +o.window({ title = "^(Omarchy Plugin Manager|Plugin Library|Omarchy Keybindings)$" }, { float = true, center = true, opaque = true, tag = "-default-opacity" }) | |
29 | +o.window({ class = "^(org.quickshell|quickshell)$" }, { opaque = true, tag = "-default-opacity" }) | |
26 | 30 | |