irongit
hygoland/scripts/KeyHints.sh
72 lines3.2 KBBourne Again Shell (bash)
1#!/bin/bash
2# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
3
4# GDK BACKEND. Change to either wayland or x11 if having issues
5BACKEND=wayland
6
7# Check if rofi or yad is running and kill them if they are
8if pidof rofi >/dev/null; then
9 pkill rofi
10fi
11
12if pidof yad >/dev/null; then
13 pkill yad
14fi
15
16# Launch yad with calculated width and height
17GDK_BACKEND=$BACKEND yad \
18 --center \
19 --title="KooL Quick Cheat Sheet" \
20 --no-buttons \
21 --list \
22 --column=Key: \
23 --column=Description: \
24 --column=Command: \
25 --timeout-indicator=bottom \
26 "ESC" "close this app" "" " = " "SUPER KEY (Windows Key Button)" "(SUPER KEY)" \
27 " SHIFT K" "Searchable Keybinds" "(Search all Keybinds via rofi)" \
28 " SHIFT E" "KooL Hyprland Settings Menu" "" \
29 "" "" "" \
30 " enter" "Terminal" "(kitty)" \
31 " SHIFT enter" "DropDown Terminal" " Q to close" \
32 " B" "Launch Browser" "(Default browser)" \
33 " A" "Desktop Overview" "(AGS - if opted to install)" \
34 " D" "Application Launcher" "(rofi-wayland)" \
35 " E" "Open File Manager" "(Nautilus AKA Files)" \
36 " S" "Google Search using rofi" "(rofi)" \
37 " Q" "close active window" "(not kill)" \
38 " Shift Q " "kills an active window" "(kill)" \
39 " ALT mouse scroll up/down " "Desktop Zoom" "Desktop Magnifier" \
40 " Alt V" "Clipboard Manager" "(cliphist)" \
41 " W" "Choose wallpaper" "(Wallpaper Menu)" \
42 " Shift W" "Choose wallpaper effects" "(imagemagick + swww)" \
43 "CTRL ALT W" "Random wallpaper" "(via swww)" \
44 " CTRL ALT B" "Hide/UnHide Waybar" "waybar" \
45 " CTRL B" "Choose waybar styles" "(waybar styles)" \
46 " ALT B" "Choose waybar layout" "(waybar layout)" \
47 " ALT R" "Reload Waybar swaync Rofi" "CHECK NOTIFICATION FIRST!!!" \
48 " SHIFT N" "Launch Notification Panel" "swaync Notification Center" \
49 " Print" "screenshot" "(grim)" \
50 " Shift Print" "screenshot region" "(grim + slurp)" \
51 " Shift S" "screenshot region" "(swappy)" \
52 " CTRL Print" "screenshot timer 5 secs " "(grim)" \
53 " CTRL SHIFT Print" "screenshot timer 10 secs " "(grim)" \
54 "ALT Print" "Screenshot active window" "active window only" \
55 "CTRL ALT P" "power-menu" "(wlogout)" \
56 "CTRL ALT L" "screen lock" "(hyprlock)" \
57 "CTRL ALT Del" "Hyprland Exit" "(NOTE: Hyprland Will exit immediately)" \
58 " SHIFT F" "Fullscreen" "Toggles to full screen" \
59 " CTL F" "Fake Fullscreen" "Toggles to fake full screen" \
60 " ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
61 " SPACEBAR" "Toggle float" "single window" \
62 " ALT SPACEBAR" "Toggle all windows to float" "all windows" \
63 " ALT O" "Toggle Blur" "normal or less blur" \
64 " CTRL O" "Toggle Opaque ON or OFF" "on active window only" \
65 " Shift A" "Animations Menu" "Choose Animations via rofi" \
66 " CTRL R" "Rofi Themes Menu" "Choose Rofi Themes via rofi" \
67 " CTRL Shift R" "Rofi Themes Menu v2" "Choose Rofi Themes via Theme Selector (modified)" \
68 " SHIFT G" "Gamemode! All animations OFF or ON" "toggle" \
69 " ALT E" "Rofi Emoticons" "Emoticon" \
70 " H" "Launch this Quick Cheat Sheet" "" \
71 "" "" "" \
72 "More tips:" "https://github.com/JaKooLit/Hyprland-Dots/wiki" ""\