From dd4c71d1429bba2251165ba4ac4ecad132b8947c Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 15 Jul 2023 19:44:41 +0200 Subject: l nm-dmenu: add props to PATH --- lass/5pkgs/nm-dmenu/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lass/5pkgs') diff --git a/lass/5pkgs/nm-dmenu/default.nix b/lass/5pkgs/nm-dmenu/default.nix index cb47bded3..ff4ba1633 100644 --- a/lass/5pkgs/nm-dmenu/default.nix +++ b/lass/5pkgs/nm-dmenu/default.nix @@ -1,6 +1,10 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: pkgs.writeDashBin "nm-dmenu" '' - export PATH=$PATH:${pkgs.dmenu}/bin:${pkgs.networkmanagerapplet}/bin + export PATH=$PATH:${lib.makeBinPath [ + pkgs.dmenu + pkgs.networkmanagerapplet + pkgs.procps + ]} exec ${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu "$@" '' -- cgit v1.2.3 From 56b93cb7f7080a9732ebaee322972a525b60b726 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Jul 2023 23:16:07 +0200 Subject: l otpmenu: make wayland compatible --- lass/5pkgs/otpmenu/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lass/5pkgs') diff --git a/lass/5pkgs/otpmenu/default.nix b/lass/5pkgs/otpmenu/default.nix index fe6d5b94c..fffe47005 100644 --- a/lass/5pkgs/otpmenu/default.nix +++ b/lass/5pkgs/otpmenu/default.nix @@ -1,10 +1,11 @@ { pkgs }: -pkgs.writeDashBin "otpmenu" '' +pkgs.writers.writeDashBin "otpmenu" '' +set -efux x=$(${pkgs.pass}/bin/pass git ls-files '*/otp.gpg' \ | ${pkgs.gnused}/bin/sed 's:/otp\.gpg$::' \ | ${pkgs.dmenu}/bin/dmenu ) otp=$(${(pkgs.pass.withExtensions (ext: [ ext.pass-otp ]))}/bin/pass otp code "$x/otp") -printf %s "$otp" | ${pkgs.xdotool}/bin/xdotool type -f - +printf %s "$otp" | ${pkgs.wtype}/bin/wtype -s 1 - || printf %s "$otp" | ${pkgs.xdotool}/bin/xdotool type -f - '' -- cgit v1.2.3 From 680bc877353f34849faf09ffee2dc0ba7959b92a Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 23 Jul 2023 23:16:46 +0200 Subject: l unimenu: add more emojis --- lass/5pkgs/unimenu/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'lass/5pkgs') diff --git a/lass/5pkgs/unimenu/default.nix b/lass/5pkgs/unimenu/default.nix index d452195fc..cf2a15277 100644 --- a/lass/5pkgs/unimenu/default.nix +++ b/lass/5pkgs/unimenu/default.nix @@ -62,6 +62,7 @@ ᕦ(ò_óˇ)ᕤ strong flex muscle bicep (๑>ᴗ<๑) excite (∩ ` -´)⊃━━☆゚.*・。゚ wizard spell magic + ╰( ͡° ͜ʖ ͡° )つ──☆*:・゚ wizard spell magic ◕ ◡ ◕ puss in boots big eye ≋≋≋≋≋̯̫⌧̯̫(ˆ•̮ ̮•ˆ) nyan cat ʕ•ᴥ•ʔ bear @@ -71,6 +72,15 @@ \(º □ º )/ panic 𓂺 penis 𓂸 penis + __〆( ̄ー ̄ ) write down + __〆(º □ º) write down + __〆(^_^) write down + C= C= C= C= C=┌(;・ω・)┘ running fast here + ▓▒░(°◡°)░▒▓ dont care + (๑ᵔ⤙ᵔ๑) nom food eating + (·•᷄ࡇ •᷅ ) ohoh sad + ᕕ( ᐛ )ᕗ hehe lol letsgo + (^_~) wink ''; in # ref https://github.com/LukeSmithxyz/voidrice/blob/9fe6802122f6e0392c7fe20eefd30437771d7f8e/.local/bin/dmenuunicode -- cgit v1.2.3