diff --git a/Makefile b/Makefile index 9b1be11cc..99b82b5c4 100644 --- a/Makefile +++ b/Makefile @@ -399,9 +399,9 @@ nix-format-check: nix-format-clear-cache ## Check Nix file formatting. @echo "✅ All Nix files are properly formatted" .PHONY: nix-lint -nix-lint: ## Lint Nix files with statix. +nix-lint: ## Lint Nix files with statix from the flake/dev shell. @echo "🔍 Linting Nix files with statix..." - @$(NIX_EXEC) run nixpkgs#statix -- check . + @DEVENV_ROOT=$(CURDIR) $(NIX_ALLOW_UNFREE) $(NIX_EXEC) develop $(NIX_FLAGS) .# --command statix check . @echo "✅ All Nix files pass lint checks" .PHONY: nix-switch diff --git a/docs/HYPRLAND.md b/docs/HYPRLAND.md new file mode 100644 index 000000000..17c5babb7 --- /dev/null +++ b/docs/HYPRLAND.md @@ -0,0 +1,119 @@ +# Hyprland Keybindings + +`$mod` = Super (Win key) + +## App Launch + +| Shortcut | Action | +|---|---| +| `Super + T` | Terminal (ghostty) | +| `Super + G` | Chrome (focus or launch) | +| `Super + S` | Slack (focus or launch) | +| `Super + C` | Cursor | +| `Super + V` | VS Code | +| `Super + P` | 1Password | +| `Super + M` | Signal | +| `Super + D` | Discord (focus or launch) | +| `Super + F` | File manager (yazi) | +| `Hyper + Space` | App launcher (rofi) | + +## Window Focus + +| Shortcut | Action | +|---|---| +| `Super + H/J/K/L` | Focus left/down/up/right | +| `Super + ←/↓/↑/→` | Focus left/down/up/right | +| `Super + Tab` | Switch window (hyprshell) | +| `Super + \`` | Toggle previous window | + +## Window Management + +| Shortcut | Action | +|---|---| +| `Super + Q` | Close window | +| `Super + Shift + F` | Toggle floating | +| `Super Ctrl + F` | Fullscreen (maximize) | +| `Hyper + F` | Move to empty workspace + fullscreen | +| `Super + W` | Minimize (send to special:minimized) | +| `Super + Shift + W` | Restore all minimized windows | + +## Move Window (within workspace) + +| Shortcut | Action | +|---|---| +| `Super + Shift + K/J` | Move window up/down | +| `Super + Shift + ↑/↓` | Move window up/down | +| `Super + Alt + H/J/K/L` | Swap window left/down/up/right | +| `Super + Alt + Shift + ←/↓/↑/→` | Swap window left/down/up/right | +| `Super + left click drag` | Freely drag window | + +## Resize Window + +| Shortcut | Action | +|---|---| +| `Super + Ctrl + ←/↓/↑/→` | Resize window | +| `Super + ;` / `Super + '` | Resize narrower/wider | +| `Super + Ctrl + ;` / `Super + Ctrl + '` | Resize shorter/taller | +| `Super + right click drag` | Freely resize window | + +## Workspaces + +| Shortcut | Action | +|---|---| +| `Super + 1-9` | Go to workspace 1-9 | +| `Ctrl + ←/→` | Previous/next workspace | +| `Super + scroll` | Scroll through workspaces | +| `Super + N` | Go to empty workspace | +| `Super + Shift + 1-9` | Move window to workspace 1-9 | +| `Super + Shift + H/L` | Move window to prev/next workspace | +| `Super + Shift + ←/→` | Move window to empty workspace | + +## Scratchpad + +| Shortcut | Action | +|---|---| +| `Super + Ctrl + T` | Toggle scratchpad terminal | + +## Screenshot + +| Shortcut | Action | +|---|---| +| `Super + Shift + S` | Region screenshot (annotate) | +| `Print` | Region screenshot (quick) | +| `Shift + Print` | Window screenshot | +| `Ctrl + Print` | Full screen screenshot | +| `Hyper + 3` | Full screen screenshot | +| `Hyper + 4` | Region screenshot | +| `Hyper + 5` | Record screen | +| `Super + Print` | Color picker | + +## Clipboard + +| Shortcut | Action | +|---|---| +| `Super + Shift + V` | Clipboard history (rofi, auto-paste) | +| `Super + E` | Emoji picker (auto-paste) | + +## System + +| Shortcut | Action | +|---|---| +| `Super + I` | Network menu | +| `Super + B` | Bluetooth manager | +| `Super + A` | Audio (pavucontrol) | +| `Super + Shift + Q` | Power menu | +| `Hyper + L` | Lock screen | + +## Media Keys (Framework 13) + +| Key | Action | +|---|---| +| `F1` | Mute | +| `F2 / F3` | Volume down/up | +| `F4 / F5` | Previous/next track | +| `F6` | Play/pause | +| `F7 / F8` | Brightness down/up | +| `F9` | Toggle display scale (1.0x ↔ 1.567x) | +| `F10` | Airplane mode | +| `F11` | Full screen screenshot | +| `Hyper + -` / `Hyper + =` | Zoom display out/in | diff --git a/home-manager/modules/xremap/default.nix b/home-manager/modules/xremap/default.nix index a8aa848d5..93c44959e 100644 --- a/home-manager/modules/xremap/default.nix +++ b/home-manager/modules/xremap/default.nix @@ -100,6 +100,7 @@ in # Only intercept keyd output — SUPER (CapsLock/RightAlt) goes straight to Hyprland deviceNames = [ "keyd virtual keyboard" ]; config = { + virtual_modifiers = [ "Alt-Shift-Super" ]; keymap = [ { name = "Framework Command (Ghostty)"; diff --git a/home-manager/programs/git/.gitignore.global b/home-manager/programs/git/.gitignore.global index fe93b95ef..810a47707 100644 --- a/home-manager/programs/git/.gitignore.global +++ b/home-manager/programs/git/.gitignore.global @@ -35,6 +35,11 @@ Temporary Items tmp .tmp* tmp* + +# AI +.cursor/ +.entire/ +.serena/ # Ignore deprecated files *.deprecated diff --git a/named-hosts/matic/default.nix b/named-hosts/matic/default.nix index e33700821..8179e30c4 100644 --- a/named-hosts/matic/default.nix +++ b/named-hosts/matic/default.nix @@ -58,6 +58,7 @@ inputs.nixpkgs.lib.nixosSystem { "amdgpu.abmlevel=3" # auto backlight management "amdgpu.runpm=1" # runtime power management for GPU "amd_pstate=active" # AMD P-state driver (better than acpi-cpufreq) + "amdgpu.dcdebugmask=0x410" # disable PSR and REPLAY to fix screen flickering ]; # Networking