Compare commits

...

3 commits

Author SHA1 Message Date
226bb9df69 kpxc-search update and keepass with accessibility 2026-10-23 12:29:54 +02:00
972436ba13 Add freerdp 2026-10-23 12:29:39 +02:00
0d93ec47fc Nix flake update 2026-10-23 12:29:15 +02:00
4 changed files with 28 additions and 14 deletions

24
flake.lock generated
View file

@ -5,11 +5,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1790636166, "lastModified": 1792703502,
"narHash": "sha256-hTOSqaTx/8PIWRxQ/lPE0+hIIXvebSZW1BuR8eTg6cw=", "narHash": "sha256-cypmdCoTGMSkKBdsyGaaucZgVxy3QDZrtl8q5i0Y12o=",
"owner": "tomsch", "owner": "tomsch",
"repo": "claude-desktop-nix", "repo": "claude-desktop-nix",
"rev": "e4642c646667424962b05ee2b9da7e29a2c33a1c", "rev": "1baf2e0296ab7fabc075db54a3d067acfa4ab5f4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -25,11 +25,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1792000010, "lastModified": 1792703141,
"narHash": "sha256-4jtkwQlReQdXsKJJfB9yT7nIf0TlwgZOk2XtxjUgDS8=", "narHash": "sha256-3X34FaSeMJXMx8CK/BN6sZ9knwNauuiJXQhLM+bQQuI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "5a9d300bd619c03857521b50c8877a19dbad7078", "rev": "6750249c69969d09d952efaf3fab88a2bdac7ec6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -45,11 +45,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1791711434, "lastModified": 1792309949,
"narHash": "sha256-LpIhxnuO0tYeZ4k7BbNMxsPs2zJpB4hWXO1jdhUuE7Q=", "narHash": "sha256-2DAEMk8YkV8OF6N2uw9jQ016cYoNkcgnq50AShwWxNw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "9a2dd40780eeab8543aa97c59c26f11267025616", "rev": "1b4d1758fa6053c5d6284254a793134fa602fbff",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -76,11 +76,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1791956154, "lastModified": 1792502884,
"narHash": "sha256-jBYGPi4udQ9uo4KQp9m2J0546nJVQitG15gvZSaVVAs=", "narHash": "sha256-IoNisKcGbUjdd45qCqywGMCYmZ5EnkxezvLII0FWwNA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "55bfb4d7437bd4e09ab7cba58a43bd68eb310044", "rev": "02c087f3fe673c9e317f206a627cb6b910336dbe",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -398,6 +398,7 @@ with lib;
ffmpeg ffmpeg
file file
fprintd fprintd
freerdp
gcc gcc
gdu gdu
gh gh
@ -413,7 +414,6 @@ with lib;
jless jless
jq jq
kdotool kdotool
keepassxc
ksh ksh
libarchive libarchive
libreoffice libreoffice
@ -483,6 +483,15 @@ with lib;
yt-dlp yt-dlp
yubioath-flutter yubioath-flutter
(pkgs.symlinkJoin {
name = "keepassxc";
paths = [ pkgs.keepassxc ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/keepassxc --set QT_LINUX_ACCESSIBILITY_ALWAYS_ON 1
'';
})
keepassxc
(pkgs.writeShellScriptBin "kpxc-search" '' (pkgs.writeShellScriptBin "kpxc-search" ''
export GI_TYPELIB_PATH=${pkgs.lib.makeSearchPath "lib/girepository-1.0" [ export GI_TYPELIB_PATH=${pkgs.lib.makeSearchPath "lib/girepository-1.0" [
pkgs.at-spi2-core pkgs.glib.out pkgs.gobject-introspection pkgs.at-spi2-core pkgs.glib.out pkgs.gobject-introspection

View file

@ -88,6 +88,10 @@ def is_line_edit(role, states):
and states is not None and states is not None
and states.contains(Atspi.StateType.SHOWING) and states.contains(Atspi.StateType.SHOWING)
and states.contains(Atspi.StateType.EDITABLE) and states.contains(Atspi.StateType.EDITABLE)
# A disabled (greyed-out) field still reports EDITABLE, e.g. the
# search box while the database is locked.
and states.contains(Atspi.StateType.ENABLED)
and states.contains(Atspi.StateType.SENSITIVE)
and not states.contains(Atspi.StateType.MULTI_LINE) and not states.contains(Atspi.StateType.MULTI_LINE)
) )

View file

@ -10,7 +10,7 @@
source "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh" source "${pkgs.bash-completion}/etc/profile.d/bash_completion.sh"
fi fi
[ "$DISPLAY" ] && xset r rate 300 60 [ "$DISPLAY" ] && [ ! "$DISPLAY" = needs-to-be-defined ] && xset r rate 300 60
#-##################### user specific aliases and functions ###################### #-##################### user specific aliases and functions ######################
if [ -d ~/.bashrc.d ]; then if [ -d ~/.bashrc.d ]; then
@ -107,6 +107,7 @@
respawn_shell () { respawn_shell () {
: 'Intelligently respawn shell' : 'Intelligently respawn shell'
: 'pure posix sh without forking' : 'pure posix sh without forking'
: 'actually, exec -l is not posix, and exec -l /proc/self/exe does not make a lot of sense'
if [ "''${BASH_VERSINFO-}" ] && command -v bash 1>/dev/null 2>&1; then if [ "''${BASH_VERSINFO-}" ] && command -v bash 1>/dev/null 2>&1; then
if _is_login_shell; then if _is_login_shell; then
exec bash -l exec bash -l