update_0.1

This commit is contained in:
2026-01-17 07:07:25 +04:00
parent cb1c156261
commit 3edad2f32b
29 changed files with 636 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
window_id=$(xdotool getactivewindow)
window_name=$(xprop -id "$window_id" WM_CLASS | cut -d '"' -f 4)
temp_file="/tmp/i3-sc-window.png"
maim -i "$window_id" "$temp_file"
echo "file://$temp_file" | xclip -selection clipboard -t text/uri-list
notify-send "Screenshot" "Captured window: $window_name" -u low