tui monitor configuration tool for niri with visual layout, drag-and-drop, and profile management

refactor: improve code quality with error handling and constants

- Add consistent error wrapping with fmt.Errorf and %w across all functions - Extract duplicate hyprctl command execution into reusable execHyprctl and execHyprctlJSON helper functions - Add context timeouts (5s) to all exec.Command calls to prevent hanging - Replace magic numbers with named constants for file permissions, world dimensions, and UI layout - Improve code maintainability and error traceability


Author Eran Sandler Date Commit Parent a2c7a499
+106 -62
3 changed files
+106 -62
3 changed files