chaotic nyxos

This commit is contained in:
2025-08-28 18:46:55 +03:00
parent 6b32ee3a80
commit 9a412a65c3
12 changed files with 23 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
gtk-theme-name=catppuccin-mocha-blue-standard gtk-theme-name=catppuccin-mocha-blue-standard
gtk-icon-theme-name=Adwaita gtk-icon-theme-name=Adwaita
gtk-font-name=Adwaita Sans 11 gtk-font-name=Adwaita Sans 11
gtk-cursor-theme-name=catppuccin-mocha-blue-cursors gtk-cursor-theme-name=RalseiCursors
gtk-cursor-theme-size=24 gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View File

@@ -12,11 +12,11 @@ $browser = zen
# Cursor # Cursor
exec = hyprctl setcursor catppuccin-mocha-blue-cursors 24 exec = hyprctl setcursor RalseiCursors 24
env = HYPRCURSOR_THEME,catppuccin-mocha-blue-cursors env = HYPRCURSOR_THEME,RalseiCursors
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24
env = XCURSOR_THEME,catppuccin-mocha-blue-cursors env = XCURSOR_THEME,RalseiCursors
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
# Toolkit Env # Toolkit Env

View File

@@ -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\0\0\0\0\0\0\0\x3\xa2\0\0\x3\xee\0\0\0\0\0\0\0\0\0\0\x3\xbf\0\0\x4\x1a\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x3\xa2\0\0\x3\xee) geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x4\xee\0\0\x3q\0\0\0\0\0\0\0\0\0\0\x3\xbf\0\0\x4\x1a\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x4\xee\0\0\x3q)
[Troubleshooting] [Troubleshooting]
force_raster_widgets=1 force_raster_widgets=1

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -5,6 +5,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
catppuccin.url = "github:catppuccin/nix"; catppuccin.url = "github:catppuccin/nix";
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1"; nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
hyprland = { hyprland = {
@@ -44,6 +45,10 @@
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
inputs.catppuccin.nixosModules.catppuccin inputs.catppuccin.nixosModules.catppuccin
inputs.nix-flatpak.nixosModules.nix-flatpak inputs.nix-flatpak.nixosModules.nix-flatpak
inputs.chaotic.nixosModules.default
inputs.chaotic.nixosModules.nyx-cache
inputs.chaotic.nixosModules.nyx-overlay
inputs.chaotic.nixosModules.nyx-registry
# ./hosts/default/hardware-configuration.nix # ./hosts/default/hardware-configuration.nix
# lil hack to not use --impure when rebuilding nixos >:3 # lil hack to not use --impure when rebuilding nixos >:3

View File

@@ -166,7 +166,7 @@
# home-manager.services.mpris-proxy.enable = true; # home-manager.services.mpris-proxy.enable = true;
home-manager.backupFileExtension = "hmbackup"; home-manager.backupFileExtension = "home-manager-backup";
catppuccin = { catppuccin = {
enable = true; enable = true;

View File

@@ -14,7 +14,8 @@ stdenv.mkDerivation rec {
for size in 128x128 256x256 512x512; do for size in 128x128 256x256 512x512; do
cp ./system/gay-boykisser.png $out/share/icons/arashi/$size/apps/gay-boykisser.png cp ./system/gay-boykisser.png $out/share/icons/arashi/$size/apps/gay-boykisser.png
cp ./system/boykisser.png $out/share/icons/arashi/$size/apps/boykisser.png cp ./system/boykisser.png $out/share/icons/arashi/$size/apps/boykisser.png
cp ./games/deltarune.png $out/share/icons/arashi/$size/apps/steam_icon_1690940.png # ralsei cp ./games/deltarune.png $out/share/icons/arashi/$size/apps/steam_icon_1690940.png
cp ./games/cs2.png $out/share/icons/arashi/$size/apps/steam_icon_730.png
done done
''; '';

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@@ -24,6 +24,8 @@
"boot.shell_on_fail" "boot.shell_on_fail"
]; ];
boot.kernelPackages = pkgs.linuxPackages_cachyos-lto; # some guy in roblox told me to do this
boot.loader = { boot.loader = {
efi = { efi = {
# canTouchEfiVariables = true; # canTouchEfiVariables = true;

View File

@@ -48,10 +48,15 @@ import { getRegretevatorState } from "../lib/RegretevatorUtil";
*/ */
const windowcClassFriendyName: {[windowClass: string]: string} = {
"org.vinegarhq.Sober": "Roblox",
"steam_app_1690940": "Deltarune"
}
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();
let ic = windowClass.initialClass || "Hyprland"; let ic = (windowClass.initialClass && windowcClassFriendyName[windowClass.initialClass]) || windowClass.windowClass || "Hyprland";
const isRoblox = windowClass.initialClass === "org.vinegarhq.Sober"; const isRoblox = windowClass.initialClass === "org.vinegarhq.Sober";
if (isRoblox) {ic = "Roblox"; }; if (isRoblox) {ic = "Roblox"; };
const regretevatorState = isRoblox ? getRegretevatorState() : null; const regretevatorState = isRoblox ? getRegretevatorState() : null;
@@ -123,7 +128,7 @@ async function transformImage(b: Buffer): Promise<Buffer> {
console.log("/tmp/woah"); console.log("/tmp/woah");
process.exit(0); process.exit(0);
} }
const _BUF = await $`grim -t png -l 0 -g ${selection.stdout const _BUF = await $`grim -c -t png -l 0 -g ${selection.stdout
.toString() .toString()
.trim()} -`.arrayBuffer(); .trim()} -`.arrayBuffer();
let BUF = Buffer.from(_BUF) as Buffer; let BUF = Buffer.from(_BUF) as Buffer;
@@ -147,7 +152,7 @@ async function transformImage(b: Buffer): Promise<Buffer> {
.text(); .text();
const _BUF = const _BUF =
await $`grim -t png -l 0 -o ${selection.trim()} -`.arrayBuffer(); await $`grim -c -t png -l 0 -o ${selection.trim()} -`.arrayBuffer();
let BUF = Buffer.from(_BUF) as Buffer; let BUF = Buffer.from(_BUF) as Buffer;
const FILENAME = `${SCREENSHOT_PATH}/${await getFilename()}.png`; const FILENAME = `${SCREENSHOT_PATH}/${await getFilename()}.png`;