fix
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
mkdir /tmp/nathan
|
mkdir /tmp/nathan
|
||||||
fi
|
fi
|
||||||
|
|
||||||
img=''$(realpath ''${''$1:-${config.home.homeDirectory}/Pictures/Wallpaper/''$(${pkgs.eza}/bin/eza ${config.home.homeDirectory}/Pictures/Wallpaper -X | rofi -dmenu))}
|
img=''$(realpath ''${''$1:-${config.home.homeDirectory}/Pictures/Wallpaper/''$(${pkgs.eza}/bin/eza ${config.home.homeDirectory}/Pictures/Wallpaper -X | rofi -dmenu)})
|
||||||
ext="''${''$(basename ''$img)\##*.}"
|
ext="''${''$(basename ''$img)\##*.}"
|
||||||
|
|
||||||
if [[ ''$ext == "gif" || ''$ext == "mp4" ]]; then
|
if [[ ''$ext == "gif" || ''$ext == "mp4" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user