Skip to content

Commit

Permalink
Add i3 keybinds to take screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
joaothallis committed Jan 28, 2024
1 parent a1dec04 commit c40120b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,16 @@ bindsym XF86MonBrightnessDown exec --no-startup-id sudo brightnessctl set 5%-

bindsym $mod+i bar mode invisible

# Screenshots
bindsym Print exec --no-startup-id maim "$HOME/Pictures/Screenshots/$(date)"
bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "$HOME/Pictures/Screenshots/$(date)"
bindsym Shift+Print exec --no-startup-id maim --select "$HOME/Pictures/Screenshots/$(date)"

## Clipboard Screenshots
bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png
bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png
bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png

exec picom

exec --no-startup-id feh --bg-fill ~/Pictures/wallpaper.jpg

0 comments on commit c40120b

Please sign in to comment.