Skip to content

Commit 93acdeb

Browse files
committed
chore: clean up repo and add English shortcuts docs
- Add __pycache__/ and *.pyc to .gitignore - Remove accidentally committed Python cache files - Add SHORTCUTS-EN.md (English translation of keyboard shortcuts)
1 parent 5ca2aa6 commit 93acdeb

3 files changed

Lines changed: 165 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ package-lock.json
2121
!.vscode/settings.json
2222
!.vscode/extensions.json
2323

24+
# Python
25+
__pycache__/
26+
*.pyc
27+
*.pyo
28+
2429
# Misc
2530
_sass/dist
2631
assets/js/dist

SHORTCUTS-EN.md

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
# Keyboard Shortcuts - 4ndy-bspwm
2+
3+
> Configuration optimized for macOS host + Parallels VM
4+
5+
## Applications
6+
7+
| Shortcut | Alternative | Action |
8+
|----------|-------------|--------|
9+
| `Super + Enter` | `Alt + Enter` | Open terminal (kitty) |
10+
| `Super + D` | `Alt + D` | Open launcher (Rofi) |
11+
| `Super + Shift + F` | - | Open Firefox |
12+
| `Super + Shift + B` | - | Open Burpsuite |
13+
14+
## Window Management
15+
16+
| Shortcut | Alternative | Action |
17+
|----------|-------------|--------|
18+
| `Super + W` | `Alt + W` | Close window |
19+
| `Super + Shift + W` | `Alt + Shift + W` | Kill window (force close) |
20+
| `Super + M` | - | Toggle tiled/monocle layout |
21+
| `Super + G` | - | Swap with largest window |
22+
| `Super + Y` | - | Send marked node to preselection |
23+
24+
## Window States
25+
26+
| Shortcut | Alternative | Action |
27+
|----------|-------------|--------|
28+
| `Super + T` | `Alt + T` | Tiled mode |
29+
| `Super + Shift + T` | `Alt + Shift + T` | Pseudo-tiled mode |
30+
| `Super + S` | `Alt + S` | Floating mode |
31+
| `Super + F` | `Alt + F` | Fullscreen mode |
32+
33+
## Window Flags
34+
35+
| Shortcut | Action |
36+
|----------|--------|
37+
| `Super + Ctrl + M` | Mark window |
38+
| `Super + Ctrl + X` | Lock window |
39+
| `Super + Ctrl + Y` | Sticky window |
40+
| `Super + Ctrl + Z` | Private window |
41+
42+
## Window Navigation
43+
44+
| Shortcut | Alternative | Action |
45+
|----------|-------------|--------|
46+
| `Super + Arrows` | `Alt + Arrows` | Focus window in direction |
47+
| `Super + Shift + Arrows` | `Alt + Shift + Arrows` | Swap window in direction |
48+
| `Super + P` | - | Focus parent node |
49+
| `Super + B` | - | Focus sibling node |
50+
| `Super + ,` | - | Focus first child |
51+
| `Super + .` | - | Focus second child |
52+
| `Super + C` | - | Next window in desktop |
53+
| `Super + Shift + C` | - | Previous window in desktop |
54+
| `Super + [` | - | Previous desktop (same monitor) |
55+
| `Super + ]` | - | Next desktop (same monitor) |
56+
| `Super + `` ` `` | - | Last focused window |
57+
| `Super + Tab` | - | Last desktop |
58+
| `Super + O` | - | Older window in history |
59+
| `Super + I` | - | Newer window in history |
60+
61+
## Desktops / Workspaces
62+
63+
### Switch Desktop
64+
65+
| Shortcut | Alternative (macOS) | Action |
66+
|----------|---------------------|--------|
67+
| `Super + 1` | `Alt + F1` | Go to desktop 1 |
68+
| `Super + 2` | `Alt + F2` | Go to desktop 2 |
69+
| `Super + 3` | `Alt + F3` | Go to desktop 3 |
70+
| `Super + 4` | `Alt + F4` | Go to desktop 4 |
71+
| `Super + 5` | `Alt + F5` | Go to desktop 5 |
72+
| `Super + 6` | `Alt + F6` | Go to desktop 6 |
73+
| `Super + 7` | `Alt + F7` | Go to desktop 7 |
74+
| `Super + 8` | `Alt + F8` | Go to desktop 8 |
75+
| `Super + 9` | `Alt + F9` | Go to desktop 9 |
76+
| `Super + 0` | `Alt + F10` | Go to desktop 10 |
77+
78+
### Move Window to Desktop
79+
80+
| Shortcut | Alternative (macOS) | Action |
81+
|----------|---------------------|--------|
82+
| `Super + Shift + 1` | `Alt + Shift + F1` | Move window to desktop 1 |
83+
| `Super + Shift + 2` | `Alt + Shift + F2` | Move window to desktop 2 |
84+
| `Super + Shift + 3` | `Alt + Shift + F3` | Move window to desktop 3 |
85+
| `Super + Shift + 4` | `Alt + Shift + F4` | Move window to desktop 4 |
86+
| `Super + Shift + 5` | `Alt + Shift + F5` | Move window to desktop 5 |
87+
| `Super + Shift + 6` | `Alt + Shift + F6` | Move window to desktop 6 |
88+
| `Super + Shift + 7` | `Alt + Shift + F7` | Move window to desktop 7 |
89+
| `Super + Shift + 8` | `Alt + Shift + F8` | Move window to desktop 8 |
90+
| `Super + Shift + 9` | `Alt + Shift + F9` | Move window to desktop 9 |
91+
| `Super + Shift + 0` | `Alt + Shift + F10` | Move window to desktop 10 |
92+
93+
## Preselection
94+
95+
| Shortcut | Action |
96+
|----------|--------|
97+
| `Super + Ctrl + Alt + Arrows` | Preselect direction for new window |
98+
| `Super + Ctrl + 1-9` | Preselect ratio (0.1 - 0.9) |
99+
| `Super + Ctrl + Alt + Space` | Cancel node preselection |
100+
| `Super + Ctrl + Shift + Space` | Cancel all preselections |
101+
102+
## Resize and Move
103+
104+
| Shortcut | Action |
105+
|----------|--------|
106+
| `Super + Ctrl + Arrows` | Move floating window (20px) |
107+
| `Alt + Super + Arrows` | Resize window |
108+
109+
## System
110+
111+
| Shortcut | Action |
112+
|----------|--------|
113+
| `Super + Escape` | Reload sxhkd configuration |
114+
| `Super + Alt + R` | Restart bspwm |
115+
| `Super + Alt + Q` | Quit bspwm session |
116+
| `Ctrl + Alt + L` | Lock screen (i3lock-fancy) |
117+
| `Ctrl + Alt + P` | Power off (forced - for VMs) |
118+
| `Ctrl + Alt + R` | Reboot system |
119+
120+
## Audio
121+
122+
| Shortcut | Action |
123+
|----------|--------|
124+
| `Ctrl + Shift + Up` | Increase volume (+5%) |
125+
| `Ctrl + Shift + Down` | Decrease volume (-5%) |
126+
| `Ctrl + Shift + M` | Mute/unmute audio |
127+
128+
## Screenshots
129+
130+
| Shortcut | Action |
131+
|----------|--------|
132+
| `Print` | Full screenshot (saves to ~/Screenshots) |
133+
| `Ctrl + Print` | Selection screenshot (Flameshot GUI) |
134+
135+
## Terminal (Kitty)
136+
137+
| Shortcut | Action |
138+
|----------|--------|
139+
| `Ctrl + Shift + Enter` | New split window |
140+
| `Ctrl + Shift + T` | New tab |
141+
| `Ctrl + Shift + W` | Close tab/window |
142+
| `Ctrl + Shift + Z` | Zoom current pane |
143+
| `Ctrl + Arrows` | Navigate between panes |
144+
| `Ctrl + Shift + C` | Copy |
145+
| `Ctrl + Shift + V` | Paste |
146+
| `F1` / `F2` | Copy/Paste buffer A |
147+
| `F3` / `F4` | Copy/Paste buffer B |
148+
149+
---
150+
151+
## Monitor Configuration (Parallels)
152+
153+
| Monitor | Position | Desktops |
154+
|---------|----------|----------|
155+
| Virtual-1 | Right (primary) | 1, 2, 3, 4, 5 |
156+
| Virtual-2 | Left (secondary) | 6, 7, 8, 9, 10 |
157+
158+
---
159+
160+
> **Note:** Shortcuts with `Alt` are macOS-compatible alternatives, where `Super` (Cmd) may be intercepted by the host system.
-1.23 KB
Binary file not shown.

0 commit comments

Comments
 (0)