Skip to content
Snippets Groups Projects
Commit cf0c532f authored by JiriKalvoda's avatar JiriKalvoda
Browse files

I3 Add printscreengimp.

parent 9617b28c
No related branches found
No related tags found
No related merge requests found
......@@ -268,6 +268,8 @@ mode "System modifikator"
bindsym Print exec gnome-screenshot -w
bindsym Shift+Print exec gnome-screenshot
bindsym Control+Print exec gnome-screenshot -i
bindsym $mod+Print exec printscreengimp
exec --no-startup-id /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 &
......
#!/bin/bash
cd "$(dirname "$0")"ZZ
cd "$(dirname "$0")"
if [[ $(id -u) -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
apt install numlockx
apt install jq
cp config ~/.config/i3/config
cp toggle-border ~/.config/i3/i3-toggle-border
cp printscreengimp /usr/bin/
chmod o+x /usr/bin/printscreengimp
#!/bin/bash
gnome-screenshot -f ~/screenshot.png;
sleep .2;i3-msg "workspace 10; exec gimp ~/screenshot.png"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment