Compare commits

..

2 commits

Author SHA1 Message Date
d5f14c1178
Add keybind layout help 2024-06-04 12:58:19 +02:00
6faf349b32
Update keybinds sections 2024-06-04 12:57:45 +02:00
2 changed files with 69 additions and 4 deletions

View file

@ -88,9 +88,13 @@ 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
# --> Clipboard
# -> Clipboard
bind = SUPER, V, exec, exec $programsJobrunner $programsClipboard
bind = SUPER_SHIFT, V, exec, cliphist wipe; hyprctl notify 5 5000 0 " Cleared clipboard"
@ -99,11 +103,9 @@ bind = SUPER, A, exec, exec $programsJobrunner $programsTerminal
bind = SUPER, S, exec, exec $programsJobrunner $programsFM
bind = SUPER, D, exec, exec $programsJobrunner $programsBrowser
# -> Window size/position manipulation
# -> Window manipulation
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow
# -> Window state
bind = SUPER, TAB, exec, hyprctl kill
bind = SUPER, Q, exec, $dirHypr/scripts.d/kill-active.sh
bind = SUPER, W, togglefloating

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