Conversation
Adding bookmarkscript by Luke Smith, shown in YT video "Bookmarking for Unix Chads..."... what do you think?
Added bookmarkthis script
|
Is it possible to add the DWM binding also? |
Just uncomment the line with the binding of MODKEY Shift and in the command add something like |
The file to modify is config.h under src/dwm |
|
Guys, i have no idea how to add my script to the commit section on here, i think i end up adding a complete new pull. Any way, here the script that i use: https://github.com/DanielPonte01/bookmark/blob/main/bookmarkthis It provides the ability to create the bookmark with a title, if the user so desires, via a Dmenu prompt. As you can see it changes directory to $HOME/Documents/bookmarks and uses the bookmarks.txt document. The directory and file are automatically generated. An additional change must be made to the DWM configuration. In the shortcut that call for the dmenu promp, use this: "xdotool type $(grep -v '^#' /$HOME/Documents/bookmarks/bookmarks.txt | dmenu -i -l 50 | cut -d' ' -f1)" |
Someone can put the script in the commit section? |
|
I have improved the bookmarking function, thinking you would like it. Take a look at it, I will open a new PR. You only get the names of the websites on dmenu. For example you only see "Searxng". If you enter, you can search things with a keyword without a browser opened. If the chosen site doesn't need you to search, then you open the site immediately. With this way, we improve readability since we remove the unnecessary part from the urls. The script can also add, delete, edit bookmarks without needing another script. It handles duplicates and wrong URLs. I have shared my script. You can check the PR from me: |
Adding bookmarkthis script by Luke Smith in .dotfiles repository... do you agree?
Thanks!