dotfiles
notes
dotfiles | notes | |
---|---|---|
5 | 17 | |
15 | 53 | |
- | - | |
0.0 | 1.5 | |
over 1 year ago | about 1 year ago | |
Shell | Vim Script | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dotfiles
-
[newsboat] How to update feeds in a cron job/background?
I have done it through a systemd user timer+service unit, where the service runs the command and the timer activates the service at the right times.
-
Mind helping a newbie a qutebrowser with scripts?
I have something like that in my setup for redirecting twitter to nitter. Notice it is a javascript-based greasemonkey userscript which qutebrowser injects on webpages, so it goes in a different folder in the same place as the userscripts folder, just named greasemonkey. The difference is that qutebrowser userscripts are more like custom scripts or programs you can call from qutebrowser using :spawn and similar commands.
-
What tools / utilities have you written that you use regularly?
From my dotfiles ~/bin, I have a few that I use more than once every day:
-
Convertion of youtube links to invidious links when opened in new tab?
I have something like that setup for twitter->nitter, just change them to youtube and invidious in both the greasemonkey script metadata and the code itself.
-
A simple script to convert reddit links to old.reddit links
Now, to answer you question, I made this greasemonkey script that does something similar with twitter converting them to nitter links any time the page starts loading, just change the @match rules to www.reddit.com urls and change the parameters in the replace() to where you want to redirect, and drop it in your greasemonkey script directory.
notes
-
Blog: Terminal file managers and my Vifm setup
I've documented some really cool things that vifm can do: https://github.com/sitaramc/notes/blob/master/vifm.mkd
-
Prevent Thunar from writing lines to config file, or alternatively make git ignore certain lines
So I wrote https://github.com/sitaramc/notes/blob/master/dac -- 30 lines of shell plus maybe another 30 or 40 of comments, and it does everything I want in a dotfile manager.
-
What tools/methods do you use to track/journal all changes to your (desktop) system?
All this is painlessly taken care of by https://github.com/sitaramc/notes/blob/master/dac (documentation: https://github.com/sitaramc/notes/blob/master/dac.mkd)
-
ncdu - ncurses disk usage - see which directories and files are hogging the most space
If you have fzf installed, grab https://github.com/sitaramc/notes/blob/master/try, and run try dust. Then start typing -t jpg (for example). Then backspace over the jpg and change it to png. Or use some other options.
-
what is the easiest way to backup your config files?
I hesitate to nominate any of them because (a) there are dozens or even hundreds of them and (b) I don't like any of them; I wrote my own because I needed a "hold" feature that no one had (i.e., when propagating changes to the repo, I want to hold back some parts of the change; https://github.com/sitaramc/notes/blob/master/dac.mkd explains better if you're interested
-
Do you use VIFM?
For those of you who are curious, https://github.com/sitaramc/notes/blob/master/vifm.mkd is my part "review" and part "tips and tricks" on vifm.
-
What tools / utilities have you written that you use regularly?
Most of my tools are in bash or perl, most of them less than 100 lines of code, (most of them are less than 200 even with comments). https://github.com/sitaramc/notes has all of them (terrible name for a repo full of tools I know; sorry!)
-
Seeking a terminal file manager
Absolutely vifm. My notes+tips/tricks on this at https://github.com/sitaramc/notes/blob/master/vifm.mkd
-
Should I use vim or neovim?
https://github.com/sitaramc/notes/blob/master/dac.mkd for documentation, https://github.com/sitaramc/notes/blob/master/dac.mkd for code, if you're interested.
-
difference between terminal file managers?
if you're a vim user, you can't go wrong with vifm. My take on vifm is here: https://github.com/sitaramc/notes/blob/master/vifm.mkd -- can't hurt to give it a read (it's a wee bit outdated but not much; probably only the last section needs to be updated)
What are some alternatives?
enchive - Encrypted personal archives
clifm - The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell.
nbrowser - 🔗 🌐 : an easy way to open links in browsers, mimic the "Open URL with..." dialog on Android, `nbrowser` help you open links in a browser
smenu - smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.
vids - 🔍 🔘 ⏯️ 🔁 - search for videos to play from youtube.com and other platforms...
vifm.vim - Vim plugin that allows use of vifm as a file picker
note-keeper - :notebook: A tiny bash tool for taking and organizing notes.
suda.vim - 🥪 An alternative sudo.vim for Vim and Neovim, limited support sudo in Windows
gitstart - Gitstart automates creating a GitHub repo. The script will create .gitignore, a license.txt, a README.md file and commit with a message. It will create a remote repo and push all the files.
dark-toggle - A small POSIX compliant shell script that toggles between the dark and light variants of a GTK theme.
Watson - :watch: A wonderful CLI to track your time!