Skip to content

Commit a2d8be6

Browse files
committed
Adjust shortcut
1 parent ca5676d commit a2d8be6

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

archlinux/install/hyprland/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
| `SUPER + P` | "Pseudo" window |
1313
| `SUPER + V` | Toggle floating mode |
1414
| `SHIFT + F11` | Force fullscreen |
15-
| `SUPER + ↑/↓` | Toggle monocle mode (fullscreen with background window management) |
15+
| `SUPER + ALT + ↑/↓` | Toggle monocle mode (fullscreen with background window management) |
1616
| `SUPER + ←/→/↑/↓` | Move focus |
1717
| `SUPER + [0-9]` | Switch to workspace |
1818
| `SUPER + SHIFT + [0-9]` | Move window to workspace |

archlinux/install/hyprland/bin/omarchy-menu-ai

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ menu() {
1919
echo -e "$options" | walker --dmenu --theme dmenu_250 -p "$prompt" "${args[@]}"
2020
}
2121

22+
launch_or_focus_and_pin() {
23+
omarchy-launch-or-focus-webapp "$1" "$2"
24+
}
25+
2226
case $(menu "LLM" "󱚤 ChatGPT\n󱚤 Gemini\n󱚤 Claude\n󱚤 LeChat\n󱚤 Grok\n󱚤 Meta") in
23-
*ChatGPT*) omarchy-launch-or-focus-webapp "ChatGPT" "https://chat.openai.com/" ;;
24-
*Gemini*) omarchy-launch-or-focus-webapp "Gemini" "https://gemini.google.com/" ;;
25-
*Claude*) omarchy-launch-or-focus-webapp "Claude" "https://claude.ai/" ;;
26-
*LeChat*) omarchy-launch-or-focus-webapp "LeChat" "https://chat.mistral.ai/chat" ;;
27-
*Grok*) omarchy-launch-or-focus-webapp "Grok" "https://grok.com/" ;;
28-
*Meta*) omarchy-launch-or-focus-webapp "Meta" "https://ai.meta.com/" ;;
27+
*ChatGPT*) launch_or_focus_and_pin "ChatGPT" "https://chat.openai.com/" ;;
28+
*Gemini*) launch_or_focus_and_pin "Gemini" "https://gemini.google.com/" ;;
29+
*Claude*) launch_or_focus_and_pin "Claude" "https://claude.ai/" ;;
30+
*LeChat*) launch_or_focus_and_pin "LeChat" "https://chat.mistral.ai/chat" ;;
31+
*Grok*) launch_or_focus_and_pin "Grok" "https://grok.com/" ;;
32+
*Meta*) launch_or_focus_and_pin "Meta" "https://ai.meta.com/" ;;
2933
*) exit ;;
3034
esac

archlinux/install/hyprland/config/hypr/base/bindings/tiling.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ bindd = SUPER, J, Toggle split, togglesplit, # dwindle
66
bindd = SUPER, P, Pseudo window, pseudo, # dwindle
77
bindd = SUPER, V, Toggle floating, togglefloating,
88
bindd = SHIFT, F11, Force full screen, fullscreen, 0
9-
bindd = SUPER, up, Toggle full screen, fullscreen, 1 # Monocle mode
10-
bindd = SUPER, down, Toggle full screen, fullscreen, 1 # Monocle mode
9+
bindd = SUPER ALT, up, Toggle full screen, fullscreen, 1 # Monocle mode
10+
bindd = SUPER ALT, down, Toggle full screen, fullscreen, 1 # Monocle mode
11+
12+
# Fullscreen windows have a different border color.
13+
windowrule = bordercolor 0xffc27ba0,fullscreen:1
1114

1215
# Move focus with SUPER + arrow keys
1316
bindd = SUPER, left, Move focus left, movefocus, l

docs/content/docs/keybindings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ weight: 7
1414
| `SUPER + P` | "Pseudo" window |
1515
| `SUPER + V` | Toggle floating mode |
1616
| `SHIFT + F11` | Force fullscreen |
17-
| `SUPER + ↑/↓` | Toggle monocle mode (fullscreen with background window management) |
17+
| `SUPER + ALT + ↑/↓` | Toggle monocle mode (fullscreen with background window management) |
1818
| `SUPER + ←/→/↑/↓` | Move focus |
1919
| `SUPER + [0-9]` | Switch to workspace |
2020
| `SUPER + SHIFT + [0-9]` | Move window to workspace |

0 commit comments

Comments
 (0)