diff --git a/config/default.toml b/config/default.toml index b7cba82..1333859 100644 --- a/config/default.toml +++ b/config/default.toml @@ -18,6 +18,8 @@ next_tab = "l" switch_tab_1 = "1" switch_tab_2 = "2" switch_tab_3 = "3" +switch_tab_4 = "4" +switch_tab_5 = "5" # Torrent actions toggle_torrent = "enter" @@ -70,24 +72,20 @@ transmission_rpc = "warn" [[tabs]] name = "All" -columns = ["status", "leeches", "ratio", "size", "uploaded", "path", "name"] - -[[tabs]] -name = "Active" -columns = [ - "size", - "uploaded", - "ratio", - "leeches", - "seeds", - "status", - "eta", - "progress", - "downspeed", - "upspeed", - "name", -] +columns = ["status", "progress", "size", "ratio", "seeds", "leeches", "added", "name"] [[tabs]] name = "Downloading" -columns = ["size", "left", "progress", "downspeed", "eta", "path", "name"] +columns = ["progress", "size", "left", "downspeed", "eta", "seeds", "name"] + +[[tabs]] +name = "Seeding" +columns = ["ratio", "uploaded", "upspeed", "leeches", "size", "added", "name"] + +[[tabs]] +name = "Active" +columns = ["status", "progress", "downspeed", "upspeed", "eta", "seeds", "leeches", "name"] + +[[tabs]] +name = "Queued" +columns = ["status", "queue", "size", "progress", "added", "name"] diff --git a/src/config/keybinds.rs b/src/config/keybinds.rs index ac67c65..671cc0b 100644 --- a/src/config/keybinds.rs +++ b/src/config/keybinds.rs @@ -10,6 +10,8 @@ pub struct KeybindsConfig { pub switch_tab_1: String, pub switch_tab_2: String, pub switch_tab_3: String, + pub switch_tab_4: String, + pub switch_tab_5: String, pub toggle_torrent: String, pub toggle_all: String, pub delete: String, diff --git a/src/handler.rs b/src/handler.rs index 886fbaf..5c1c2c6 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -58,6 +58,8 @@ pub async fn get_action(key_event: KeyEvent, app: &mut App) -> Result