Add keybind layout help

This commit is contained in:
JeremyStar™ 2024-06-04 12:58:19 +02:00
parent 6faf349b32
commit d5f14c1178
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
2 changed files with 66 additions and 0 deletions

View file

@ -88,6 +88,9 @@ env = CLUTTER_BACKEND,wayland
env = ELECTRON_OZONE_PLATFORM_HINT=wayland
# Bindings
# -> Help
bind = SUPER, Escape, exec, $programsTerminal -e "$dirHypr/scripts.d/layout.sh"
# -> Menus
bind = SUPER, SUPER_L, exec, pkill -9 $programsMenuKill || $programsJobrunner $programsMenu

63
gui/hypr/scripts.d/layout.sh Executable file
View file

@ -0,0 +1,63 @@
#!/usr/bin/env bash
# Create layout file
cat << EOF >> /tmp/hyprland-layout.txt
Hyprland Keybindings
Listed in order of appearance in hyprland.conf
Help
-> Display keybind layout -> SUPER + ESC
Menus
-> Display application list -> SUPER
Clipboard
-> Show clipboard contents -> SUPER + V
-> Clear clipboard -> SUPER + SHIFT + V
Programs
-> Start terminal emulator -> SUPER + A
-> Start file manager -> SUPER + S
-> Start web browser -> SUPER + D
Window manipulation
-> Move window -> SUPER + LMB
-> Resize window -> SUPER + RMB
-> Close active window -> SUPER + Q
-> Force kill window -> SUPER + TAB
-> Toggle floating mode -> SUPER + W
-> Toggle fullscreen mode -> SUPER + F
Special workspace
-> Toggle special workspace -> SUPER + E
-> Move to special workspace -> SUPER + Y
-> Move to normal workspace -> SUPER + SHIFT + Y
Session management
-> Reload configuration -> SUPER + SHIFT + M
-> Lock session -> SUPER + SHIFT + L
-> Exit Hyprland -> SUPER + SHIFT + Q
-> Shutdown computer -> SUPER + SHIFT + W
-> Restart computer -> SUPER + SHIFT + E
Media keys
-> Output
--> Raise volume -> Audio Raise Volume
--> Lower volume -> Audio Lower Volume
--> Mute -> Audio Mute
-> Input
--> Raise volume -> SHIFT + Audio Raise Volume
--> Lower volume -> SHIFT + Audio Lower Volume
--> Mute -> SHIFT + Audio Mute
-> Playback
--> Toggle playback -> Audio Play
--> Stop playback -> Audio stop
--> Play next track -> Audio Next
--> Play previous track -> Audio Previous
EOF
# Display layout file
less /tmp/hyprland-layout.txt
# Remove layout file
rm -rf /tmp/hyprland-layout.txt