add roblox studio default maximize

This commit is contained in:
2025-04-21 10:50:18 +03:00
parent 3913083f5a
commit 4d7a397e3d
4 changed files with 8 additions and 1 deletions

View File

@@ -103,6 +103,7 @@ windowrulev2 = float,class:^(nm-connection-editor)$
windowrulev2 = size 900 500,class:^(nm-connection-editor)$
windowrulev2 = center,class:^(nm-connection-editor)$
windowrule = fullscreenstate 1 1, class:steam_proton,title:^(Roblox Studio)$
# windowrulev2 = immediate, class:^(sober)$
# windowrulev2 = fullscreen,title:^(Sober)$

View File

@@ -2,7 +2,7 @@ ecosystem {
enforce_permissions = true
}
permission = /nix/store/[A-Za-z0-9]+\-(wrapped-)?(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio)\-.*, screencopy, allow
permission = /nix/store/[A-Za-z0-9]+\-(wrapped-)?(grim|hyprlock|xdg-desktop-portal-hyprland|obs-studio|hyprpicker)\-.*, screencopy, allow
# hyprlang noerror true

View File

@@ -145,6 +145,7 @@ input-field {
font_family = Symbols Nerd Font, Geist Mono
placeholder_text = <span foreground="##cdd6f4"> $USER</span>
hide_input = false
fail_text = <span foreground="##00ff00"> Hint: Favourite Regretevator character </span>
position = 0, -470
halign = center
valign = center

View File

@@ -50,6 +50,11 @@ try {
$`echo "https://i.darktru.win/${encodeURIComponent(latestFile)}${urlParams}" | wl-copy -n`.nothrow().catch(a => { });
$`notify-send "Screenshot" "Uploaded in ${Date.now() - start}ms<br/><small>${latestFile}</small>"`.nothrow().catch(a => { });
} catch (e_) {
const cx = `${e_}`.toLowerCase();
if (cx.includes("enable r2") && cx.includes("cloudflare dashboard")) {
$`notify-send "Cloudflare" "bro u mf didnt pay for r2 >:(<br/><small>${`${e_}`}</small>"`.nothrow().catch(a => { });
process.exit(0);
}
$`notify-send "Screenshot" "${`${e_}`}"`.nothrow().catch(a => { });
}