Enjoy the holidays everybody!
And feel free to enjoy my drastically improved shell commands for directory navigation;
dir-stack (C-h) to recall directories from the $HISTFILE, via a convenient chronological ordered list. https://codeberg.org/oxo/dotf/src/branch/main/zsh/function/dir-stack.sh
cd-child (C-j) to easily navigate sub directories. Press C-j again to drill deeper down into the directory stack.
Then there are cd-up (C-k) and cd-yazi (C-l). With the last command mentioned you can use yazi to navigate to a specific directory (there is also a lf variant available).
The commands are making use of fzf and can be get from: https://codeberg.org/oxo/dotf/src/branch/main/zsh/function/cd-funcs.sh
I am currently planning to make a demo video on this command set. Publication will be announced shortly!
I decided to also decentralize my emacs configuration. Carefully. Step by step. :)
#emacs #config
https://codeberg.org/oxo/dotf/src/branch/main/emacs
Latest update is a decentralized configuration. With that my zsh runcom effectively contains only one line:
for sh_function in $zsh_function/*.sh; do
source $sh_function
done
#linux #commandline #zsh #runcom
https://codeberg.org/oxo/dotf/src/branch/main/zsh/.zshrc
The Mozilla foundation has an open survey about how they should approach the future, if you care feel free to fill it out. Especially so if you've been unhappy about the organization for years https://mozillafoundation.tfaforms.net/101
Neovim kickstart is nice! Learning some lua along the way.
My only issue now is getting zig fmt working properly in the default script. Conform is messing up only the first line when autoformat is executed while saving a zig file...
Solving that will be my goal for today.
#linux #nvim #lua #zig_fmt #conform #autoformat
Today I struggled with the language formatter in neovim for the zig programming language.
Every time when saving a file it printed ANSI escape characters at the beginning of the zig file.
Workarounds in the init.lua didn't solve the problem.
An upgrade from the latest stable release of neovim (0.10) to the nightly build (0.11.0-dev-1103) fortunately did!
Continuing my journey...
#linux #neovim #nightly #fmt #zig
Hey, I've been using Session to chat with complete privacy and security. Come join me! My Account ID is
053f34f21e1279ddc0832a508dab5eb91c53022f57bd1135881d01f9313884ef6a
Download it at https://getsession.org/download
#private #secure #messenger #session
Today I added a final feature to the commandline grid clock Novies; 16bit colors!
With that the clock is now fully done. Downside is that 16bit colors introduced a dependency. But coloring the off-lights dark grey really looks amazing.
If you use the oxo desktop environment you can even snap a floating version to the monitor borders or edges. Pretty cool!
If you don't want the dependency and use the old ANSI color codes, just switch the commented decoration lines in the script.
https://codeberg.org/oxo/tool/src/branch/main/novies
#linux #shell #commandline #script
Novies is a command line grid clock inspired by a so called 'tix clock'. A few iterations have simplified the code and improved the performance of the script.
Settings can now be entered via command line options. For example try:
novies orientation h pattern sym_v interval 1
https://codeberg.org/oxo/tool/src/branch/main/novies
#linux #shell #commandline #script
Novies again is much simplified. All data is stored in arrays now. I don't feel it's there yet, but it's developing into the right direction. Next step will be scrutinize the update intervals for the hours, minutes and seconds.
https://codeberg.org/oxo/tool/src/branch/main/novies
#linux #shell #commandline #script
I want to replace my #yubikey with a #nitrokey 3 (https://www.nitrokey.com/products/nitrokeys). As a backup and because I want to support open source security solutions. But I need static slots. Does the nitrokey 3 also has two static slots, like the yubikey does?
Baby steps, but still progression towards my endgoal with my Novies script.
The goal is a script that is easy to understand so I can teach it to others. Not a light task. But a fun one!
https://codeberg.org/oxo/tool/src/branch/main/novies
#linux #shell #commandline #script
We didn't expect Google to do this. 😳
The novies clock is working.
I consider todays last commit (9931e36db9) as the alpha release.
Vertical and horizontal modes, random numbers patterns and predefined ones.
But the fun actually has just started. I see many opportunities to prune out inefficient code, simplifying the script more and more.
Keep track of my progress at:
https://codeberg.org/oxo/tool/src/branch/main/novies
#linux #shell #commandline #script
Novies
https://codeberg.org/oxo/tool/src/branch/main/novies
Many loops removed, thanks to tput.
Many files removed, thanks to arrays.
Still working on some bits and pieces...
#linux #shell #commandline #script
While my novies script was born a few days ago, it already is rewritten to destruction. At least at the moment.
Rewriting is getting rid of intermediate files and will store all fluid information in accociative arrays, so that the entire execution can be done from memory.
So keep an eye on https://codeberg.org/oxo/tool/src/branch/main/novies as it will receive iterative updates shortly.
While my novies script was born a few days ago, it already is rewritten to destruction. At least at the moment.
Rewriting is getting rid of intermediate files and will store all fluid information in accociative arrays, so that the entire execution can be done from memory.
So keep an eye on https://codeberg.org/oxo/tool/src/branch/main/novies as it will receive iterative updates shortly.
Happy to announce my shell version of a tix alike clock, named: novies (https://codeberg.org/oxo/tool/src/branch/main/novies).
Lights are customizable in shape, color and their update frequency. A horizontal as well as vertical version can be selected. It is configured for alacritty, but shouldn't be an issue to run in any shell. Not tested though.
I am currently working on configuration options as command line flags and configuration files, to be able to more easily change settings.