Add the option for some users (like me) who either don't use swap or
don't have much of it, and so aren't allowed to hibernate by the kernel.
Instead of telling the kernel to suspend then hibernate, just suspend.
Removes the requirement for the user running the script to enter the
administrator/sudo password to manage power (which causes lots of
strange issues with dmenu and focus etc.).
* additionally extract from xml files
Before this, rssadd only accepted a URL as argument. Now, if given
an xml file, it will parse it and extract the proper url. This lets it
be used in conjunction with firefox for quickly adding RSS feeds (as
firefox would give it the file rather than its origin URL). This works
on a majority of RSS feeds, but fails on some that miss the proper link
tags. The original behaviour is still mantained alongside the new.
* remove surplus `exit`
* more performant grepping
* Handle color control sequences
Is: `less` outputs the raw ascii of the $chartfile, which includes escape characters to change output colors. This does not resemble a graph.
Should be: Adding -n flag to have `less` create colored output properly.
* typo
changed to -Srf to reflect proposed change
A custom filename and directory can be specified with startx command,
which in this case is $XINITRC variable that indicates
$XDG_CONFIG_HOME/x11/xinitrc
There is no reason for the URL of Luke's main RSS feed to be transferred over unencrypted HTTP. That's why i changed it to HTTPS. Nothing big, it just mildly infuriated me.
While removing trailing newlines is a good idea, it is a problem when
editing C files which "must" have an empty line at the bottom.
So we leave just a single newline, if there were any.
Co-authored-by: Spenser Truex <truex@equwal.com>
* adopting `sb-`
The 2619a88fcd94cbd4b2caa719ba926ae0013fb4ec update might have broken scripts, like this, that use a script from `~sc/statusbar/`
* adopt `sb-`