From ad90cf9e1772fc603ea5ac95d7c906711b043a80 Mon Sep 17 00:00:00 2001 From: Karl Goecking Date: Sun, 15 Feb 2026 10:33:09 +0100 Subject: [PATCH] Add complete howto with shortcuts, add window screenshot shortcut --- docs/i3-shortcuts.md | 194 ++++++++++++++++++++++++++++++------- files/configs/i3/i3/config | 1 + 2 files changed, 160 insertions(+), 35 deletions(-) diff --git a/docs/i3-shortcuts.md b/docs/i3-shortcuts.md index 9dce137..86377e3 100644 --- a/docs/i3-shortcuts.md +++ b/docs/i3-shortcuts.md @@ -1,37 +1,161 @@ -## My Custom i3 shortcuts +## i3 Shortcuts & Howto -|Shortcut|Description| +`mod` = Super/Command-Taste (Mod4) + +### Anwendungen starten + +| Shortcut | Beschreibung | |---|---| -|mod+q|Close/Kill window| -|mod+space|Open Rofi application launcher| -|mod+f|Fullscreen a window/container| -|mod+s|Change layout to stack mode| -|mod+d|Change layout to split mode| -|mod+PrintScr|Open Flameshot screenshot application| -|mod+shift+enter|Open Terminal| -|mod+shift+f|Open Ranger command line file manager| -|mod+shift+e|Open Mousepad editor| -|mod+left|Switch focus to container on the left| -|mod+righ|Switch focus to container on the right| -|mod+up|Switch focus to container at the top| -|mod+down|Switch focus to container at the bottom| -|mod+shift+left|Move current container to left| -|mod+shift+right|Move current container to right| -|mod+shift+up|Move current container to top| -|mod+shift+down|Move current container to bottom| -|mod+shift+space|Toggle floating mode of container/window| -|mod+shift+minus|Move current window to scratchpad| -|mod+minus|Bring windows from scratchpad| -|mod+ctl+left|Move to worksapce left| -|mod+ctl+right|Move to worksapce right| -|mod+1|Move to workspace 1| -|mod+2|Move to workspace 2| -|mod+3|Move to workspace 3| -|mod+4|Move to workspace 4| -|mod+shift+1|Move the current window to workspace 1| -|mod+shift+2|Move the current window to workspace 2| -|mod+shift+3|Move the current window to workspace 3| -|mod+shift+4|Move the current window to workspace 4| -|mod+r|(up,down,left,right) Resize current window| -|mod+ctl+r|Restart i3| -|mod+ctl+del|Show (e)xit, (h)ibernate, (r)eboot, (s)hutdown (o)ption| +| mod+Shift+Return | Alacritty Terminal | +| mod+Shift+w | Vivaldi Browser | +| mod+Shift+f | Ranger (Terminal File-Manager) | +| mod+Shift+t | Thunar (grafischer File-Manager) | +| mod+Shift+e | Mousepad (Text-Editor) | +| mod+Shift+m | Ghostwriter (Markdown-Editor) | +| mod+Shift+p | KeePassXC (Passwort-Manager) | +| mod+space | Rofi App-Launcher & Window-Switcher | +| mod+Ctrl+p | Pavucontrol (Audio-Einstellungen) | +| mod+Ctrl+b | bmenu im Terminal | + +### Fenster-Management + +| Shortcut | Beschreibung | +|---|---| +| mod+q | Fenster schliessen | +| mod+f | Vollbild umschalten | +| mod+z | Split-Richtung umschalten (horizontal/vertikal) | +| mod+s | Stacking-Layout | +| mod+d | Split-Layout | +| mod+Shift+space | Floating-Modus umschalten | +| mod+Left/Right/Up/Down | Fokus wechseln | +| mod+Shift+Left/Right/Up/Down | Fenster verschieben | +| mod+r | Resize-Modus (dann Pfeiltasten, Enter/Escape zum Beenden) | + +### Scratchpad + +| Shortcut | Beschreibung | +|---|---| +| mod+Tab | Scratchpad-Terminal ein-/ausblenden (Dropdown-Style) | +| mod+minus | Scratchpad anzeigen | +| mod+Shift+minus | Aktuelles Fenster ins Scratchpad verschieben | + +Ein Scratchpad-Terminal startet automatisch beim Login. Mit `mod+Tab` kann es jederzeit als schwebendes Terminal ein- und ausgeblendet werden. + +### Workspaces + +| Shortcut | Beschreibung | +|---|---| +| mod+1 bis mod+8 | Zu Workspace wechseln | +| mod+Shift+1 bis mod+8 | Fenster zu Workspace verschieben | +| mod+Ctrl+Left | Vorheriger Workspace | +| mod+Ctrl+Right | Nächster Workspace | + +**Workspace-Zuweisungen:** +- WS 1:WEB - Vivaldi Browser +- WS 2:TERM - Alacritty Terminal +- WS 3:EDIT - Mousepad, Ghostwriter +- WS 4:FILES - Thunar +- WS 5-8 - Frei verwendbar + +### Screenshots + +| Shortcut | Beschreibung | +|---|---| +| mod+Print | Flameshot GUI (Bereich auswählen, annotieren, speichern) | +| mod+Shift+Print | Fullscreen-Screenshot nach ~/Pictures/Screenshots/ | +| mod+Ctrl+Print | Aktives Fenster als Screenshot nach ~/Pictures/Screenshots/ | + +Screenshots werden in `~/Pictures/Screenshots/` gespeichert. Bei Flameshot GUI kann der Speicherort und die Annotation interaktiv gewählt werden. + +### Clipboard + +| Shortcut | Beschreibung | +|---|---| +| mod+c | Clipboard-Historie anzeigen (Rofi) | + +Greenclip läuft als Daemon im Hintergrund und speichert die Zwischenablage-Historie. Mit `mod+c` kann aus der Historie ausgewählt und eingefügt werden. + +### Display-Management + +| Shortcut | Beschreibung | +|---|---| +| mod+Ctrl+d | Autorandr: Monitor-Profil automatisch erkennen | +| mod+Ctrl+a | Arandr: grafisches Display-Layout öffnen | +| mod+Ctrl+m | Schnell: externer Monitor rechts neben Laptop | + +**Workflow für externe Monitore:** +1. Monitor/Beamer anschliessen +2. `mod+Ctrl+a` drücken, Layout arrangieren, Apply +3. Im Terminal: `autorandr --save profilname` (z.B. "buero", "beamer") +4. Ab jetzt wird das Profil beim Anschliessen automatisch erkannt + +### Benachrichtigungen (Dunst) + +| Shortcut | Beschreibung | +|---|---| +| mod+n | Aktuelle Notification schliessen | +| mod+Shift+n | Alle Notifications schliessen | +| mod+` (Backtick) | Letzte Notification erneut anzeigen | + +### Media-Keys (MacBook Fn-Tasten) + +| Taste | Beschreibung | +|---|---| +| Fn+F11 / F12 | Lautstärke leiser / lauter | +| Fn+F10 | Stummschalten | +| Fn+F1 / F2 | Helligkeit runter / hoch | + +Lautstärke- und Helligkeitsänderungen werden als Progress-Bar in einer Dunst-Notification angezeigt. + +### System + +| Shortcut | Beschreibung | +|---|---| +| mod+l | Bildschirm sperren (Blur-Lock) | +| mod+Ctrl+r | i3 neustarten (Layout bleibt erhalten) | +| mod+Ctrl+Escape | System-Menü: (e)xit, (u)ser switch, (h)ibernate, (r)eboot, (s)hutdown | +| mod+m | i3bar ein-/ausblenden | +| mod+Shift+g | Gap-Modus: (o)uter / (i)nner Gaps anpassen | + +### Autotiling + +Autotiling läuft automatisch im Hintergrund. Es wechselt die Split-Richtung automatisch basierend auf der Fenster-Geometrie: breite Fenster werden vertikal, hohe Fenster horizontal geteilt. Dadurch entsteht ein natürlicheres Layout ohne manuelles Umschalten. + +### Autostart + +Folgende Anwendungen starten automatisch beim Login: +- **picom** - Compositor (Transparenz, Schatten) +- **nitrogen** - Wallpaper +- **nm-applet** - Netzwerk-Manager +- **blueman-applet** - Bluetooth +- **xautolock** - Automatischer Bildschirm-Lock nach 10 Minuten +- **autorandr** - Automatische Monitor-Erkennung +- **greenclip** - Clipboard-Manager +- **autotiling** - Automatische Split-Richtung +- **KeePassXC** - Passwort-Manager mit Keyfile +- **sysinfo-notify** - System-Info Notification (IP, RAM, Disk, Akku) + +### Installierte Anwendungen + +| Anwendung | Beschreibung | +|---|---| +| alacritty | GPU-beschleunigtes Terminal | +| vivaldi-stable | Browser | +| rofi | App-Launcher & Window-Switcher | +| thunar | Grafischer File-Manager | +| ranger | Terminal File-Manager | +| mousepad | Text-Editor | +| ghostwriter | Markdown-Editor | +| keepassxc | Passwort-Manager | +| flameshot | Screenshot-Tool (interaktiv) | +| scrot | Screenshot-Tool (Kommandozeile) | +| picom | Compositor | +| dunst | Notification-Daemon | +| i3blocks | Status-Bar | +| i3lock-color | Lock-Screen mit Blur | +| greenclip | Clipboard-Manager | +| autorandr | Automatische Monitor-Profile | +| arandr | Grafisches Display-Layout | +| autotiling | Automatische Split-Richtung | +| brightnessctl | Helligkeitssteuerung | +| pavucontrol | Audio-Einstellungen | diff --git a/files/configs/i3/i3/config b/files/configs/i3/i3/config index f1d8cd1..cfd3857 100644 --- a/files/configs/i3/i3/config +++ b/files/configs/i3/i3/config @@ -46,6 +46,7 @@ bindsym $mod+Ctrl+p exec pavucontrol bindsym $mod+Ctrl+b exec alacritty -e bmenu bindsym $mod+Print --release exec --no-startup-id flameshot gui bindsym $mod+Shift+Print --release exec --no-startup-id flameshot full -p ~/Pictures/Screenshots/ +bindsym $mod+Ctrl+Print --release exec --no-startup-id scrot -u ~/Pictures/Screenshots/'window_%Y-%m-%d_%H%M%S.png' # Scratchpad terminal (dropdown-style) for_window [instance="scratchterm"] floating enable, resize set 1200 600, move position center, move scratchpad