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