Merge branch 'main' of tangled.sh:ocbwoy3.dev/nix
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "kernel",
|
"type": "kernel",
|
||||||
"format": "Linux 6.17.0-2-cachyos-ralsei-rt-bore-lto",
|
// "format": "Linux 6.17.0-2-cachyos-ralsei-rt-bore-lto"
|
||||||
},
|
},
|
||||||
// "packages",
|
// "packages",
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[Appearance]
|
[Appearance]
|
||||||
color_scheme_path=/home/ocbwoy3/.config/qt5ct/colors/catppuccin-mocha-blue.conf
|
color_scheme_path=/home/ralsei/.config/qt5ct/colors/catppuccin-mocha-blue.conf
|
||||||
custom_palette=true
|
custom_palette=true
|
||||||
icon_theme=Arashi
|
icon_theme=Arashi
|
||||||
standard_dialogs=default
|
standard_dialogs=default
|
||||||
style=Windows
|
style=Fusion
|
||||||
|
|
||||||
[Fonts]
|
[Fonts]
|
||||||
fixed="Geist Mono,9,-1,5,50,0,0,0,0,0"
|
fixed="Geist Mono,9,-1,5,50,0,0,0,0,0"
|
||||||
@@ -25,7 +25,7 @@ underline_shortcut=1
|
|||||||
wheel_scroll_lines=3
|
wheel_scroll_lines=3
|
||||||
|
|
||||||
[SettingsWindow]
|
[SettingsWindow]
|
||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x16\0\0\0\x36\0\0\x3\xb8\0\0\x4!\0\0\0\x16\0\0\0\x36\0\0\x3\xb8\0\0\x4!\0\0\0\0\0\0\0\0\a\x80\0\0\0\x16\0\0\0\x36\0\0\x3\xb8\0\0\x4!)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x16\0\0\0\x33\0\0\x3\xb8\0\0\x4!\0\0\0\x16\0\0\0\x33\0\0\x3\xb8\0\0\x4!\0\0\0\0\0\0\0\0\a\x80\0\0\0\x16\0\0\0\x33\0\0\x3\xb8\0\0\x4!)
|
||||||
|
|
||||||
[Troubleshooting]
|
[Troubleshooting]
|
||||||
force_raster_widgets=1
|
force_raster_widgets=1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"label" : "lock",
|
"label" : "lock",
|
||||||
"action" : "loginctl lock-session",
|
"action" : "hyprctl dispatch exec hyprlock",
|
||||||
"text" : "Lock",
|
"text" : "Lock",
|
||||||
"keybind" : "l"
|
"keybind" : "l"
|
||||||
}
|
}
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
"label" : "logout",
|
"label" : "logout",
|
||||||
"action" : "loginctl terminate-user $USER",
|
"action" : "pkill -9 -u ralsei",
|
||||||
"text" : "Logout",
|
"text" : "Logout",
|
||||||
"keybind" : "e"
|
"keybind" : "e"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,27 +35,37 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#lock {
|
#lock {
|
||||||
background-image: image(url("~/config/config/wlogout/assets/lock.png"));
|
background-image: image(
|
||||||
|
url("/home/ralsei/config/config/wlogout/assets/lock.png")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#logout {
|
#logout {
|
||||||
background-image: image(url("~/config/config/wlogout/assets/logout.png"));
|
background-image: image(
|
||||||
|
url("/home/ralsei/config/config/wlogout/assets/logout.png")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#suspend {
|
#suspend {
|
||||||
background-image: image(url("~/config/config/wlogout/assets/suspend.png"));
|
background-image: image(
|
||||||
|
url("/home/ralsei/config/config/wlogout/assets/suspend.png")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#hibernate {
|
#hibernate {
|
||||||
background-image: image(
|
background-image: image(
|
||||||
url("~/config/config/wlogout/assets/hibernate.png")
|
url("/home/ralsei/config/config/wlogout/assets/hibernate.png")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#shutdown {
|
#shutdown {
|
||||||
background-image: image(url("~/config/config/wlogout/assets/shutdown.png"));
|
background-image: image(
|
||||||
|
url("/home/ralsei/config/config/wlogout/assets/shutdown.png")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
#reboot {
|
#reboot {
|
||||||
background-image: image(url("~/config/config/wlogout/assets/reboot.png"));
|
background-image: image(
|
||||||
|
url("/home/ralsei/config/config/wlogout/assets/reboot.png")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,20 +3,38 @@ import { albumStuffF, fetchAlbumStuff } from "../lib/CiderV2Playing";
|
|||||||
import { execFile } from "child_process";
|
import { execFile } from "child_process";
|
||||||
import { rmSync } from "fs";
|
import { rmSync } from "fs";
|
||||||
|
|
||||||
|
const isKDE = process.env.XDG_CURRENT_DESKTOP === "KDE" ? true : false;
|
||||||
|
|
||||||
let x: albumStuffF | any = false;
|
let x: albumStuffF | any = false;
|
||||||
try {
|
try {
|
||||||
x = (await fetchAlbumStuff()) as albumStuffF;
|
x = (await fetchAlbumStuff()) as albumStuffF;
|
||||||
} catch {}
|
} catch {}
|
||||||
|
|
||||||
|
let releaseMode = process.argv[3] === "rel";
|
||||||
|
// console.log(process.argv[3],isKDE,releaseMode);
|
||||||
|
|
||||||
function notifyWithImage(
|
function notifyWithImage(
|
||||||
song: string,
|
song: string,
|
||||||
artUrl: string,
|
artUrl: string,
|
||||||
artist: string,
|
artist: string,
|
||||||
album: string,
|
album: string,
|
||||||
) {
|
) {
|
||||||
|
if (isKDE === true) {
|
||||||
|
execFile("notify-send", [
|
||||||
|
"-t",
|
||||||
|
releaseMode ? "10" : "2000",
|
||||||
|
"-a",
|
||||||
|
"Now Playing",
|
||||||
|
"-i",
|
||||||
|
artUrl,
|
||||||
|
song,
|
||||||
|
`${artist}`, //<br/>${album !== "" ? `<small>${album}</small>` : ""}`
|
||||||
|
]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
execFile("dunstify", [
|
execFile("dunstify", [
|
||||||
"-t",
|
"-t",
|
||||||
process.argv[3] === "rel" ? "1" : "2000",
|
releaseMode ? "1" : "2000",
|
||||||
"-r",
|
"-r",
|
||||||
"67676767",
|
"67676767",
|
||||||
"-a",
|
"-a",
|
||||||
@@ -28,12 +46,21 @@ function notifyWithImage(
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(process.argv[3]);
|
|
||||||
|
|
||||||
function notifyBasic(song: string, artist: string, album: string) {
|
function notifyBasic(song: string, artist: string, album: string) {
|
||||||
|
if (isKDE === true) {
|
||||||
|
execFile("notify-send", [
|
||||||
|
"-t",
|
||||||
|
releaseMode ? "1" : "2000",
|
||||||
|
"-a",
|
||||||
|
"Now Playing",
|
||||||
|
song,
|
||||||
|
`${artist}`, //<br/>${album !== "" ? `<small>${album}</small>` : ""}`
|
||||||
|
]);
|
||||||
|
return;
|
||||||
|
}
|
||||||
execFile("dunstify", [
|
execFile("dunstify", [
|
||||||
"-t",
|
"-t",
|
||||||
process.argv[3] === "rel" ? "1" : "2000",
|
releaseMode ? "1" : "2000",
|
||||||
"-r",
|
"-r",
|
||||||
"67676767",
|
"67676767",
|
||||||
"-a",
|
"-a",
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ import { getRegretevatorState } from "../lib/RegretevatorUtil";
|
|||||||
|
|
||||||
const windowClassFriendyName: { [windowClass: string]: string } = {
|
const windowClassFriendyName: { [windowClass: string]: string } = {
|
||||||
steam_app_1671210: "Deltarune",
|
steam_app_1671210: "Deltarune",
|
||||||
|
"deltarune.exe": "Deltarune", // deltarune with proton-cachyos/proton-cachyos-slr + PROTON_ENABLE_WAYLAND=1
|
||||||
"org.vinegarhq.Sober": "Roblox",
|
"org.vinegarhq.Sober": "Roblox",
|
||||||
steam_app_1690940: "Deltarune", // demo
|
steam_app_1690940: "Deltarune", // demo
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user