18 lines
845 B
Plaintext
18 lines
845 B
Plaintext
# i3 config file example for screenshot tool bindings
|
|
# Add these lines to your i3 config file (typically ~/.config/i3/config)
|
|
|
|
# Screenshot with freeze and area selection (main script)
|
|
bindsym Print exec --no-startup-id /path/to/i3-screenshot.sh
|
|
|
|
# Alternative screenshot with freeze and area selection
|
|
bindsym Shift+Print exec --no-startup-id /path/to/i3-screenshot-alt.sh
|
|
|
|
# Simple screenshot with area selection (no freeze)
|
|
bindsym Ctrl+Print exec --no-startup-id /path/to/i3-screenshot-simple.sh
|
|
|
|
# You can also add more specific bindings if needed
|
|
# For example, to capture the active window:
|
|
bindsym $mod+Print exec --no-startup-id maim -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png
|
|
|
|
# Or to capture the entire screen:
|
|
bindsym $mod+Shift+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png |