18 Commits

Author SHA1 Message Date
Zakhidov Beck
a670078015
Merge branch 'LukeSmithxyz:master' into patch-1 2023-02-15 09:11:19 +05:00
appeasementPolitik
75bc064a2f
Add youtube shorts to linkhandler (#1226) 2022-11-06 19:29:06 +00:00
Zakhidov Beck
09c110d97f
Linkhandler 255 character limit
Sometimes link passed to linkhandler can be longer than 255 characters long (if link language is Cyrillic for example or when link is generated from image tags), thus it cannot display images or PDFs properly due to internal limit on name length. This small check uses "cut" from GNU coreutils to shorten the URL to 100 chars if it is longer than 255.
2022-10-21 15:42:12 +05:00
Luke Smith
c8a6455a67 if no arg, assume xclip contents, no -c 2022-06-27 13:09:49 -04:00
krisdoodle45
6d0ad93751
Give linkhandler option to read from clipboard 2022-06-06 20:58:12 +02:00
Ryan Wilson
2363526b67
Odysee to linkhandler (#977) 2021-07-31 07:36:45 -04:00
Hekuran
7f139718e9
UAE - update autisticly efficient (#838) 2020-11-08 19:49:34 -05:00
Kierán Meinhardt
435f0e5f52
add videos.lukesmith.xyz to linkhandler script (#792)
since mpv can handle peertube videos, it would be best to open video links in e. g. newsboat with mpv.
2020-08-27 15:54:36 -04:00
Austin Bumbalough
a19ae72c82
"$EDITOR $1" caused error in Alacritty terminal. Splitting the qutoes into "$EDITOR" "$1" fixed the issue. Not sure why. (#742)
Co-authored-by: Austin Bumbalough <austin@bumbalough.xyz>
2020-07-03 09:34:43 -04:00
JameyBear
f820ccf4dd
Shellcheck (#676)
Co-authored-by: WhispersOfJ <kaotiks@gmail.com>
2020-06-01 15:29:57 -04:00
Alexei Syssoyev
a876f3788e
Another lol fix (#670) 2020-05-31 15:06:59 -04:00
Kian Kasad
3222354d50
make use of setsid(1)'s -f flag (#652)
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
2020-05-30 17:01:18 -04:00
Wis
a08904d88a
mpv config: use mpvSockets script to remove mpv wrappers/aliases (#544)
* add scripts to mpv's cfg \w mpvSockets as 1st dependency and\or script

* remove all usage of --input-ipc-server in all cmds

* remove mpv alias that adds --input-ipc-server

* fix pauseallmpv: correct paths to unix socket files

* fix dependency-scripts loading so it works also when opening files off main disk
2020-04-08 21:35:03 -04:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized. 2020-02-08 18:43:37 -05:00
Luke Smith
1bca65bfc2
portable shebang 2019-08-18 12:28:11 -04:00
Shaw
84bf18f2e8 remove double quotes from linkhandler (#352) 2019-07-23 20:23:12 -04:00
Luke Smith
522a4bd2c1
yt fix 2019-05-30 10:04:37 -04:00
Luke Smith
c6e69e9642 massive cleanup 2019-05-19 20:05:14 -04:00