screenshots
This commit is contained in:
parent
f9d1198bd0
commit
a0e3533f39
2
Makefile
2
Makefile
@ -67,7 +67,7 @@ gpg:
|
||||
echo -e "default-cache-ttl 1\nmax-cache-ttl 1" > ~/.gnupg/gpg-agent.conf; echo RELOADAGENT | gpg-connect-agent
|
||||
|
||||
i3:
|
||||
echo "sudo pacman -S nitrogen picom compton ttf-font-awesome"
|
||||
echo "sudo pacman -S nitrogen picom compton ttf-font-awesome xdotool xclip maim"
|
||||
test -d ~/.config/i3 || \
|
||||
mkdir -p ~/.config/i3
|
||||
mkdir -p ~/.config/i3status
|
||||
|
||||
@ -194,3 +194,15 @@ bindsym $mod+r mode "resize"
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
|
||||
# Screenshots
|
||||
bindsym Print exec --no-startup-id maim "$HOME/Pictures/Screenshots/$(date +'%d-%m-%Y-%T').png"
|
||||
bindsym $mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) "$HOME/Pictures/Screenshots/$(date +'%d-%m-%Y-%T').png"
|
||||
bindsym Shift+Print exec --no-startup-id maim --select "$HOME/Pictures/Screenshots/$(date +'%d-%m-%Y-%T').png"
|
||||
|
||||
## 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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user