Initial NixOS config
This commit is contained in:
151
KEYBINDINGS.md
Normal file
151
KEYBINDINGS.md
Normal file
@@ -0,0 +1,151 @@
|
||||
# Hyprland Keybindings Cheat Sheet
|
||||
|
||||
## Modifier Key
|
||||
**SUPER** = Windows/Command Key
|
||||
|
||||
---
|
||||
|
||||
## 🚀 Launch Applications
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + Return` | Open Terminal (Kitty) |
|
||||
| `SUPER + D` | Application Launcher (Wofi) |
|
||||
| `SUPER + E` | File Manager (Thunar) |
|
||||
|
||||
---
|
||||
|
||||
## 🪟 Window Management
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + Q` | Close Window |
|
||||
| `SUPER + V` | Toggle Floating |
|
||||
| `SUPER + F` | Toggle Fullscreen |
|
||||
| `SUPER + P` | Toggle Pseudo-tiling |
|
||||
| `SUPER + J` | Toggle Split Direction |
|
||||
| `SUPER + M` | Exit Hyprland |
|
||||
|
||||
---
|
||||
|
||||
## 🧭 Navigation
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + ↑` | Focus Up |
|
||||
| `SUPER + ↓` | Focus Down |
|
||||
| `SUPER + ←` | Focus Left |
|
||||
| `SUPER + →` | Focus Right |
|
||||
|
||||
---
|
||||
|
||||
## 🔢 Workspaces
|
||||
|
||||
### Switch Workspace
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + 1` | Workspace 1 |
|
||||
| `SUPER + 2` | Workspace 2 |
|
||||
| `SUPER + 3` | Workspace 3 |
|
||||
| `SUPER + 4` | Workspace 4 |
|
||||
| `SUPER + 5` | Workspace 5 |
|
||||
| `SUPER + 6` | Workspace 6 |
|
||||
| `SUPER + 7` | Workspace 7 |
|
||||
| `SUPER + 8` | Workspace 8 |
|
||||
| `SUPER + 9` | Workspace 9 |
|
||||
| `SUPER + 0` | Workspace 10 |
|
||||
|
||||
### Move Window to Workspace
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + SHIFT + 1` | Move to Workspace 1 |
|
||||
| `SUPER + SHIFT + 2` | Move to Workspace 2 |
|
||||
| ... | ... |
|
||||
| `SUPER + SHIFT + 0` | Move to Workspace 10 |
|
||||
|
||||
### Scroll Workspaces
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + Mouse Wheel Up` | Next Workspace |
|
||||
| `SUPER + Mouse Wheel Down` | Previous Workspace |
|
||||
|
||||
---
|
||||
|
||||
## 🖱️ Mouse Actions
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + Left Click + Drag` | Move Window |
|
||||
| `SUPER + Right Click + Drag` | Resize Window |
|
||||
|
||||
---
|
||||
|
||||
## 📸 Screenshots
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `SUPER + SHIFT + S` | Screenshot (to clipboard) |
|
||||
| `Print` | Screenshot (save to ~/Pictures) |
|
||||
|
||||
---
|
||||
|
||||
## 🔊 Media Controls
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `Volume Up Key` | Increase Volume |
|
||||
| `Volume Down Key` | Decrease Volume |
|
||||
| `Mute Key` | Toggle Mute |
|
||||
| `Mic Mute Key` | Toggle Microphone Mute |
|
||||
|
||||
---
|
||||
|
||||
## 🔆 Brightness
|
||||
|
||||
| Keybinding | Action |
|
||||
|------------|--------|
|
||||
| `Brightness Up Key` | Increase Brightness |
|
||||
| `Brightness Down Key` | Decrease Brightness |
|
||||
|
||||
---
|
||||
|
||||
## 💡 Tips
|
||||
|
||||
1. **First Time?** Press `SUPER + Return` to open a terminal
|
||||
2. **Find Apps?** Press `SUPER + D` to search for applications
|
||||
3. **Need Help?** Most settings are in `~/.config/nixos/home/hyprland.nix`
|
||||
4. **Customize?** Edit the config and run `update` in terminal
|
||||
5. **Stuck?** Press `SUPER + M` to exit Hyprland
|
||||
|
||||
---
|
||||
|
||||
## 🛠️ Useful Commands
|
||||
|
||||
```bash
|
||||
# Reload Hyprland config (from terminal)
|
||||
hyprctl reload
|
||||
|
||||
# Check Hyprland info
|
||||
hyprctl version
|
||||
|
||||
# List all windows
|
||||
hyprctl clients
|
||||
|
||||
# View logs
|
||||
cat /tmp/hypr/$(ls -t /tmp/hypr/ | head -n 1)/hyprland.log
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🎨 Customization
|
||||
|
||||
To change keybindings, edit: `~/.config/nixos/home/hyprland.nix`
|
||||
|
||||
Then rebuild:
|
||||
```bash
|
||||
update # or: sudo nixos-rebuild switch --flake ~/.config/nixos#HOSTNAME
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
**Pro Tip:** Print this cheat sheet or keep it handy while you learn Hyprland! 📄
|
||||
Reference in New Issue
Block a user