This commit is contained in:
2026-03-27 23:14:29 +02:00
parent 08fd0ea72c
commit 15bc9617a4
46 changed files with 868 additions and 587 deletions

View File

@@ -11,9 +11,9 @@ setConsoleTitle("Screenshot Uploader");
try {
const start = Date.now();
$`notify-send -t 1000 "Screenshot" "Uploading.."`
$`notify-send -a dotfiles-screenshot -t 1000 "Screenshot" "Uploading.."`
.nothrow()
.catch((a) => {});
.catch((a) => { });
configDotenv({
path: `${homedir()}/.ocbwoy3-dotfiles-SECRET-DO-NOT-TOUCH.env`,
});
@@ -34,8 +34,8 @@ try {
execSync(`echo "${url}" | wl-copy -n`);
execSync(
`notify-send "Ekrānuzņēmums" "Attēls augšuplādēts e-z.host ${Date.now() - start}ms"`,
`notify-send -a dotfiles-screenshot "Screenshot" "Uploaded to e-z.host in ${Date.now() - start}ms"`,
);
} catch (e_) {
execSync(`notify-send "Error" "${`${e_}`}"`);
execSync(`notify-send -a dotfiles-screenshot "Error" "${`${e_}`}"`);
}