More funny lf things
This commit is contained in:
parent
e721a014b6
commit
6f6a59457c
@ -37,8 +37,8 @@ x-scheme-handler/tg=org.telegram.desktop.desktop
|
||||
x-scheme-handler/msteams=teams.desktop
|
||||
x-scheme-handler/eclipse+command x-scheme-handler/eclipse+mpc=_usr_lib_eclipse-modeling_.desktop
|
||||
x-scheme-handler/mid=userapp-Thunderbird-86ACV1.desktop
|
||||
image/png=sxiv.desktop;
|
||||
image/jpg=sxiv.desktop
|
||||
image/png=nsxiv.desktop
|
||||
image/jpg=nsxiv.desktop
|
||||
application/json=codium.desktop
|
||||
application/xml=codium.desktop
|
||||
inode/directory=pcmanfm.desktop
|
||||
|
@ -201,7 +201,7 @@
|
||||
enable_recursive_icon_lookup = true
|
||||
|
||||
# Set icon theme (only used for recursive icon lookup)
|
||||
icon_theme = Adwaita
|
||||
icon_theme = Nordzy-green-dark
|
||||
# You can also set multiple icon themes, with the leftmost one being used first.
|
||||
# icon_theme = "Adwaita, breeze"
|
||||
|
||||
@ -456,4 +456,4 @@
|
||||
# appname = "some_volume_notifiers"
|
||||
# set_stack_tag = "volume"
|
||||
#
|
||||
# vim: ft=cfg
|
||||
# vim: ft=cfg
|
||||
|
@ -25,8 +25,8 @@ cmd open ${{
|
||||
lf -remote "send toggle"
|
||||
done &
|
||||
;;
|
||||
audio/*|video/x-ms-asf) mpv --audio-display=no $f ;;
|
||||
video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;;
|
||||
audio/*|video/x-ms-asf) mpv --volume=45 --audio-display=no $f ;;
|
||||
video/*) setsid -f mpv --volume=45 $f -quiet >/dev/null 2>&1 ;;
|
||||
application/pdf|application/vnd.djvu|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;;
|
||||
application/pgp-encrypted) $EDITOR $fx ;;
|
||||
application/vnd.openxmlformats-officedocument.wordprocessingml.document|application/vnd.oasis.opendocument.text|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet|application/octet-stream|application/vnd.oasis.opendocument.spreadsheet|application/vnd.oasis.opendocument.spreadsheet-template|application/vnd.openxmlformats-officedocument.presentationml.presentation|application/vnd.oasis.opendocument.presentation-template|application/vnd.oasis.opendocument.presentation|application/vnd.ms-powerpoint|application/vnd.oasis.opendocument.graphics|application/vnd.oasis.opendocument.graphics-template|application/vnd.oasis.opendocument.formula|application/vnd.oasis.opendocument.database) setsid -f libreoffice $fx >/dev/null 2>&1 ;;
|
||||
|
3
localbin/.local/bin/rotdir
Executable file
3
localbin/.local/bin/rotdir
Executable file
@ -0,0 +1,3 @@
|
||||
[ -z "$1" ] && echo "usage: rotdir regex 2>&1" && exit 1
|
||||
base="$(basename "$1")"
|
||||
ls "$PWD" | awk -v BASE="$base" 'BEGIN { lines = ""; m = 0; } { if ($0 == BASE) { m = 1; } } { if (!m) { if (lines) { lines = lines"\n"; } lines = lines""$0; } else { print $0; } } END { print lines; }'
|
Loading…
Reference in New Issue
Block a user