jmms wrappers/helpers

master
Noah 2021-01-22 02:50:55 +00:00
parent b3dbe43239
commit 16fbf5dc41
2 changed files with 20 additions and 0 deletions

View File

@ -1,5 +1,14 @@
#!/usr/bin/perl
# Check ModemManager for pending SMS/MMS messages clogging its queue.
# Until mobile Linux natively supports MMS messages, ModemManager is
# needed along with Janky MMS (https://git.sr.ht/~amindfv/jmms) to get
# your messages and flush the queue; if the queue gets clogged you don't
# get incoming messages anymore.
# Usage: run this in your .bashrc so it'll print in your new terminal
# session to remind you that messages are pending.
use 5.12.0;
use strict;
use warnings;

11
mms-read Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash
# Wrapper for Jenky MMS (https://git.sr.ht/~amindfv/jmms)
# Until MMS is natively supported in mobile Linux, this command
# will use jmms to read your pending MMS messages. For this to
# work the WiFi needs switched off as only the 4G LTE connection
# has authentication to read from (T-Mobile's) servers.
sudo nmcli radio wifi off
jmms --get
sudo nmcli radio wifi on