add Hyprland desktop with XMonad-style layouts
Manage the desktop through native Lua and UWSM with Grid, Monocle, Tabs and Scrolling layouts. Add workspace-local navigation, bounded scrolling focus and a runtime Grid ratio defaulting to 1.20. Configure the HDR OLED and portrait LG, HDMI recovery, NVIDIA suspend handling, independent locking and Plasma fallback. Fix Waybar workspace IPC and provide immediate per-output layout status. Include desktop controls, screenshots, usage documentation and controller/panel regression tests. Use the authorized local illustris flake input.
This commit is contained in:
18 files changed
+2101
-16
No files matched your search
@@ -0,0 +1,16 @@
|
||||
directory="${XDG_PICTURES_DIR:-$HOME/Pictures}/Screenshots"
|
||||
mkdir -p "$directory"
|
||||
file="$directory/$(date +%Y-%m-%d_%H-%M-%S_%N).png"
|
||||
case "${1:-monitor}" in
|
||||
region)
|
||||
geometry=$(slurp) || exit 0
|
||||
[ -n "$geometry" ] || exit 0
|
||||
grim -g "$geometry" "$file" ;;
|
||||
monitor)
|
||||
output=$(hyprctl -j monitors | jq -r '.[] | select(.focused) | .name')
|
||||
grim -o "$output" "$file" ;;
|
||||
all) grim "$file" ;;
|
||||
*) echo 'Usage: desktop-screenshot {monitor|all|region}' >&2; exit 2 ;;
|
||||
esac
|
||||
wl-copy --type image/png < "$file"
|
||||
notify-send -i "$file" 'Screenshot saved and copied' "$file"
|
||||
Reference in new issue
Block a user