i3wm-screenshot-tool/i3-config-example.txt

27 lines
1.2 KiB
Plaintext

# i3 config file example for screenshot tool bindings
# Add these lines to your i3 config file (typically ~/.config/i3/config)
# Screenshot with area selection (main script, updated for multi-monitor)
bindsym Print exec --no-startup-id /path/to/i3-screenshot.sh
# Multi-monitor screenshot with selection menu (requires rofi)
bindsym $mod+Print exec --no-startup-id /path/to/i3-screenshot-multimonitor.sh
# Countdown screenshot with selection menu (avoids capturing menus)
bindsym $mod+Shift+s exec --no-startup-id /path/to/i3-screenshot-countdown.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
# ImageMagick import-based screenshot
bindsym Mod1+Print exec --no-startup-id /path/to/i3-screenshot-import.sh
# Additional bindings for specific use cases
# Capture the active window:
bindsym $mod+Shift+Print exec --no-startup-id maim -i $(xdotool getactivewindow) | xclip -selection clipboard -t image/png
# Capture the entire screen:
bindsym $mod+Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png