From fadb9706c50894058d71738d4dfc508c6922ee9a Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 28 Feb 2023 23:10:53 +0800 Subject: Update --- X11/rofi/pass.edit | 2 +- X11/rofi/pass.get | 2 +- X11/rofi/pass.rm | 2 +- alias | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/X11/rofi/pass.edit b/X11/rofi/pass.edit index b5698fb..66fba6b 100755 --- a/X11/rofi/pass.edit +++ b/X11/rofi/pass.edit @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash ENTRIES="$(find ~/.password-store -name '*gpg' -printf %P\\n | sed 's/.gpg$//')" diff --git a/X11/rofi/pass.get b/X11/rofi/pass.get index c250384..80dc0cc 100755 --- a/X11/rofi/pass.get +++ b/X11/rofi/pass.get @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash GENERATION_HINT="Generate with default config" diff --git a/X11/rofi/pass.rm b/X11/rofi/pass.rm index a407792..3a8bb10 100755 --- a/X11/rofi/pass.rm +++ b/X11/rofi/pass.rm @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash ENTRIES="$(find ~/.password-store -name '*gpg' -printf %P\\n | sed 's/.gpg$//')" diff --git a/alias b/alias index b16a49a..4de2208 100644 --- a/alias +++ b/alias @@ -373,6 +373,7 @@ alias sample.poly='curl -O http://download.geofabrik.de/asia/taiwan.poly' alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' alias sample.mvt='curl -O https://demotiles.maplibre.org/tiles/5/25/14.pbf' alias sample.lorem='curl -o lorem http://metaphorpsum.com/paragraphs/4/16' +sample.image() { curl -Lo random.png https://picsum.photos/seed/`date +%s`/${1:-500}/${2:-500}; } alias proto.mvt='curl -O https://raw.githubusercontent.com/mapbox/vector-tile-spec/master/2.1/vector_tile.proto' alias proto.osm='curl -O https://raw.githubusercontent.com/openstreetmap/OSM-binary/master/src/osmformat.proto' alias proto.geobuf='curl -O https://raw.githubusercontent.com/mapbox/geobuf/master/geobuf.proto' -- cgit v1.2.3-70-g09d2