Creating A Dmenu Script For Web Bookmarks And History

  Рет қаралды 8,664

DistroTube

DistroTube

Күн бұрын

Пікірлер: 48
@fawkeyes5111
@fawkeyes5111 3 жыл бұрын
can't get enough of those dmenu ideas!
@robert58
@robert58 3 жыл бұрын
Dmenu is becoming one of my favorite pieces of software. It's just so versatile!
@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!
@davidr2421
@davidr2421 3 жыл бұрын
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 жыл бұрын
That's quite clever! I guess that's some of the power of having a .py file as the configuration file.
@TheDotBot
@TheDotBot 3 жыл бұрын
I'm having that scripting phase too, only it's with rofi. Which I first heard about on this channel.
@joelchrono
@joelchrono 3 жыл бұрын
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)
@armynyus9123
@armynyus9123 3 жыл бұрын
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 жыл бұрын
Fish is the future. I'm just ahead of the curve. ;)
@armynyus9123
@armynyus9123 3 жыл бұрын
@@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 жыл бұрын
>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 :-)
@sud0x3
@sud0x3 3 жыл бұрын
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.
@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 жыл бұрын
Your desktop always look so gorgeous!
@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 жыл бұрын
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 жыл бұрын
@@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!
@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
@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??
@charlessmith5465
@charlessmith5465 3 жыл бұрын
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 жыл бұрын
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!
@hellozdm3701
@hellozdm3701 3 жыл бұрын
seems use for qutebrowser is perfect, but query brave sqlite sometime will get lock error
@prathampowar716
@prathampowar716 3 жыл бұрын
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.
@kenba8176
@kenba8176 3 жыл бұрын
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 жыл бұрын
Wow. I'm really fast
@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).
@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.
@dawkot6955
@dawkot6955 3 жыл бұрын
sequel
Multiple Color Themes In Dmenu And Other Programs
9:09
DistroTube
Рет қаралды 18 М.
Want A List Of Your Keybindings? Write A Shell Script!
27:11
DistroTube
Рет қаралды 24 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,4 МЛН
Officer Rabbit is so bad. He made Luffy deaf. #funny #supersiblings #comedy
00:18
Funny superhero siblings
Рет қаралды 19 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 11 МЛН
Solve Problems With Shell Scripting And Dmenu
18:26
DistroTube
Рет қаралды 32 М.
Free Software Is Under Attack! (Will You Help Defend It?)
32:02
DistroTube
Рет қаралды 20 М.
Fix Your Shell Scripts With Shellcheck
11:18
DistroTube
Рет қаралды 14 М.
Patching Dmenu Is Absolutely Worth The Time And Effort
14:01
Brodie Robertson
Рет қаралды 13 М.
Learning Awk Is Essential For Linux Users
20:02
DistroTube
Рет қаралды 301 М.
Problems You will Encounter on Linux (and How to Solve Them)
23:01
Rob Braxman Tech
Рет қаралды 103 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 720 М.
dmenu - динамическое меню GNU/Linux 🤔
9:12
Чёрный Треугольник
Рет қаралды 23 М.
How to put Bash Scripts on the Web
15:02
Mark McNally
Рет қаралды 5 М.