#!/bin/bash
# Set the font
font="JetBrainsMono"
cheat=(
--title="EndeavourOS Sway keybindings:"
--no-buttons
--geometry=1200x680
--list
--no-click
--no-selection
--column="Function"
--column="Binding"
--column=""
--column="Function"
--column="Binding"
--column-align=ccccc
--header-align=ccccc
"GENERAL"
""
""
"LAUNCHERS AND MENUS"
""
"Mod key (Super/Meta//)"
""
""
"Open the launcher"
" + "
"Change window focus"
" + "
""
"Open the application menu"
" + Shift + "
"Vim keys are supported"
" + "
""
"Open the power menu"
" + Shift + "
"Close a window"
" + "
""
"Activities overview"
" + "
"Move a window"
" + Shift + "
""
"SCREENSHOTS"
""
"Move window with mouse"
" + "
""
"Snip a screenshot"
"Print"
"Resize a window"
" + Ctrl + "
""
"Screenshot a window"
"Ctrl + Print"
"Resize with right click"
" + "
""
"Screenshot the display"
"Shift + Print"
"Change workspace"
" + ..."
""
"CLIPBOARD MANAGER"
""
"Send window to workspace"
" + Shift + ..."
""
"Launch cliphist"
"Ctrl + + "
"Toggle floating/tiling"
" + Shift + Space"
""
"Delete an entry from cliphist"
"Ctrl + + "
"Toggle fullscreen"
" + "
""
"APPLICATION SHORTCUTS"
""
"SCRATCHPAD"
""
""
"Launch the terminal"
" + Enter"
"Move window to scratchpad"
" + Shift + "
""
"Launch the file explorer"
" + "
"Show next scratchpad window"
" + "
""
"Launch the web browser"
" + "
""
)
yad "${cheat[@]}"