dont include the directory
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
mkdir /tmp/nathan
|
mkdir /tmp/nathan
|
||||||
fi
|
fi
|
||||||
|
|
||||||
img=''$(realpath "''${1:-$(find ~/Pictures/Wallpaper | rofi -dmenu)}")
|
img=''$(realpath "''${1:-$(find ~/Pictures/Wallpaper/* | rofi -dmenu)}")
|
||||||
n=''$(basename "''$img")
|
n=''$(basename "''$img")
|
||||||
ext="''${n''\#''\#*.}"
|
ext="''${n''\#''\#*.}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user