aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename an action to be shorterPřemysl Eric Janouch2021-11-162-5/+6
| | | | Also, fix make dependencies to include the source file for actions.
* Fix the comment for settings.pulseaudioPřemysl Eric Janouch2021-11-081-1/+1
|
* Fix build on macOS and other non-GNU systemsPřemysl Eric Janouch2021-11-081-5/+5
|
* Generate actions from a text filePřemysl Eric Janouch2021-11-084-115/+93
| | | | | | | Mostly because I wanted to nest preprocessing. This makes the build more complex and slightly less portable, but the code itself is much cleaner.
* Update READMEPřemysl Eric Janouch2021-11-071-4/+6
|
* Add ability to control PulseAudio volumePřemysl Eric Janouch2021-11-076-84/+488
| | | | | | | | I know, son, it might be hard to accept, but you're imported. Your true parents are wmstatus and paswitch, from the desktop-tools family. Also, fix unnecessary linking of optional dependencies.
* Add a comment about the music directoryPřemysl Eric Janouch2021-11-071-0/+1
|
* Bump version, update NEWSv1.1.1Přemysl Eric Janouch2021-11-042-1/+8
|
* Bump termoPřemysl Eric Janouch2021-11-041-0/+0
|
* Do not beep on focus changesPřemysl Eric Janouch2021-11-041-3/+5
|
* CMakeLists.txt: fix macOS buildPřemysl Eric Janouch2021-11-022-2/+2
|
* Update .gitignorePřemysl Eric Janouch2021-10-301-0/+2
|
* CMakeLists.txt: clean upPřemysl Eric Janouch2021-10-301-6/+6
|
* Add clang-format configurationPřemysl Eric Janouch2021-10-302-1/+33
|
* CMakeLists.txt: synchronize with sdtuiPřemysl Eric Janouch2021-10-271-5/+8
|
* README: update dependenciesv1.1.0Přemysl Eric Janouch2021-10-211-1/+1
|
* Bump version, update NEWSPřemysl Eric Janouch2021-10-212-2/+2
|
* Fix the line editor/spectrum analyser interactionPřemysl Eric Janouch2021-10-211-0/+6
| | | | The updater assumed the terminal cursor was invisible.
* Add program arguments to MPD's current playlistPřemysl Eric Janouch2021-09-073-11/+86
| | | | | | | | I was tired of using `mpv --no-video`, this is a bit better. It's all rather quirky, but very little code is involved. I've added a few related TODO entries.
* Clean up connection initialisationPřemysl Eric Janouch2021-09-061-10/+10
| | | | | | | Also, do not set up the spectrum visualiser before a password is sent. It would look a bit weird to have it run but display "Disconnected", even though technically, it would probably work.
* Improve terminal initialisationPřemysl Eric Janouch2021-09-061-3/+3
| | | | | | | | | | | | | Don't just abort() on failures, print a proper error message. Also, set up ncurses as late as possible. This should be alright wrt. signal handlers according to ncurses code, as well as XSI: > Curses implementations may provide for special handling of > the SIGINT, SIGQUIT and SIGTSTP signals if their disposition > is SIG_DFL at the time initscr is called ... termo blocks job control, so SIGTSTP is not a concern at all.
* Spetrum analyser: expand my favourite commentPřemysl Eric Janouch2021-07-091-1/+2
|
* Spectrum analyser: add some useful commentsPřemysl Eric Janouch2021-07-091-0/+4
|
* Spectrum analyser: optimise the x:16:2 casePřemysl Eric Janouch2021-07-081-8/+21
| | | | | | | | nncmpp CPU usage went from 2 to 1.7 percent, a 15% improvement. Sort of worth it, given that it's a constant load. The assembly certainly looks nicer.
* Rectify an obsolete commentPřemysl Eric Janouch2021-07-081-1/+1
|
* Expand the last comment once againPřemysl Eric Janouch2021-07-081-0/+1
|
* Expand the comment on spectrum frequency filteringPřemysl Eric Janouch2021-07-051-2/+11
|
* Silence a compiler warningPřemysl Eric Janouch2021-07-051-1/+2
| | | | The statement can be eliminated, then it suggests braces.
* Add an optional spectrum visualiserPřemysl Eric Janouch2021-07-055-4/+510
| | | | | | This is really more of a demo. It's doable, just rather ugly. It would deserve some further tuning, if anyone cared enough.
* Update a comment about mouse modesPřemysl Eric Janouch2021-07-041-2/+2
| | | | We might even depend on termo now more than is stated.
* Process focus eventsPřemysl Eric Janouch2021-06-295-4/+25
| | | | Should help prevent accidents in other windows.
* Bump version, update NEWSv1.0.0Přemysl Eric Janouch2020-11-052-1/+23
|
* Add a real manual pagePřemysl Eric Janouch2020-11-053-41/+104
| | | | Closes #3
* Minor clarificationsPřemysl Eric Janouch2020-11-051-1/+3
|
* CMakeLists.txt: install the contrib directoryPřemysl Eric Janouch2020-11-051-0/+1
|
* CMakeLists.txt: make this build in OpenBSDPřemysl Eric Janouch2020-10-291-0/+6
|
* CMakeLists.txt: omit end{if,foreach} expressionsPřemysl Eric Janouch2020-10-291-6/+6
| | | | Their usefulness was almost negative.
* Bump minimum CMake version to 3.0Přemysl Eric Janouch2020-10-293-21/+6
| | | | A nice, round number. This allows us to remove some boilerplate.
* Bump termoPřemysl Eric Janouch2020-10-292-1/+1
| | | | This allows us to get rid of a compiler flag.
* Bump libertyPřemysl Eric Janouch2020-10-291-0/+0
|
* Comment the "poll_elapsed_time" optionPřemysl Eric Janouch2020-10-241-0/+6
|
* Show song duration in the libraryPřemysl Eric Janouch2020-10-241-4/+11
| | | | | | | | Ideally we'd make columns configurable, which isn't trivial. This brings the "Current" and "Library" tabs closer together. Closes #2
* Skip playlists in lsinfo responsesPřemysl Eric Janouch2020-10-241-4/+11
| | | | Instead of merging the fields into other items.
* Refactor the library tab, track durationPřemysl Eric Janouch2020-10-241-66/+73
| | | | | | The `struct strv` was clunky, it's better to store items directly in the format we use for all processing. The additional memory cost is negligible.
* Use '-' instead of '?' for unknown durationPřemysl Eric Janouch2020-10-241-34/+33
| | | | | | | | It is less distracting. Also use mpd_read_time() and load "duration" as well. This value isn't rounded to whole seconds, so we load it before "time" as a fail-safe measure.
* Improve the MPD time parserPřemysl Eric Janouch2020-10-241-9/+18
| | | | | | - reject negative values, which strtoul() happily accepts - deal with an arbitrary number of decimal digits - don't return milliseconds when we fail to parse seconds
* Bind M-Up to the "up" actionPřemysl Eric Janouch2020-10-231-0/+1
| | | | Taken from Windows Explorer, which abandoned the Backspace binding.
* CleanupPřemysl Eric Janouch2020-10-231-25/+30
| | | | No functional change.
* Avoid jumping around in polling modePřemysl Eric Janouch2020-10-231-7/+18
| | | | | | | | While still avoiding busy loops. It works well enough to enable this by default. Closes #1
* Add a comment and update another onePřemysl Eric Janouch2020-10-181-0/+4
|