aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/ranger
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-04-02 14:22:19 +0300
committerYaroslav <contact@yaroslavps.com>2020-04-02 14:22:19 +0300
commit06ebba4c53dc2751a2aad1cbccb870bb7db6dc07 (patch)
tree3ed4a5006d7f66b54bcf7e32df2add4bcf9a5911 /dotfiles/.config/ranger
parent348fd5f7ffd4586b8599615dd453dcc61af3ace7 (diff)
downloadswayrice-06ebba4c53dc2751a2aad1cbccb870bb7db6dc07.tar.gz
swayrice-06ebba4c53dc2751a2aad1cbccb870bb7db6dc07.zip
HUGE home cleanup
Diffstat (limited to 'dotfiles/.config/ranger')
-rw-r--r--dotfiles/.config/ranger/rc.conf34
-rw-r--r--dotfiles/.config/ranger/rifle.conf6
2 files changed, 20 insertions, 20 deletions
diff --git a/dotfiles/.config/ranger/rc.conf b/dotfiles/.config/ranger/rc.conf
index db1e95a..2d88df8 100644
--- a/dotfiles/.config/ranger/rc.conf
+++ b/dotfiles/.config/ranger/rc.conf
@@ -88,7 +88,7 @@ map i display_file
map ? help
map W display_log
map w taskview_open
-map ss shell nohup $TERMINAL&
+map ss shell nohup $TERMINAL > ~/.cache/nohup.out 2>&1 </dev/null &
map S shell $SHELL
map : console
@@ -434,14 +434,14 @@ map oR cd /
map o? cd /usr/share/doc/ranger
map oh cd ~
-map od cd ~/Documents
-map oD cd ~/Downloads
-map omm cd ~/Music
-map opp cd ~/Pictures
-map opw cd ~/Pictures/wallpapers
-map ops cd ~/Pictures/screenshots
-map ovv cd ~/Videos
-map or cd ~/Repositories
+map od cd $XDG_DOCUMENTS_DIR
+map oD cd ~/dls
+map omm cd ~/music
+map opp cd ~/pics
+map opw cd ~/pics/wallpapers
+map ops cd ~/pics/screenshots
+map ovv cd ~/vids
+map or cd ~/repos
map os cd ~/.local/bin
map ocf cd ~/.config
map omd cd /run/media
@@ -449,14 +449,14 @@ map omd cd /run/media
# New tab shortcuts
map Oh tab_new ~
-map Od tab_new ~/Documents
-map OD tab_new ~/Downloads
-map Omm tab_new ~/Music
-map Opp tab_new ~/Pictures
-map Opw tab_new ~/Pictures/wallpapers
-map Ops tab_new ~/Pictures/screenshots
-map Ovv tab_new ~/Videos
-map Or tab_new ~/Repositories
+map Od tab_new ~/docs
+map OD tab_new ~/dls
+map Omm tab_new ~/music
+map Opp tab_new ~/pics
+map Opw tab_new ~/pics/wallpapers
+map Ops tab_new ~/pics/screenshots
+map Ovv tab_new ~/vids
+map Or tab_new ~/repos
map Os tab_new ~/.local/bin
map Ocf tab_new ~/.config
map Omd tab_new /run/media
diff --git a/dotfiles/.config/ranger/rifle.conf b/dotfiles/.config/ranger/rifle.conf
index c960256..2c3c0e5 100644
--- a/dotfiles/.config/ranger/rifle.conf
+++ b/dotfiles/.config/ranger/rifle.conf
@@ -115,11 +115,11 @@ ext php = php -- "$1"
#--------------------------------------------
# Video/Audio with a GUI
#-------------------------------------------
-mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@"
-mime ^video|audio, has smplayer, X, flag f = smplayer "$@"
mime ^video, has mpv, X, flag f = mpv -- "$@"
mime ^video, has mpv, X, flag f = mpv --fs -- "$@"
mime ^video, has mpv, X, flag f = mpv --loop -- "$@"
+mime ^video|audio, has gmplayer, X, flag f = gmplayer -- "$@"
+mime ^video|audio, has smplayer, X, flag f = smplayer "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -- "$@"
mime ^video, has mplayer2, X, flag f = mplayer2 -fs -- "$@"
mime ^video, has mplayer, X, flag f = mplayer -- "$@"
@@ -130,9 +130,9 @@ mime ^video|audio, has totem, X, flag f = totem --fullscreen -- "$@"
#--------------------------------------------
# Audio without X
#-------------------------------------------
+mime ^audio|ogg$, terminal, has mpv = mpv --no-audio-display -- "$@"
mime ^audio|ogg$, terminal, has mplayer = mplayer -- "$@"
mime ^audio|ogg$, terminal, has mplayer2 = mplayer2 -- "$@"
-mime ^audio|ogg$, terminal, has mpv = mpv --no-audio-display -- "$@"
# mime ^audio|ogg$, terminal, has mpc = mpc clear && mpc add "$@" && mpc play
mime ^audio|ogg$, terminal, has mpv = mpv -- "$@"
ext midi?, terminal, has wildmidi = wildmidi -- "$@"