update_0.1
This commit is contained in:
Executable
+8
@@ -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
|
||||
Reference in New Issue
Block a user