2 Commits

3 changed files with 7 additions and 2 deletions

View File

@@ -46,3 +46,8 @@ windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned
workspace = special:hidden, invisible workspace = special:hidden, invisible
workspace = special:pass, class:.*pass.proton.me.* workspace = special:pass, class:.*pass.proton.me.*
workspace = special:dispatch, class:.*pro.housecallpro.com.* workspace = special:dispatch, class:.*pro.housecallpro.com.*
# To get more information about a windows class, title, XWayland status or its size, you can use `hyprctl clients`. (From Hyprland Wiki)
windowrulev2 = float,class:^(one.alynx.showmethekey)$
windowrulev2 = float,class:^(showmethekey-gtk)$ # make window floating
windowrulev2 = pin,class:^(showmethekey-gtk)$ # pin window

View File

@@ -56,7 +56,7 @@ generate_json() {
'{longUrl: $longUrl, shortCode: $shortCode, tags: $tags, findIfExists: true, validUntil: $validUntil}' '{longUrl: $longUrl, shortCode: $shortCode, tags: $tags, findIfExists: true, validUntil: $validUntil}'
else else
jq -n --arg longUrl "$url" --arg shortCode "$shortCode" --argjson tags "$tagsJson" \ jq -n --arg longUrl "$url" --arg shortCode "$shortCode" --argjson tags "$tagsJson" \
'{longUrl: $longUrl, shortCode: $shortCode, tags: $tags, findIfExists: true}' '{longUrl: $longUrl, customSlug: $shortCode, tags: $tags, findIfExists: true}'
fi fi
} }