Commit graph

60 commits

Author SHA1 Message Date
Maarten van Gompel
24905884ee Removed explicit font from most dmenu calls, dmenu font is read from Xresources now and kept as uniform as possible 2021-02-01 18:32:32 +01:00
Reed Wade
08b95c6182 sxmo_files now respect user desktop configurations
We use our own implementation of xdg-open that replace the hardcoded
script used in sxmo_files.

We add and will maintain some desktop entries to offer a suckless
experience by default.

Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-11-28 02:39:25 -05:00
Maarten van Gompel
7fb7cd70f3 various indentation fixes (spaces to tabs and stripping trailing whitespace) 2020-11-20 18:10:17 +01:00
Serge E. Hallyn
16d77bcd86 sxmo_weather: add wind direction
It's important for me to see wind direction in addition to speed.  I
understand most people probably don't care, so we should probably show
this only if xinit sets WEATHER_WIND_DIR=1?  But we can bikeshed that
later, for now here's what I'm using on my phone right now.

Signed-off-by: Serge Hallyn <serge@hallyn.com>
2020-11-20 17:23:21 +01:00
Anjandev Momi
e11cf9e523 move sxmo data to XDG_DATA_HOME
Breaking change. Make sure you send an email to the mailing list
telling users to move their
$XDG_CONFIG_HOME/{modem,notifications} files/folders to
$XDG_DATA_HOME

Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-11-08 19:45:39 -05:00
Anjandev Momi
b56cd2b6cb sxmo_youtube: move history file to XDG_CACHE_HOME 2020-11-08 00:22:44 -05:00
Reed Wade
9b88aeb3d2 reopen file dmenu after handled it
Signed-off-by: Reed Wade <reedwade@misterbanal.net>
Signed-off-by: Anjandev Momi <anjan@momi.ca>
2020-11-02 12:29:32 -05:00
Miles Alan
67a5a25163 Omit empty lines from youtube history file 2020-09-12 22:26:10 -05:00
Miles Alan
a60641cebc Retain position in RSS script when selecting items 2020-09-12 22:26:08 -05:00
Miles Alan
47eda92e03 Allow multiple word queries for youtube script 2020-09-10 19:07:43 -05:00
Miles Alan
7f2f50c11a Use proper ytdl flags instead of JSON output for sxmo_youtube.sh
Avoids unecessary JSON parsing; also this is simpler and may just be
a bit faster as well.
2020-08-26 17:11:34 -05:00
Miles Alan
f57cc7db8b Cleanup sxmo_youtube.sh, shellcheck, indent properly, and remove unused cndtn 2020-08-25 21:22:29 -05:00
Miles Alan
f24e946721 Rework sxmo_youtube.sh script to use ytdl rather then codemadness youtube-cli
Also add in ability to select number of results and fork when opening entries
so that the user can select multiple entries.
2020-08-25 21:16:47 -05:00
Anjandev Momi
24c650ee49 files: play mkv files in mpv 2020-08-22 16:20:56 -05:00
Anjandev Momi
6b9233b965 youtube: keep search history
resolves #50
2020-08-18 21:27:18 -05:00
Maarten van Gompel
ace9960926 Made choice for virtual keyboard configurable through the $KEYBOARD environment variable.
This implements what was suggested in the discussion regarding the svkbd
patch, it makes the choice of virtual keyboard configurable using the
$KEYBOARD variable, rather than hard-coding it.
2020-07-26 10:22:31 -05:00
Miles Alan
5c4c6c15e2 Refactor xinit to be more structured and set $EDITOR if unset to vis 2020-07-18 10:14:58 -05:00
Miles Alan
d2ee25d724 Allow viewing cached RSS feeds via toggling on/off fetch option 2020-07-17 22:43:29 -05:00
Miles Alan
0801bb1adb Restructure configs into seperate folder 2020-07-12 19:29:46 -05:00
Miles Alan
4fe129882d Fix weather hourly forecast time for <12hr times 2020-07-11 09:53:18 -05:00
Anjandev Momi
fe24fec53d make files dmenu case insensitive
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-09 22:18:24 -05:00
Anjandev Momi
0013ea3d73 files: if folder name longer than 7 characters, truncate
Signed-off-by: Miles Alan <m@milesalan.com>
2020-07-09 20:51:30 -05:00
Miles Alan
f25bb821ba Fix loop for sxmo_weather.sh 2020-07-09 18:40:02 -05:00
Miles Alan
57f6e5897e Loop reddit script and use URL handler script with fork 2020-07-09 18:26:10 -05:00
Miles Alan
7a9ec120e1 Fork urlhandler program if run with fork option and pass opt in RSS script 2020-07-09 18:22:30 -05:00
Miles Alan
fe15eb6755 Loop weather script fetch/display logic 2020-07-09 18:19:11 -05:00
Miles Alan
95e36ccec2 Loop RSS script so that you can launch multiple items without reopening 2020-07-09 18:18:54 -05:00
Miles Alan
e0067998c8 Always kick mpv to use -ao=alsa; prevents alsa from trying to use pulse 2020-07-08 22:42:21 -05:00
Miles Alan
9919f49d82 Modify weather script to pull hourly data and format in tables 2020-07-08 21:33:57 -05:00
Miles Alan
b3463928f8 Remove system audio recording - should be done via userscript 2020-06-29 19:58:41 -05:00
Miles Alan
25cc04e5d1 Cleanup sxmo_weather.sh shellscript and make sure shellcheck passes 2020-06-29 18:22:09 -05:00
Miles Alan
ff9ddcb634 Allow customization of zipcodes menu for sxmo_weather.sh via $SXMO_WEATHERZIPS 2020-06-29 10:18:40 -05:00
Miles Alan
67e9320242 Fix Close Menu entry for youtube script 2020-06-27 21:29:42 -05:00
Miles Alan
8ee22f3038 Quote $@ where needed 2020-06-27 20:50:06 -05:00
Miles Alan
dfca1ede69 Fix shellcheck issue with reddit script 2020-06-27 20:22:58 -05:00
Miles Alan
cef4de2af0 Use "$@" for expansion calls rather than manually listing argument numbers 2020-06-27 20:19:47 -05:00
Miles Alan
d4a6bacec0 sxmo_record.sh Fix call to getdur in filename generation 2020-06-27 20:11:15 -05:00
Miles Alan
1d13cb6379 Make sure shellcheck passes and fixup style in sxmo_gpsutil.sh script 2020-06-24 21:48:48 -05:00
Miles Alan
c86761334c Cleanup record script; respect $SXMO_RECDIR; cut ms in file; allow ext calling 2020-06-20 11:42:56 -05:00
Miles Alan
c7eb70dde8 Youtube script bugfixes 2020-06-20 11:41:02 -05:00
Miles Alan
34cd1fd5bb Make close menu entry in scripts more functional 2020-06-20 11:41:02 -05:00
Miles Alan
f4aea53ad1 Add reddit script 2020-06-20 11:41:02 -05:00
Miles Alan
24d686eda3 Fix recording to only audio route when needed 2020-06-13 22:21:08 -05:00
Miles Alan
049a93e5d8 Shellcheck and tabindent all scripts 2020-06-13 20:36:13 -05:00
Miles Alan
d5ca81b991 Add sxmo_record.sh script and Record entry to scripts menu 2020-06-09 22:09:30 -05:00
Miles Alan
29098d750b Allow sxmo_files.sh script to be called with $1 as startdir 2020-06-09 22:09:30 -05:00
Anjandev Momi
3c65a36fd2 files: play audio files with mpv no-vid and add mp3 support
Signed-off-by: Miles Alan <m@milesalan.com>
2020-06-08 20:11:01 -05:00
Miles Alan
41e2e31f6a Fix bug with files script 2020-06-07 20:44:03 -05:00
Miles Alan
f9e580106e Shellcheck and tabindent all appscripts 2020-06-07 10:17:14 -05:00
Miles Alan
8ebf11f8bf Add files script 2020-06-07 10:05:38 -05:00