urxvt: save PrintScreen to /tmp

This commit is contained in:
He4eT 2023-02-07 02:49:26 +03:00
commit ab246ed769
2 changed files with 4 additions and 1 deletions

View file

@ -6,7 +6,7 @@ URxvt*transparent: true
URxvt*tintColor: White URxvt*tintColor: White
URxvt*shading: 40 URxvt*shading: 40
URxvt*scrollBar: false URxvt*scrollBar: false
URxvt*print-pipe: cat > $HOME/urxvt.log URxvt*print-pipe: cat > /tmp/urxvt-screen-content.txt
URxvt.internalBorder: 20 URxvt.internalBorder: 20
URxvt*iso14755: False URxvt*iso14755: False

View file

@ -111,5 +111,8 @@ alias here-http='hostname -I && python3 -m http.server'
alias here-http-cors='npx http-server -p 8080 --cors' alias here-http-cors='npx http-server -p 8080 --cors'
alias here-https='PORT=8080 npx https-localhost' alias here-https='PORT=8080 npx https-localhost'
# See .XResources
alias ccc='vim -c "norm G" /tmp/urxvt-screen-content.txt'
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm