1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42:50 -05:00

screenshot: add screenshot-window support for DWL/MangoWC

This commit is contained in:
bbedward
2025-12-08 09:39:42 -05:00
parent 8838fd67b9
commit e606a76a86
3 changed files with 451 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ Modes:
full - Capture the focused output
all - Capture all outputs combined
output - Capture a specific output by name
window - Capture the focused window (Hyprland only)
window - Capture the focused window (Hyprland/DWL)
last - Capture the last selected region
Output format (--format):
@@ -91,9 +91,8 @@ If no previous region exists, falls back to interactive selection.`,
var ssWindowCmd = &cobra.Command{
Use: "window",
Short: "Capture the focused window",
Long: `Capture the currently focused window.
Currently only supported on Hyprland.`,
Run: runScreenshotWindow,
Long: `Capture the currently focused window. Supported on Hyprland and DWL.`,
Run: runScreenshotWindow,
}
var ssListCmd = &cobra.Command{