This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
feat: copy screenshots to clipboard
master
Tovi Jaeschke-Rogers
2 weeks ago
parent
a9abe44772
commit
fd220c9196
2 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
.config/nvim/lua/plugins/linting.lua
+3
-1
.local/bin/screencapture
+ 1
- 0
.config/nvim/lua/plugins/linting.lua
View File
@ -95,6 +95,7 @@ return {
python
=
{
"
pylint
"
}
,
dockerfile
=
{
"
hadolint
"
}
,
blade
=
{
"
phpcs
"
}
,
html
=
{
"
curlylint
"
}
,
}
local
lint_augroup
=
vim.api
.
nvim_create_augroup
(
"
lint
"
,
{
+ 3
- 1
.local/bin/screencapture
View File
@ -1,3 +1,5 @@
#!/bin/sh
scrot -s "$HOME/Pictures/screenshots/%b%d::%H%M%S.png"
FILENAME="$HOME/Pictures/screenshots/$(date +'%b%d::%H%M%S').png"
scrot -s "$FILENAME" && xclip -selection clipboard -target image/png -i < "$FILENAME"
Write
Preview
Loading…
Cancel
Save