Skip to content

Commit fc200dd

Browse files
2.0.0 (#253)
* bump version * rename window to pane * Add internal editor * show chars left * don't assume xdg-open, use open on iOS and start on Windows * remove leaders and fix "switch" * support multiple accounts * update title on named feeds * terminal-title=3, no top bar and no terminal title * remove ini package * add commands-in-new-pane and dynamic-timeline-name * add delete-temp-files * add lang to toots * update docs * update modules * add clear-temp * upgrade modules * add gruvbox light
1 parent dedd2d1 commit fc200dd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+7406
-4276
lines changed

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ You can find Linux binaries under [releases](https://github.com/RasmusLindroth/t
4747
* `:boosts` = Lists users that have boosted the toot
4848
* `:bookmarks` = List all your bookmarks
4949
* `:clear-notifications` = Remove all of your notifications
50-
* `:close-window` = Closes the current window, including all the timelines in said window
50+
* `:clear-temp` = Remove all of your media files that have been downloaded. Only needed if you have set delete-temp-files to false under [media] in your config.
51+
* `:close-pane` = Closes the current pane, including all the timelines in said pane
5152
* `:compose` = Compose a new toot
5253
* `:edit` = Edit one of your toots
5354
* `:favorited` = Lists toots you've favorited
@@ -60,22 +61,25 @@ You can find Linux binaries under [releases](https://github.com/RasmusLindroth/t
6061
* `:history` = Show edits of a toot
6162
* `:lists` = Show a list of your lists
6263
* `:list-placement top|right|bottom|left` = Place the list in choosen placement
63-
* `:list-split row|column` = Split the timelines in window by row or column
64-
* `:move-window left|right|up|down|home|end` = Moves the window in choosen direction
65-
* `:mv l|r|u|d|h|e` = Shorter form of former command
64+
* `:list-split row|column` = Split the timelines by row or column
65+
* `:login` = Login to one more account
66+
* `:move-pane left|right|up|down|home|end` = Moves the pane in choosen direction
67+
* `:mp l|r|u|d|h|e` = Shorter form of former command
6668
* `:muting` = Lists users that you've muted
6769
* `:newer` = Force load newer toots in current timeline
70+
* `:next-acct` = Go to the next account if you're logged in to multiple
6871
* `:preferences` = Update your profile and some other settings
72+
* `:prev-acct` = Go to the prev account if you're logged in to multiple
6973
* `:profile` = Go to your profile
70-
* `:proportions [int] [int]` = Sets the proportions of the windows and the content. The first integer is your windows and the other for content, e.g. :proportions 1 3
74+
* `:proportions [int] [int]` = Sets the proportions of the panes and the content. The first integer is your panes and the other for content, e.g. :proportions 1 3
7175
* `:refetch` = Refetches the current item that you're viewing. Can be used to update poll results.
7276
* `:saved` = Alias for bookmarks
7377
* `:stick-to-top` = Toggle the stick-to-top setting that always shows the latest toot in all timelines
7478
* `:tag <tag>` = Shows toots tagged with &lt;tag&gt;, e.g. :tag linux. You can input multiple tags if you want to show them in the same timeline
7579
* `:tags` = List of tags that you&#39;re following
7680
* `:unfollow-tag <tag>` = Unfollow the hashtag named &lt;tag&gt;, e.g. :unfollow-tag tut
7781
* `:user <username>` = Search for users named &lt;username&gt;, e.g. :user rasmus. To narrow a search include the instance like this :user [email protected]
78-
* `:window <int>` = Switch window by index (zero indexed) e.g. :window 0 for the left/top window
82+
* `:pane <int>` = Switch pane by index (zero indexed) e.g. :pane 0 for the left/top pane
7983

8084
Keys without description in tut
8185
* `c` = Compose a new toot
@@ -99,12 +103,12 @@ Tut is configurable, so you can change things like the colors, the default timel
99103
what image viewer to use and some more. Check out the configuration file to see
100104
all the options.
101105

102-
You find it in `XDG_CONFIG_HOME/tut/config.ini` on Linux which usually equals to `~/.config/tut/config.ini`.
106+
You find it in `XDG_CONFIG_HOME/tut/config.toml` on Linux which usually equals to `~/.config/tut/config.toml`.
103107
If you don't run Linux it will use the path of [os#UserConfigDir](https://github.com/golang/go/blob/7dc9fcb13de7bb20b11f6a526865545cc9142c2c/src/os/file.go#L455-L461).
104108
But if you move the tut folder to `XDG_CONFIG_HOME/tut/` and have set the environment variable `XDG_CONFIG_HOME`
105109
it will look there instead of the standard place.
106110

107-
You can find an updated configuration file in this repo named `config.example.ini`.
111+
You can find an updated configuration file in this repo named `config.example.toml`.
108112
If there are any new configurations options you can copy them frome that file.
109113
If you prefer a website you can read about all the options on [tut.anv.nu](https://tut.anv.nu/config) and
110114
if man pages are your thing use `tut(5)`.
@@ -210,16 +214,17 @@ you will have to add `go/bin` to your `$PATH`.
210214
## Flags and commands
211215
```
212216
Commands:
213-
example-config - creates the default configuration file in the current directory and names it ./config.example.ini
217+
example-config - creates the default configuration file in the current directory and names it ./config.example.toml
214218
215219
Flags:
216220
-h --help prints this message
217221
-v --version prints the version
218222
-n --new-user add one more user to tut
219-
-c --config <path> load config.ini from <path>
223+
-c --config <path> load config.toml from <path>
220224
-d --config-dir <path> load all config from <path>
221225
-u --user <name> login directly to user named <name>
222-
If two users are named the same. Use full name like [email protected]
226+
If you want to login to multiple accounts seperate them with a space and use quotation marks. E.g. -u "acc_one acc_two"
227+
If two users are named the same. Use full name like [email protected]
223228
```
224229

225230
If you don't want to set `--config` or `--config-dir` everytime you can set

0 commit comments

Comments
 (0)