punktdateien/gui/hypr/scripts.d/layout.sh

64 lines
1.6 KiB
Bash
Raw Normal View History

2024-06-04 12:58:19 +02:00
#!/usr/bin/env bash
# Create layout file
2024-06-04 13:04:42 +02:00
[[ ! -f /tmp/hyprland-layout.txt ]] && cat << EOF >> /tmp/hyprland-layout.txt
2024-06-04 12:58:19 +02:00
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
2024-06-04 13:04:42 +02:00
# Remove layout file
( sleep 1s; rm -rf /tmp/hyprland-layout.txt ) &
2024-06-04 12:58:19 +02:00
# Display layout file
less /tmp/hyprland-layout.txt