add showmethekey to show key in the screen

This commit is contained in:
ulic-youthlic 2025-04-26 17:46:38 +08:00
parent 6136a7d0a5
commit 950a7ff2ca
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
3 changed files with 48 additions and 21 deletions

42
flake.lock generated
View file

@ -70,11 +70,11 @@
"bt-tracker": {
"flake": false,
"locked": {
"lastModified": 1745626201,
"narHash": "sha256-t9Yx+nFn/QDBXNrupOu6ra/lLzRuKbWy5GACZ60VL6E=",
"lastModified": 1745683860,
"narHash": "sha256-WYvZhHXVZuinCiLuYzPvSqMJ96SkATjinC9Ifs/0jfY=",
"owner": "XIU2",
"repo": "TrackersListCollection",
"rev": "67ea41f55741132f02e3f099f05e7ff5bc1fe13f",
"rev": "fd8a43e0cffe6aef96de5c5041cf499ce0e4c67e",
"type": "github"
},
"original": {
@ -421,11 +421,11 @@
"rust-overlay": "rust-overlay"
},
"locked": {
"lastModified": 1745302248,
"narHash": "sha256-MEEYZaOYmU2SlgzAKRFjF4vtODRx/AUG33nRJ+nKy78=",
"lastModified": 1745684178,
"narHash": "sha256-SnYTNyXGRng1qHmRtbOG9K31c5h6p77hlGPZK5oKgqE=",
"owner": "helix-editor",
"repo": "helix",
"rev": "0815b52e0959e21ec792ea41d508a050b552f850",
"rev": "2ec59f8ff6d43f5ac72e745ec614c26de192aedd",
"type": "github"
},
"original": {
@ -530,11 +530,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1745596313,
"narHash": "sha256-O2LDLX2F3lnOAMikTufR9NvaXbbg5KzjlwRLMcA3vzE=",
"lastModified": 1745668007,
"narHash": "sha256-xYf6xz8WOW9ztBi356dHdqLsTCoxVS8Iapfpwosrn7Q=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "927e9f1e05ceeacdc66e9b23f92a7ccfec8a130a",
"rev": "8fdaf610c455d0b5b70374a21392a717be513b0f",
"type": "github"
},
"original": {
@ -563,11 +563,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1745592977,
"narHash": "sha256-XhfYYefs/97yWcyNKEarStaSL4t4M+yR6ZD4PQbO5Lo=",
"lastModified": 1745663376,
"narHash": "sha256-mGQyB+Epl87ZCZZCcBkjUrdR1aJt8Ybiqr4h0yUkgQI=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "501ea471283a3ac7b94593e271c9d4ae6af8859f",
"rev": "78e3daf5f82b5870e998faf0e1efeaa048730976",
"type": "github"
},
"original": {
@ -584,11 +584,11 @@
"rust-overlay": "rust-overlay_3"
},
"locked": {
"lastModified": 1745579354,
"narHash": "sha256-+Yf7JrKIKMgKDi+zHvuTOJ8Raf7NNZINgBzFaOzYD3U=",
"lastModified": 1745665695,
"narHash": "sha256-oUFoPmT2/ww1bIU0Vmifx9BdarVqlv9MyEIxUTqYJnM=",
"owner": "lilyinstarlight",
"repo": "nixos-cosmic",
"rev": "41a1bf337bbd69e304ffbd7390293082336e8ebb",
"rev": "48280c3737fee2db3a1226c297c86428417f552d",
"type": "github"
},
"original": {
@ -615,11 +615,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1745391562,
"narHash": "sha256-sPwcCYuiEopaafePqlG826tBhctuJsLx/mhKKM5Fmjo=",
"lastModified": 1745526057,
"narHash": "sha256-ITSpPDwvLBZBnPRS2bUcHY3gZSwis/uTe255QgMtTLA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a2f738d9d1f1d986b5a4cd2fd2061a7127237d7",
"rev": "f771eb401a46846c1aebd20552521b233dd7e18b",
"type": "github"
},
"original": {
@ -838,11 +838,11 @@
]
},
"locked": {
"lastModified": 1745548521,
"narHash": "sha256-xyliq8oS5OnzXjHRGr92RtmrtYI/dflf2gSEo0wMFjc=",
"lastModified": 1745634793,
"narHash": "sha256-8AuOyfLNlcbLy0AqERSNUUoDdY+3THZI7+9VrXUfGqg=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "eb0afb4ac0720d55c29e88eb29432103d73ae11d",
"rev": "f1aeaeb91ba9c88f235ab82bd23d7a4931fe736c",
"type": "github"
},
"original": {

View file

@ -10,6 +10,7 @@
spacer
devenv
just
showmethekey
];
};
}

View file

@ -139,6 +139,32 @@ window-rule {
geometry-corner-radius 12
clip-to-geometry true
}
window-rule {
match app-id="^showmethekey-gtk$"
geometry-corner-radius 0
clip-to-geometry false
open-floating true
open-focused false
default-column-width {
fixed 300
}
default-window-height {
fixed 70
}
draw-border-with-background false
default-floating-position x=20 y=20 relative-to="bottom-right"
focus-ring {
off
}
border {
off
}
shadow {
off
}
tiled-state false
baba-is-float true
}
window-rule {
match app-id="^org\\.keepassxc\\.KeePassXC$"
match app-id="^org\\.gnome\\.World\\.Secrets$"