tweak: various qol improvements

This commit is contained in:
NunoSempere 2023-01-07 00:31:12 +01:00
parent b3a0f14b2f
commit 14cae1987c
4 changed files with 31 additions and 2 deletions

View File

@ -17,13 +17,19 @@ This is my personal version. Contribute upstream to [github.com/mini-rose/rose](
### To do ### To do
- [ ] Add "open in new window" functionality. <https://stackoverflow.com/questions/40180757/webkit2gtk-get-new-window-link>
- Useful for opening links in new tab when clicking on them and selecting that option
- And for actually opening links with the href newtab option.
- [ ] Find out what each of the css elements refers to.
Done:
- [x] String substitution on uri in order to redirect to better frontends. - [x] String substitution on uri in order to redirect to better frontends.
- [x] Present "standard" browser keybindings as an alternative. - [x] Present "standard" browser keybindings as an alternative.
- [x] Fix zoom in new tab - [x] Fix zoom in new tab
- [x] Reader mode - [x] Reader mode
- [x] Add reader mode to config.def. - [x] Add reader mode to config.def.
- [x] Make tab bar slightly prettier. - [x] Make tab bar slightly prettier.
- [ ] Find out what each of the css elements refers to.
### Known bugs ### Known bugs

View File

@ -38,7 +38,7 @@ int libre_redirect(const char* uri, char* output){
"https://wikipedia.org" "https://wikipedia.org"
}; };
char* alternatives[] = { char* alternatives[] = {
"https://yt.artemislena.eu", "https://invidious.flokinet.to", /* "https://yt.artemislena.eu", */
"https://teddit.nunosempere.com", "https://teddit.nunosempere.com",
"https://scribe.rip", "https://scribe.rip",
"https://simplytranslate.org/", "https://simplytranslate.org/",

View File

@ -0,0 +1,13 @@
For some reason, the Ubuntu environment assigns a program to the rose desktop tab if it is called from within /usr/bin/rose, even if from the Whatsapp desktop file.
The solution is to make a syslink from rose to whatsapp:
```
$ ln -s /usr/bin/rose /usr/bin/whatsapp
```
and then call whatsapp from:
```
/usr/bin/whatsapp https://web.whatsapp.com/
```

View File

@ -0,0 +1,10 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec= /usr/bin/whatsapp https://web.whatsapp.com
Name=Whatsapp
Comment=Whatsapp messaging service.
Icon=/home/loki/Pictures/fresh/misc/whatsapp_icon.svg