Merge pull request #1 from DRAGONTOS/hy3

cool: added some cool splashes and set some env's
This commit is contained in:
Kaley Fischer 2023-11-23 08:50:26 +01:00 committed by GitHub
commit a45bc57fdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View file

@ -49,6 +49,13 @@ inline const std::vector<std::string> SPLASHES = {
"Ding ding pch n daa, bam-ba-ba-re-bam baram bom bom baba-bam-bam-bommm", "Ding ding pch n daa, bam-ba-ba-re-bam baram bom bom baba-bam-bam-bommm",
"Súbeme la radio que esta es mi canción", "Súbeme la radio que esta es mi canción",
"I'm beggin', beggin' you", "I'm beggin', beggin' you",
"Never Gonna Give You Up",
"People are strange, when you're a stranger",
"Sun is shining in the sky, there ain't a cloud in sight",
"Wham, bam, shang a lang",
"Did you think I'd die? Oh, no, not I, I will survive.",
"But I would walk 500 miles, and I would walk 500 more",
"COUNTRY ROADS, TAKE ME HOME!",
"Never gonna let you down (I am trying!)", "Never gonna let you down (I am trying!)",
"\"I use Arch, btw\" - John Cena", "\"I use Arch, btw\" - John Cena",
"\"Hyper\".replace(\"e\", \"\")", "\"Hyper\".replace(\"e\", \"\")",
@ -62,4 +69,4 @@ inline const std::vector<std::string> SPLASHES = {
"The AUR packages always work, except for the times they don't.", "The AUR packages always work, except for the times they don't.",
"Funny animation compositor woo" "Funny animation compositor woo"
// clang-format on // clang-format on
}; };

View file

@ -34,7 +34,11 @@ int main(int argc, char** argv) {
setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 1); setenv("_JAVA_AWT_WM_NONREPARENTING", "1", 1);
setenv("MOZ_ENABLE_WAYLAND", "1", 1); setenv("MOZ_ENABLE_WAYLAND", "1", 1);
setenv("XDG_CURRENT_DESKTOP", "Hyprland", 1); setenv("XDG_CURRENT_DESKTOP", "Hyprland", 1);
setenv("XDG_SESSION_TYPE", "wayland", 1);
setenv("QT_QPA_PLATFORM", "wayland", 1);
setenv("SDL_VIDEODRIVER", "wayland", 1);
setenv("OZONE_PLATFORM", "wayland", 1);
// parse some args // parse some args
std::string configPath; std::string configPath;
bool ignoreSudo = false; bool ignoreSudo = false;