Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UserConfig
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jiří Kalvoda
UserConfig
Commits
cf0c532f
Commit
cf0c532f
authored
5 years ago
by
JiriKalvoda
Browse files
Options
Downloads
Patches
Plain Diff
I3 Add printscreengimp.
parent
9617b28c
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
i3/config
+2
-0
2 additions, 0 deletions
i3/config
i3/init.sh
+4
-1
4 additions, 1 deletion
i3/init.sh
i3/printscreengimp
+3
-0
3 additions, 0 deletions
i3/printscreengimp
with
9 additions
and
1 deletion
i3/config
+
2
−
0
View file @
cf0c532f
...
...
@@ -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 &
...
...
This diff is collapsed.
Click to expand it.
i3/init.sh
+
4
−
1
View file @
cf0c532f
#!/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
This diff is collapsed.
Click to expand it.
i3/printscreengimp
0 → 100644
+
3
−
0
View file @
cf0c532f
#!/bin/bash
gnome-screenshot
-f
~/screenshot.png
;
sleep
.2
;
i3-msg
"workspace 10; exec gimp ~/screenshot.png"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment