my bpd is killing me again

This commit is contained in:
2025-07-07 14:30:33 +03:00
parent 11414c9a8c
commit 8630d7ca37
19 changed files with 121 additions and 28 deletions

View File

@@ -53,10 +53,10 @@ const debug: boolean = false as false | true;
if (debug === true) {
splashes.forEach(async (a) => {
execSync(`notify-send "Sveicināti Hyprland!" "${a}"`);
execSync(`notify-send "Welcome to Hyprland!" "${a}"`);
});
} else {
const randomSplash = chooseRandom(splashes);
execSync(`notify-send "Sveicināti Hyprland!" "${randomSplash}"`);
execSync(`notify-send "Welcome to Hyprland!" "${randomSplash}"`);
}

View File

@@ -31,8 +31,8 @@ try {
const url = await UploadToEZ(readFileSync(filePath));
execSync(`echo "${url}" | wl-copy -n`);
execSync(`notify-send "Ekrānuzņēmums" "Augšuplādēts e-z.host ${Date.now() - start}ms"`);
execSync(`notify-send "Screenshot" "Uploaded to e-z.host in ${Date.now() - start}ms"`);
} catch (e_) {
execSync(`notify-send "Kļūda" "${`${e_}`}"`);
execSync(`notify-send "Error" "${`${e_}`}"`);
}

View File

@@ -7,5 +7,5 @@ LAST_SCREENSHOT=$(ls -t "$SCREENSHOTS_DIR" | head -n 1)
if [[ -n "$LAST_SCREENSHOT" ]]; then
swappy -f "$SCREENSHOTS_DIR/$LAST_SCREENSHOT" -o "$SCREENSHOTS_DIR/$LAST_SCREENSHOT"
else
notify-send -u critical -t 3 "Kļūda" "Nevar atrast failu!"
notify-send -u critical -t 3 "Error" "Can't find the damn file :("
fi

View File

@@ -7,5 +7,5 @@ echo "$SS_PATH"
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then
wl-copy < "$SS_PATH"
notify-send "Ekrānuzņēmums" "Attēls nokopēts starpliktuvē!"
notify-send "Screenshot" "Fullscreen copied to clipboard!"
fi

View File

@@ -7,5 +7,5 @@ echo "$SS_PATH"
if [[ -n "$SS_PATH" && "$SS_PATH" == /home/ocbwoy3/Pictures/Screenshots/* ]]; then
wl-copy < "$SS_PATH"
notify-send "Ekrānuzņēmums" "Attēls nokopēts starpliktuvē!"
notify-send "Screenshot" "Selection copied to clipboard!"
fi

View File

@@ -3,4 +3,4 @@ KBLANG=$(hyprctl getoption input:kb_layout | awk 'NR==1{print $2}')
# hyprctl switchxkblayout semico--usb-gaming-keyboard- next
hyprctl switchxkblayout current next
notify-send -u low "Tastatūra" "Valoda mainīta!"
notify-send -u low "Keyboard" "Language changed"