From 5c798221bc4c64cb49b35ada1a0713fc6c74da2c Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 25 Nov 2023 18:24:47 -0500 Subject: [PATCH] Fix install of bkmark to touch in bkmark --- bkmark | 7 +++++++ install.sh | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bkmark b/bkmark index 99918f8..5784ff8 100755 --- a/bkmark +++ b/bkmark @@ -1,5 +1,12 @@ #!/bin/bash +# Access a set of links using dmenu. +# The links are defined in $HOME/.frequent by default +# +# They can have comments on the lines; +# the only thing checked in the dmenu script is +# the first complete word SOURCE="$HOME/.frequent" +touch $SOURCE xdotool type $(cat $SOURCE | dmenu -l 50 | cut -d ' ' -f1) diff --git a/install.sh b/install.sh index 36f8f6b..6376191 100644 --- a/install.sh +++ b/install.sh @@ -5,7 +5,6 @@ INSTALL_LOCATION="$HOME/.local/bin" echo "Installing scripts to $INSTALL_LOCATION" cp -v ./bkmark $INSTALL_LOCATION -touch $HOME/.frequent cp -v ./fix_screens $INSTALL_LOCATION cp -v ./mount_drive $INSTALL_LOCATION cp -v ./passmenu $INSTALL_LOCATION