summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/home.nix1
-rw-r--r--home/packages.nix3
2 files changed, 3 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix
index 9d2c41f..22640b9 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -104,6 +104,7 @@
noms = "curl https://www.bahn.de/service/zug/db_lounge -s | htmlq --attribute href a | grep Speisen | xargs curl -s | pdftotext - /dev/stdout | less";
gosh = "rlwrap gosh";
geojson2gtfs = ''jq -r ".features[0].geometry.coordinates | to_entries | map([.value[0], .value[1], .key])[] | @csv"'';
+ slurpqr = "grim -g (slurp) - | zbarimg -q --raw - | wl-copy -n && wl-paste";
};
functions.fetchpdf.body = ''
set url $argv[1]
diff --git a/home/packages.nix b/home/packages.nix
index 840a01a..8e1c87c 100644
--- a/home/packages.nix
+++ b/home/packages.nix
@@ -25,7 +25,8 @@ in
pkgFilter = pkg: lib.elem pkg.tlType [ "run" "bin" "doc" ];
})
# general cli utils
- almanac libnotify grim slurp wl-clipboard showrt
+ almanac libnotify grim slurp zbar.override ({ enableVideo = false; withXorg = false; })
+ wl-clipboard showrt
kijetesantakaluotokieni mpc_cli duf dufs progress hledger
wineWowPackages.full sops xdg-utils exiftool
mercurial darcs git-annex-remote-remarkable2