qol
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
color_scheme_path=/home/ocbwoy3/.config/qt5ct/colors/catppuccin-mocha-blue.conf
|
||||
custom_palette=true
|
||||
icon_theme=Adwaita
|
||||
standard_dialogs=xdgdesktopportal
|
||||
standard_dialogs=default
|
||||
style=Lightly
|
||||
|
||||
[Fonts]
|
||||
|
||||
@@ -34,7 +34,8 @@
|
||||
catppuccin-catwalk
|
||||
catppuccin-whiskers
|
||||
libxkbcommon
|
||||
ffmpeg
|
||||
nvidia-video-sdk
|
||||
ffmpeg-full
|
||||
gnupg
|
||||
nix-direnv
|
||||
htop
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
intel-vaapi-driver
|
||||
libvdpau-va-gl
|
||||
vulkan-validation-layers
|
||||
nvidia-video-sdk
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -46,7 +46,10 @@
|
||||
%wheel ALL=(ALL) ALL
|
||||
'';
|
||||
|
||||
services.dbus.packages = [ pkgs.gcr ];
|
||||
services.dbus = {
|
||||
enable = true;
|
||||
packages = [ pkgs.gcr ];
|
||||
};
|
||||
|
||||
services.pcscd.enable = true;
|
||||
programs.gnupg = {
|
||||
|
||||
@@ -7,11 +7,13 @@ import { getRegretevatorState } from "../lib/RegretevatorUtil";
|
||||
async function getFilename(): Promise<string> {
|
||||
const _d = new Date();
|
||||
const windowClass = await $`hyprctl activewindow -j`.json();
|
||||
const isRoblox =
|
||||
windowClass.initialClass === "org.vinegarhq.Sober" ? true : false;
|
||||
let ic = windowClass.initialClass || "Hyprland";
|
||||
const isRoblox = windowClass.initialClass === "org.vinegarhq.Sober";
|
||||
if (isRoblox) {ic = "Roblox"; };
|
||||
const regretevatorState = isRoblox ? getRegretevatorState() : null;
|
||||
if (!!regretevatorState) {ic = "Regretevator";};
|
||||
// console.log(isRoblox, regretevatorState)
|
||||
return `${isRoblox ? "Roblox" : (windowClass.initialClass || "Hyprland")}-${_d.getTime()}${
|
||||
return `${ic}-${_d.getTime()}${
|
||||
!regretevatorState
|
||||
? ""
|
||||
: `-regretevator${
|
||||
@@ -36,8 +38,8 @@ async function transformImage(b: Buffer): Promise<Buffer> {
|
||||
|
||||
const mask = Buffer.from(
|
||||
`<svg width="${width}" height="${height}">
|
||||
<rect x="0" y="0" width="${width}" height="${height}" rx="16" fill="white"/>
|
||||
</svg>`
|
||||
<rect x="0" y="0" width="${width}" height="${height}" rx="16" fill="white"/>
|
||||
</svg>`
|
||||
);
|
||||
|
||||
const maskedImage = image
|
||||
|
||||
@@ -39,7 +39,7 @@ try {
|
||||
if (floorNum) {
|
||||
urlParams = `?floor=${floorNum}`
|
||||
} else {
|
||||
urlParams = `?regretevator`
|
||||
urlParams = ``
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user