mirror of
https://github.com/jarun/nnn.git
synced 2024-09-11 13:06:14 +03:00
Update wallpaper
This commit is contained in:
parent
e80ba2e44a
commit
e7abf87c54
@ -9,7 +9,7 @@
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
if [ "$(file --mime-type "$1" | awk '{print $NF}' | awk -F '/' '{print $1}')" = "image" ]; then
|
||||
if [ "$XDG_SESSION_TYPE" == "x11" ]; then
|
||||
if [ "$XDG_SESSION_TYPE" = "x11" ]; then
|
||||
if type nitrogen >/dev/null 2>&1; then
|
||||
nitrogen --set-zoom-fill --save "$1"
|
||||
elif type wal >/dev/null 2>&1; then
|
||||
|
Loading…
Reference in New Issue
Block a user