1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-07-03 18:59:26 +00:00

[kitty/polybar] Remove tilix leftovers

This commit is contained in:
2023-09-30 17:35:44 +02:00
parent 8fcb4267cc
commit 221a87cad1
6 changed files with 21 additions and 14 deletions

View File

@ -80,7 +80,7 @@ allow_remote_control yes
listen_on unix:@mykitty
map F1 launch --allow-remote-control kitty +kitten broadcast
map ctrl+alt+p kitten secrets.py "description" "Tilix Password"
map ctrl+alt+p kitten secrets.py "description" "Kitty password"
map kitty_mod+p>l kitten hints --type line --program @
#: }}}

View File

@ -10,6 +10,12 @@ import secretstorage
from kitty.boss import Boss
#
# To add passwords to the Secret Service that can be retrieved for this kitten:
# secret-tool store --label user1 description "Kitty password" id $(uuidgen)
# secret-tool store --label user2 description "Kitty password" id $(uuidgen)
# Add map to kitty.conf:
# map ctrl+alt+p kitten secrets.py "description" "Kitty password"
def main(args: List[str]) -> Optional[str]:
secrets = get_secret_names(args[1], args[2])