Added clipboard functionality to config/.script/screenshot.sh

Fixed window screenshot in config/.config/i3/config
Made terminal transparent again
This commit is contained in:
TuDatTr
2020-05-22 01:39:09 +02:00
parent 45db1378c2
commit c0d11e4b79
9 changed files with 19 additions and 8 deletions

View File

@@ -4,5 +4,5 @@ augroup templates
autocmd BufNewFile *.* silent! execute '0r $HOME/.vim/templates/skeleton.'.expand("<afile>:e")
" parse special text in the templates after the read
autocmd BufNewFile * %substitute#\[:VIM_EVAL:\]\(.\{-\}\)\[:END_EVAL:\]#\=eval(submatch(1))#ge
autocmd BufNewFile * %s#\[:VIM_EVAL:\]\(.\{-\}\)\[:END_EVAL:\]#\=eval(submatch(1))#ge
augroup END

View File

@@ -1,7 +1,5 @@
---
title:
title: [:VIM_EVAL:]expand('%:p:h:t')[:END_EVAL:]
author: Tuan-Dat Tran
date: [:VIM_EVAL:]strftime('%Y-%m-%d')[:END_EVAL:]
...
# [:VIM_EVAL:]system ("basename $(pwd)")[:END_EVAL:]

View File

@@ -0,0 +1 @@
#!/bin/sh