[-] Andy@programming.dev 1 points 3 years ago

I see a lot of good recommendations already, and want to add one more suggestion to try: Siduction.

I'm not sure how exactly its repos match up against the software you want more recent releases for but IMO it's worth checking in a live boot environment or VM.

[-] Andy@programming.dev 1 points 3 years ago

I have spacing issues on panels too, but I'm reluctant to file issues because my distro packages aren't the newest and I don't want to waste anyone's time.

But anyway for your case you might benefit from widening your vertical panel just enough to bump up the icon size, and/or forcing the task manager to use a certain number of columns.

[-] Andy@programming.dev 1 points 3 years ago

I agree with all this except the "one time payment" is only good for three years of updates.

[-] Andy@programming.dev 1 points 3 years ago

I use broot all the time and appreciate that xplr is more plugin oriented or flexible is some ways, but don't really feel I need more than broot so haven't given xplr a proper try.

As you use both, would you say there's a particular feature or task that has you reaching for xplr over broot?

[-] Andy@programming.dev 1 points 3 years ago

Nothing that's the same, but Telegram chats/channels and BeReal.

[-] Andy@programming.dev 1 points 3 years ago

Pipx is for making the script runnable system wide, not making the code importable system wide.

Please go to a different folder, create and activate a venv, install the package and ipython, and see what you can import.

[-] Andy@programming.dev 1 points 3 years ago

When installed, is the module name actually energy_monitor, instead of energymonitor?

To investigate interactively, you could create and activate a venv, install the package from the archive, install ipython, run that, and use its tab completion to import energ<TAB>.

[-] Andy@programming.dev 1 points 3 years ago
[-] Andy@programming.dev 1 points 3 years ago

Well I haven't really used it myself yet but you could add aconfmgr to your setup.

[-] Andy@programming.dev 1 points 3 years ago

still maintained?

Yup! It's rolling, but the latest ISO release was in March.

[-] Andy@programming.dev 1 points 3 years ago* (last edited 3 years ago)

If you were using Zsh, one way you could do this is by autoloading function files from a folder in your fpath.

Let's say you're using ~/.local/share/zsh/site-functions for your custom functions. To ensure that folder is an early part of your fpath, put something like this within your .zshrc:

typeset -U fpath=(~/.local/share/zsh/site-functions $fpath)

Then let's say you want to override the uptime command. Add a file ~/.local/share/zsh/site-functions/uptime with content like:

NO_COLOR=1 =uptime

Explanation for the second =:

 `=' expansion
     If  a word begins with an unquoted `=' and the EQUALS option is set, the remainder of the word is taken as the name of a command.  If a command ex‐
     ists by that name, the word is replaced by the full pathname of the command.

The last thing you need to do is mark it for autoloading, in your .zshrc:

autoload -Uz uptime

Instead of listing those functions manually as arguments, you could instead use a glob pattern to collect all those names, excluding any which begin with _ (completion functions):

autoload -Uz ~/.local/share/zsh/site-functions/[^_]*(:t)
view more: ‹ prev next ›

Andy

0 post score
0 comment score
joined 3 years ago
MODERATOR OF