alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
wayland: add pass_menu script
author
lassulus
date
2 years ago
(Nov 6, 2023, 9:40 PM CET)
commit
a8bed362
a8bed36244235fb1f5249128b5556cba13bff667
parent
33f94bcf
33f94bcfeba3dea9abb60064c90717af2670347a
+12
-1
1 changed file
Expand all
Collapse all
Unified
Split
2configs
desktops
lib
wayland.nix
+12
-1
2configs/desktops/lib/wayland.nix
View file
Reviewed
···
10
10
../../tmux.nix
11
11
../../themes.nix
12
12
../../fonts.nix
13
13
-
# ./pipewire.nix
13
13
+
# ../pipewire.nix
14
14
# ./tty-share.nix
15
15
{
16
16
users.users.mainUser.packages = [
···
74
74
75
75
# gtk3 themes
76
76
gsettings-desktop-schemas
77
77
+
(pkgs.writers.writeDashBin "pass_menu" ''
78
78
+
set -efux
79
79
+
password=$(
80
80
+
(cd $HOME/.password-store; find -type f -name '*.gpg') |
81
81
+
sed -e 's/\.gpg$//' |
82
82
+
rofi -dmenu -p 'Password: ' |
83
83
+
xargs -I{} pass show {} |
84
84
+
tr -d '\n'
85
85
+
)
86
86
+
echo -n "$password" | ${pkgs.wtype}/bin/wtype -d 10 -s 400 -
87
87
+
'')
77
88
];
78
89
79
90
environment.pathsToLink = [