bin: fix small issues
This commit is contained in:
parent
dadda9725f
commit
5640144127
|
@ -3,9 +3,9 @@
|
||||||
for last; do true; done
|
for last; do true; done
|
||||||
last=${last:-.}
|
last=${last:-.}
|
||||||
file "$last" | grep -v --color=never directory
|
file "$last" | grep -v --color=never directory
|
||||||
stat -c 'Permissions: %A, Created: %.10w, Modified %.10y, Size: %s' "${@:-$last}"
|
stat -c 'Permissions: %A, Created: %.10w, Modified %.10y, Size: %s' "$last"
|
||||||
case "$(file --dereference --mime "$last")" in
|
case "$(file --dereference --mime "$last")" in
|
||||||
*inode/directory*) ls -l --color=auto --human-readable --group-directories-first --file-type --dereference-command-line --almost-all "$@";;
|
*inode/directory*) ls -l --color=always --human-readable --group-directories-first --file-type --dereference-command-line --almost-all "$@";;
|
||||||
*binary) ;;
|
*binary) ;;
|
||||||
*) $(test -f "$last" -a ! -r "$last") bat --style header "$@";;
|
*) $(test -f "$last" -a ! -r "$last") bat --style header "$@";;
|
||||||
esac
|
esac
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
killall -q vlc; sleep 1; vlc --qt-start-minimized --loop --random "$@" >/dev/null 2>&1 &
|
killall -q vlc
|
||||||
|
vlc --no-qt-error-dialogs --qt-start-minimized --qt-notification 0 --loop --random "$@" >/dev/null 2>&1 &
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
startx
|
||||||
|
# sudo /usr/bin/prime-switch
|
Loading…
Reference in New Issue