Creating A Dmenu Script For Web Bookmarks And History

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 48

  • @fawkeyes5111
    @fawkeyes5111 3 роки тому +16

    can't get enough of those dmenu ideas!

  • @robert58
    @robert58 3 роки тому +2

    Dmenu is becoming one of my favorite pieces of software. It's just so versatile!

  • @armynyus9123
    @armynyus9123 3 роки тому +9

    Neat. But: We are still waiting for a plausible prove, that you had been at least slightly intoxicated, when doing that recent short vid about linking _bin/sh_ to _fish_ ;-)

    • @DistroTube
      @DistroTube  3 роки тому +9

      Fish is the future. I'm just ahead of the curve. ;)

    • @armynyus9123
      @armynyus9123 3 роки тому +1

      @@DistroTube “Their morals, their code; it's a bad joke. Dropped at the first sign of trouble. They're only as good as the world allows them to be. You'll see- I'll show you. When the chips are down these, uh, civilized people? They'll eat each other. See I'm not a monster, I'm just ahead of the curve.”
      ― The Joker - Heath Ledger
      Seriously: It's really sexy. Slick, fast, powerful, innovative (alone that config system...). Using it since that funny vid of yours, zsh always felt too bloated, subjectively.
      But no - I would not shoot my system with that symlink, _etc/passwd_ or _chsh_ is, I think, the saner way to defaulting to it, no?

    • @DistroTube
      @DistroTube  3 роки тому +6

      >Their morals, their code; it's a bad joke...
      Ledger was clearly referring to POSIX!

    • @andrecampolina3333
      @andrecampolina3333 3 роки тому

      @@DistroTube what

    • @armynyus9123
      @armynyus9123 3 роки тому

      @@DistroTube You are objectively wrong - and you know it. But you give a sh**, because you are so excited about that tool. That's I guess the reason why so many of us, incl. me, can so much relate to you and your enthusiasm :-)

  • @TheDotBot
    @TheDotBot 3 роки тому +6

    I'm having that scripting phase too, only it's with rofi. Which I first heard about on this channel.

    • @joelchrono
      @joelchrono 3 роки тому +1

      To be honest, all of this can be done on rofi just by piping it into it instead of dmenu xD

    • @TheDotBot
      @TheDotBot 3 роки тому

      @@joelchrono Psht you giving the game away! :D

    • @eriklundstedt9469
      @eriklundstedt9469 3 роки тому

      I've been doing the same
      Except my scripts will also work over SSH
      I'm using fzf and sometimes fzy(fzf clone that echoes what you typed even though it wasn't in the input list, making freetext possible)

  • @Aerodos12
    @Aerodos12 3 роки тому

    This is DEFINITELY noted. Also, i got a test build of my distro (Terminal version) working, so as soon as install Xorg, St and (possibly) DWM, i will see if i can do something like this. Thanks again!

  • @sud0x3
    @sud0x3 3 роки тому +1

    There are two scripts which provide simmilar functionality in the qutebrowser repository. qutedmenu and dmenu_qutebrowser. You will also find many more seems people like to reinvent the wheel with dmenu scripts.

  • @davidr2421
    @davidr2421 3 роки тому +1

    Here's a tip: In your qutebrowser config.py if you read in your Search Enginges from a text file instead of defining them inline in the python dictionary, you can then read that text file from your script to have the Search Engines appear in your menu just like they do in qutebrowser. I've done this and it's pretty quick and easy.

    • @magnusanderson6681
      @magnusanderson6681 3 роки тому +1

      That's quite clever! I guess that's some of the power of having a .py file as the configuration file.

  • @hellozdm3701
    @hellozdm3701 3 роки тому

    seems use for qutebrowser is perfect, but query brave sqlite sometime will get lock error

  • @besnikrrustemi
    @besnikrrustemi 3 роки тому

    Excellent video DT, would love some Spectrwm love/update/revisit video like the Qtile one.
    My 2 favorite WMs

  • @ilahazs
    @ilahazs 3 роки тому +2

    Your desktop always look so gorgeous!

  • @reinhardscherer2860
    @reinhardscherer2860 3 роки тому

    you are aware of debians "buku - a powerful command-line bookmark manager" ?
    maybe it is useful for you as it covers a few browsers.

    • @SoundToxin
      @SoundToxin 3 роки тому

      What does buku have to do with Debian??

  • @akemrir
    @akemrir 3 роки тому

    Hi. Nice and useful video. Is it possible to grab/open filtered entries in browser? Like --bind 'ctrl-a:select-all+accept' for fzf.

  • @BenitoF2009
    @BenitoF2009 3 роки тому

    Hey DT! Thanks for your work and for the great ideas you give me with your videos!
    Is there a chance to get that script running with the vivaldi browser or chromium? That would be really nice and helpful!

    • @DistroTube
      @DistroTube  3 роки тому +2

      I don't use those browsers, so no, I won't be doing this. But you don't need me to do this for you. "Google" where those browsers store their bookmarks/history. Then, play at the command line with tools like grep/sed/awk to pull out the urls with their corresponding titles from those files. Then edit my script in the appropriate places.

    • @tokiomutex4148
      @tokiomutex4148 3 роки тому

      @@DistroTube Then analyze the script with shellcheck

    • @BenitoF2009
      @BenitoF2009 3 роки тому +1

      @@DistroTube Thanks for the answer! Appreciate it. I've tried a similar approach but could only cut out the url's and not the description in a useful way.
      So I will try your script. Maybe I've got it this time better. ;-) Thanks again!

  • @charlessmith5465
    @charlessmith5465 3 роки тому +1

    I use a little wrapper around dmenu_run which logs anything I run via it, along with a timestamp. I called it, dmenu_run_log. 😉

    • @daveshouldaine2520
      @daveshouldaine2520 3 роки тому +1

      how useful is this and why do you need it?

    • @charlessmith5465
      @charlessmith5465 3 роки тому

      @@daveshouldaine2520 it lets me see how often I run each program, mostly for gui programs. Similarly, I also split the bash HISTFILE into timestamped and per-pid files in my bashrc, which lets me grep through all my bash logs to recall old sessions of shell commands, count the times different commands were run, etc. Then if I e.g. want to port the environment to another system I have an idea which commands are most necessary, or what I might want alternatives for.

    • @daveshouldaine2520
      @daveshouldaine2520 3 роки тому

      @@charlessmith5465 that's interesting, thank you!

  • @anantgupta7916
    @anantgupta7916 3 роки тому

    Hey DT (Don't know where to ask but will be glad if you answered this in your next Hey DT or in reply)
    I have heard you telling OS/browser as 'free in freedom' example GNU GUIX but we are restricted in some stuff we can't download any web browser or other utility which is not 100% free. Another example is librewolf... We are not free to do many stuff that other utility can give us

    • @SoundToxin
      @SoundToxin 3 роки тому

      Guix System does not impede your freedom 0 (use the software for any purpose). You are free to run non-free software on it. You can use other channels or run your own channel which contains non-free software. You can replace the default linux-libre with regular linux if you need to in order to make your GPU or other things work. There's a popular one called "nonguix" that many people use. It's just totally free out of the box, unlike your average distro. I've kept mine free, as that is my desire, but a friend of mine runs nonguix to get his AMD GPU to work. I use a ThinkPad T440p and everything but the WiFi works. I removed the WLAN card and plan to put in a different one later which will hopefully work with linux-libre.
      As for LibreWolf, I haven't used it, but AFAIK it's a Firefox fork similar to IceCat, and I doubt it restricts you either, although I'm not sure what sort of thing would even be restricted. Does it try to stop you from installing certain extensions or something?

    • @anantgupta7916
      @anantgupta7916 3 роки тому

      @@SoundToxin Thanks!... BTW I got my answer in one of hey dt episode also

  • @prathampowar716
    @prathampowar716 3 роки тому +1

    Dt You should look at Nyxt Browser . It is like emacs when qutebrowser is like vim . And it is Open Source.

    • @SoundToxin
      @SoundToxin 3 роки тому

      It also has a vim mode, but it's not quite as good as qutebrowser's yet.

  • @xade8381
    @xade8381 3 роки тому

    a video on conky themes, plz

  • @SlideRSB
    @SlideRSB 3 роки тому

    It's good to see you back on your horse after you posted cringe. I'm glad that didn't get you down.

  • @abuk95
    @abuk95 3 роки тому

    Or just install Vimium plugin to some normal browser. Qutebrowser does not have add blocker anyway.

    • @hellozdm3701
      @hellozdm3701 3 роки тому

      Do you need this ? qutebrowser v2.0.0 (2021-01-28) If the Python adblock library is available, it is now used to integrate Brave’s Rust adblocker library for improved adblocking based on ABP-like filter lists (such as EasyList).

  • @kenba8176
    @kenba8176 3 роки тому +5

    Man you misswrote #!/bin/sh as #!/usr/bin/env bash at the top of the script. Just wanted to let you know.

  • @cevizagaci31
    @cevizagaci31 3 роки тому +5

    Wow. I'm really fast

  • @dawkot6955
    @dawkot6955 3 роки тому

    sequel