laptop-config/cheatsheet.typ

124 lines
3.7 KiB
Typst

// T490 Hyprland Keyboard Cheatsheet
#set page(paper: "us-letter", margin: (x: 0.5in, y: 0.4in))
#set text(size: 8pt)
#align(center, text(size: 18pt, weight: "bold", fill: rgb("#8ebdff"))[T490 Cheatsheet])
#align(center, text(size: 7.5pt, fill: gray)[ThinkPad T490 · Hyprland 0.55 · NixOS · Super key = Windows/Command])
#line(length: 100%, stroke: 0.5pt + rgb("#8ebdff"))
#v(4pt)
#columns(3, gutter: 12pt)[
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[Launch & System]
#v(2pt)
#table(
columns: (2.3cm, auto),
[], [],
[#text(weight: "bold")[Key]], [#text(weight: "bold")[Action]],
[Super + Return], [Terminal in Zellij (WS 1)],
[Super + Shift + Return], [Terminal (plain)],
[Super + B], [Firefox],
[Super + D / Space], [Fuzzel launcher],
[Super + N], [Thunar file manager],
[Super + V], [Clipboard history (rofi)],
[Super + L], [Lock screen (hyprlock)],
[Super + Shift + Q], [Exit Hyprland],
)
#v(6pt)
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[Screenshots]
#v(2pt)
#table(
columns: (2.3cm, auto),
[], [],
[#text(weight: "bold")[Key]], [#text(weight: "bold")[Action]],
[Super + S], [Region (grim + slurp)],
[Super + Shift + S], [Full screen (grim)],
)
#v(6pt)
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[Hardware Keys]
#v(2pt)
#table(
columns: (2.3cm, auto),
[], [],
[#text(weight: "bold")[Key]], [#text(weight: "bold")[Action]],
[Fn+F1 / mute key], [Mute audio],
[Fn+F2 / vol down], [Volume down 5%],
[Fn+F3 / vol up], [Volume up 5%],
[Fn+F5 / bright down], [Brightness down 5%],
[Fn+F6 / bright up], [Brightness up 5%],
)
#colbreak()
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[Windows & Workspaces]
#v(2pt)
#table(
columns: (2.5cm, auto),
[], [],
[#text(weight: "bold")[Key]], [#text(weight: "bold")[Action]],
[Super + Q], [Close window],
[Super + F], [Toggle fullscreen],
[Super + G], [Toggle floating],
[Super + P], [Toggle pseudo-tiling],
[Super + T], [Pin window],
[Super + H/J/K/L], [Move focus ←↓↑→],
[Super + Shift + H/J/K/L], [Move window ←↓↑→],
[Super + Ctrl + H/J/K/L], [Resize window ←↓↑→],
[Super + 1-0], [Switch to workspace],
[Super + Shift + 1-0], [Move window to WS],
[Super + scroll], [Prev / next workspace],
[Super + Shift + R], [Reload Hyprland],
)
#v(6pt)
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[Window Rules]
#v(2pt)
#table(
columns: (auto, auto),
[], [],
[#text(weight: "bold")[App]], [#text(weight: "bold")[Workspace]],
[ghostty], [WS 1 — Terminal],
[code / nvim / jetbrains], [WS 2 — Dev],
[firefox / chromium], [WS 3 — Browser],
[discord / Slack / Telegram], [WS 4 — Comms],
)
#colbreak()
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[Zellij Multiplexer]
#v(2pt)
#table(
columns: (2.3cm, auto),
[], [],
[#text(weight: "bold")[Key]], [#text(weight: "bold")[Action]],
[Ctrl + g], [Toggle Locked mode],
[Ctrl + p], [New pane (below)],
[Ctrl + n], [New pane (right)],
[Ctrl + t], [New tab],
[Ctrl + q], [Close tab / pane],
[Ctrl + x], [Close focus],
[Ctrl + f], [Toggle float pane],
[Ctrl + z], [Toggle fullscreen pane],
[Ctrl + h/j/k/l], [Move focus ←↓↑→],
[Ctrl + d], [Detach session],
[Ctrl + r], [Rename tab],
[Ctrl + c / Esc], [Cancel rename],
)
#v(6pt)
#text(size: 10pt, weight: "bold", fill: rgb("#8ebdff"))[System Tips]
#v(2pt)
Caps Lock → Escape
Touchpad: tap-to-click, natural scroll
Terminal: ghostty → auto Zellij
#text(weight: "bold")[Super + Shift + R] reloads Hyprland after config edits
Wallpapers: \#text(weight: "italic")[awww] rotates every ~10min
Bluetooth enabled at boot
Clipboard: Super+V → cliphist → rofi → wl-copy
#text(weight: "bold")[Nix rebuild:]#h(4pt) `sudo nixos-rebuild switch
--flake ~/laptop-config#laptop`
]