idk anymore
This commit is contained in:
@@ -37,26 +37,21 @@ function chooseRandom(array: string[]): string {
|
||||
return array[index];
|
||||
}
|
||||
|
||||
const splashes = [
|
||||
|
||||
"Keep on ricing yo' Hyprland...",
|
||||
|
||||
"Contains infinite genders!",
|
||||
"You are valid!",
|
||||
|
||||
"Blogsy is so AWESOME!",
|
||||
"I love Blogsy!",
|
||||
"What’s yer favorite type o’ wood?",
|
||||
const splashes = [
|
||||
"大好き<b>ラルセイ</b>",
|
||||
"ハイパーランド"
|
||||
];
|
||||
|
||||
const debug: boolean = false as false | true;
|
||||
const debug: boolean = true as false | true;
|
||||
|
||||
const welcome = "ハイパーランド へようこそ!" // "Sveicināti Hyprland!"
|
||||
|
||||
if (debug === true) {
|
||||
splashes.forEach(async (a) => {
|
||||
execSync(`notify-send "Welcome to Hyprland!" "${a}"`);
|
||||
execSync(`notify-send "${welcome}" "${a}"`);
|
||||
});
|
||||
} else {
|
||||
const randomSplash = chooseRandom(splashes);
|
||||
|
||||
execSync(`notify-send "Welcome to Hyprland!" "${randomSplash}"`);
|
||||
execSync(`notify-send "${welcome}" "${randomSplash}"`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user