This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script lang="ts" context="module"> | |
// ECharts does not export init options type, so we mirror | |
// https://echarts.apache.org/en/api.html#echarts.init | |
export type ContainerOpts = | |
| { | |
devicePixelRatio?: number; | |
renderer?: 'svg' | 'canvas'; | |
useDirtyRect?: boolean; | |
useCoarsePointer?: boolean; | |
pointerSize?: number; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PIC=~/Pictures/temp.png | |
sleep 0.2; scrot -s $PIC | |
xclip -selection clipboard -t image/png -i < $PIC | |
rm $PIC |