Emre AKYÜZ 9021792c2f
Script for Using Bookmarks (Separate URL and Name + Search with Keywords)
This script allows us to open a bookmarked URL on the browser, only showing the name of the website, stripping the URL from the dmenu list.
- If the URL has the word "search" in it, then the script will offer for a second dmenu for you to enter a keyword to search.
      - "searxng" entry, will offer for a second input after being chosen. Then you can enter a keyword to search from that website. It can be any website with search function. So look at your bookmarks --> choose "searxng" entry --> Write a keyword and enter --> Search for that keyword on searxng.
- Otherwise it will open the website directly --> "cooking" entry can open "https://based.cooking" for example.
- We rely on the JSON data formatting to separate URLS from the names we put on websites. So we need to program "jq".

Summary: It first selects a website using dmenu, then checks if "search" is present in the URLQUERY such as "https://paulgo.io/search?q=". If "search" is present, it asks for keywords before opening the URL. If not, it directly opens the URL without asking for keywords.

Execution Time: Instant
Required Programs: jq | echo | grep | dunst | browser
Required File: A bookmark file named ~/.local/share/larbs/urlquery formatted in JSON data format like this:
Goes well with: The other script: bookmarkthis
[  
 [
   "searxng",
   "https://www.paulgo.io/search?q="
 ],
 [
   "cooking",
   "https://based.cooking"
 ]
]
2023-04-23 02:02:35 +03:00
2022-03-11 18:32:19 -05:00
2020-11-16 18:06:41 -05:00
2020-11-16 18:06:41 -05:00
2021-03-07 15:07:41 -05:00
2018-08-02 00:29:58 -04:00
2023-01-23 00:18:01 +00:00

The Voidrice (Luke Smith https://lukesmith.xyz's dotfiles)

These are the dotfiles deployed by LARBS and as seen on my YouTube channel.

  • Very useful scripts are in ~/.local/bin/
  • Settings for:
    • vim/nvim (text editor)
    • zsh (shell)
    • lf (file manager)
    • mpd/ncmpcpp (music)
    • sxiv (image/gif viewer)
    • mpv (video player)
    • other stuff like xdg default programs, inputrc and more, etc.
  • I try to minimize what's directly in ~ so:
    • All configs that can be in ~/.config/ are.
    • Some environmental variables have been set in ~/.zprofile to move configs into ~/.config/
  • Bookmarks in text files used by various scripts (like ~/.local/bin/shortcuts)
    • File bookmarks in ~/.config/shell/bm-files
    • Directory bookmarks in ~/.config/shell/bm-dirs

Usage

These dotfiles are intended to go with numerous suckless programs I use:

I also recommend trying out mutt-wizard, which additionally works with this setup. It gives you an easy-to-install terminal-based email client regardless of your email provider. It is integrated into these dotfiles as well.

Install these dotfiles and all dependencies

Use LARBS to autoinstall everything:

curl -LO larbs.xyz/larbs.sh

or clone the repo files directly to your home directory and install the dependencies.

Default Desktop Artwork

Thomas Thiemeyer's The Road to Samarkand (fb, insta, shop)

Description
No description provided
Readme GPL-3.0 94 MiB
Languages
Shell 92.8%
Vim Script 5.3%
JavaScript 1.5%
Perl 0.2%
Lua 0.2%