summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-02 23:52:29 +0200
committerhut <hut@lavabit.com>2010-04-02 23:52:29 +0200
commita7772cc660b6510d3613674ce2f99493fd08e550 (patch)
treec6f0ef8bdce4d3b5494ee93a18ce9e454e402cb6 /ranger
parent8fa8705476d5023083bc27a3fddaee8402ac94e5 (diff)
downloadranger-a7772cc660b6510d3613674ce2f99493fd08e550.tar.gz
defaults.apps: swap mode 0 and 1 for media players
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/apps.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 084f9638..9543badb 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -115,7 +115,7 @@ class CustomApplications(Applications):
 	@depends_on('mplayer')
 	def app_mplayer(self, c):
 		if c.mode is 1:
-			return tup('mplayer', *c)
+			return tup('mplayer', '-fs', *c)
 
 		elif c.mode is 2:
 			args = "mplayer -fs -sid 0 -vfm ffmpeg -lavdopts " \
@@ -127,7 +127,7 @@ class CustomApplications(Applications):
 			return tup('mplayer', '-mixer', 'software', *c)
 
 		else:
-			return tup('mplayer', '-fs', *c)
+			return tup('mplayer', *c)
 
 	@depends_on("eog")
 	def app_eye_of_gnome(self, c):
@@ -235,6 +235,6 @@ class CustomApplications(Applications):
 	@depends_on('totem')
 	def app_totem(self, c):
 		if c.mode is 0:
-			return tup("totem", "--fullscreen", *c)
-		if c.mode is 1:
 			return tup("totem", *c)
+		if c.mode is 1:
+			return tup("totem", "--fullscreen", *c)