diff --git a/config/waybar/modules.json b/config/waybar/modules.json
index a3286e2..f2ff57f 100644
--- a/config/waybar/modules.json
+++ b/config/waybar/modules.json
@@ -9,7 +9,7 @@
},
"mpris": {
- "player": ["cider", "OCbwoy3_s_iPhone"],
+ "player": "cider", // ["cider", "OCbwoy3_s_iPhone"],
"interval": 1,
"on-scroll-up": "playerctl -p cider,OCbwoy3_s_iPhone volume 0.05+",
"on-scroll-down": "playerctl -p cider,OCbwoy3_s_iPhone volume 0.05-",
diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix
index 07ec0cb..d92ab7d 100644
--- a/hosts/default/configuration.nix
+++ b/hosts/default/configuration.nix
@@ -330,6 +330,9 @@
programs.obs-studio = {
enable = true;
+ package = (pkgs.obs-studio.override {
+ cudaSupport = true;
+ });
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
diff --git a/modules/nixos/nvidia.nix b/modules/nixos/nvidia.nix
index 3de8a5b..3e01cad 100644
--- a/modules/nixos/nvidia.nix
+++ b/modules/nixos/nvidia.nix
@@ -30,6 +30,8 @@
EGL_PLATFORM = "wayland";
};
+ # obs moment
+ # nixpkgs.config.cudaSupport = true;
hardware.graphics = { # hardware.graphics since NixOS 24.11
enable = true;
diff --git a/scripts/bin/betterSplash.ts b/scripts/bin/betterSplash.ts
index 91c1436..78f2a78 100644
--- a/scripts/bin/betterSplash.ts
+++ b/scripts/bin/betterSplash.ts
@@ -16,8 +16,8 @@ const isLatvian = Intl.DateTimeFormat()
.timeZone.startsWith("Europe/Riga");
function getOrdinalSuffix(day: number): string {
- const j = day % 10,
- k = day % 100;
+ const j = day % 10;
+ const k = day % 100;
if (j === 1 && k !== 11) return "st";
if (j === 2 && k !== 12) return "nd";
if (j === 3 && k !== 13) return "rd";
@@ -38,62 +38,14 @@ function chooseRandom(array: string[]): string {
const splashes = [
- "Keep on ricing yo' Hyprland",
- "Let's make today even better!",
+ "Keep on ricing yo' Hyprland...",
- "\"iUseNixBTW\" You literally... Roblox?",
- "is it just me or the arch/nix pipeline turned me into a closeted femboy?",
- "the nix pipeline is real",
-
- "Anti-OCbwoy3-ifier MV2 Premium.xpi",
-
- "Do crabs think fish are flying?",
- "Don't forget to water your thoughts.",
- "Fox detected. Please pet gently.",
-
- // Venting ones
-
- "mount /dev/boyfriend ~",
- isLatvian
- ? "Latvia.. I hate it here, I wanna move." /* extremely accurate unbiased content coming from a latvian himself */
- : "NOT going back Latvia.",
- "rm -rf ~",
-
- // Minecraft (DEI ones)
-
- "Amplify and listen to BIPOC voices!",
- "Support the BIPOC community and creators!",
"Contains infinite genders!",
- "Remember to use gender neutral pronouns!",
"You are valid!",
- "I'm glad you're here!",
- "You are welcome here!",
- "Your gender is valid!",
- // Regretevator ones
-
- "dr! ar u sure i cant drink 20 blogsy's??",
- "That subway wuz so dark! Can't have a party withowt silly litez!",
"Blogsy is so AWESOME!",
- "My life is liek a video game i think",
-
+ "I love Blogsy!",
"What’s yer favorite type o’ wood?",
- "Everybody knows th’ best kind o’ buildin’ is made outta grit and woodwork!",
-
- // Me IRL
-
- "tfw Hyprland boots faster than I do",
- "everyone gangsta till your free trial of life ends",
-
- // Reality
-
- "flake 'flake:self' does not provide attribute 'willpower'",
- "copilot stop writing my thoughts",
- "404: purpose not found",
- "respawn button greyed out",
- "you’ve reached the end of the existential demo",
- "feeling like an empty JSON object"
-
];
const debug: boolean = false as false | true;
diff --git a/scripts/bin/handleScreenshot.ts b/scripts/bin/handleScreenshot.ts
index 0bd3693..ea373bc 100755
--- a/scripts/bin/handleScreenshot.ts
+++ b/scripts/bin/handleScreenshot.ts
@@ -16,13 +16,13 @@ import { getRegretevatorState } from "../lib/RegretevatorUtil";
[BloxstrapRPC] {"command":"SetRichPresence","data":{"details":"REGRETEVATOR","smallImage":{"hoverText":"The Axolotl Sun","assetId":14648053922},"state":"","largeImage":{"hoverText":"THE REGRET ELEVATOR"}}}
- IsIngame | details === "REGRETEVATOR"; smallImage?.hoverText === "The Axolotl Sun";
+ InGame | details === "REGRETEVATOR"; smallImage?.hoverText === "The Axolotl Sun";
====
[BloxstrapRPC] {"command":"SetRichPresence","data":{"state":"Lounging in the lobby","timeStart":0,"timeEnd":0}}
- IsIngame[Lobby] | state === "Lounging in the lobby";
+ InGame[Lobby] | state === "Lounging in the lobby";
====
diff --git a/scripts/bin/musicTest.ts b/scripts/bin/musicTest.ts
new file mode 100644
index 0000000..51fd0c8
--- /dev/null
+++ b/scripts/bin/musicTest.ts
@@ -0,0 +1,27 @@
+import { $ } from "bun";
+import { setConsoleTitle } from "@ocbwoy3/libocbwoy3";
+import { existsSync, readFileSync, writeFileSync } from "fs";
+
+setConsoleTitle("Music Test");
+
+try {
+ const artUrl = await $`playerctl -s -p cider,OCbwoy3_s_iPhone metadata mpris:artUrl`.text();
+ const title = await $`playerctl -s -p cider,OCbwoy3_s_iPhone metadata title`.text();
+ const artist = await $`playerctl -s -p cider,OCbwoy3_s_iPhone metadata artist`.text();
+ const album = await $`playerctl -s -p cider,OCbwoy3_s_iPhone metadata album`.text();
+
+
+ const MT = `${artist.trim()},${album.trim()}`;
+
+ if (!existsSync("/tmp/.musictest-info") || readFileSync("/tmp/.musictest-info").toString("utf-8") !== MT) {
+ writeFileSync("/tmp/.musictest-info",MT)
+
+ const x = await fetch(artUrl.trim())
+ writeFileSync("/tmp/.musictest",await x.bytes())
+ }
+
+ $`notify-send ${title.trim()} ${artist.trim()} -i /tmp/.musictest`.nothrow().catch(a => { });
+} catch (e_) {
+ console.error(e_)
+ $`notify-send "music test" "lol"`.nothrow().catch(a => { });
+}
diff --git a/scripts/bin/r2Upload.ts b/scripts/bin/r2Upload.ts
index 201f495..86280f0 100644
--- a/scripts/bin/r2Upload.ts
+++ b/scripts/bin/r2Upload.ts
@@ -55,7 +55,7 @@ try {
} catch (e_) {
const cx = `${e_}`.toLowerCase();
if (cx.includes("enable r2") && cx.includes("cloudflare dashboard")) {
- $`notify-send "Cloudflare" "You owe Cloudflare money!! >:(
${`${e_}`}"`.nothrow().catch(a => { });
+ $`notify-send "Screenshot" "YOU OWE CLOUDFLARE MONEY!!!!"`.nothrow().catch(a => { });
process.exit(0);
}
$`notify-send "Screenshot" "${`${e_}`}"`.nothrow().catch(a => { });