dmenu: Your own Custom Script Menus!

Sdílet
Vložit
  • čas přidán 6. 04. 2018
  • Support the channel!: / lukesmith
    Send money: PayPal.me/LukeMSmith
    See my website: lukesmith.xyz
    Forum : forum.lukesmith.xyz
  • Věda a technologie

Komentáře • 141

  • @schweinekillerlp2245
    @schweinekillerlp2245 Před 6 lety +282

    "Yo yo everyone"

  • @DigitalMetal
    @DigitalMetal Před 6 lety +108

    I enjoyed this video. And I'm not just saying that because you referenced my channel. :)

  • @_ma7dev
    @_ma7dev Před 6 lety +21

    Man, your videos are extremely helpful and encouraged me to literally switch to arch linux fully. I have been using arch as my daily driver and I have made some bash scripts that helped my experience using LARBS. I hope that I can contribute to the community in the near future.

    • @abstractapproach634
      @abstractapproach634 Před rokem

      BTW ...... right, I think your required by the AEULA (arch end user license agreement) to say that anytime you mention your OS.

    • @_ma7dev
      @_ma7dev Před rokem +3

      @@abstractapproach634 you know Luke does a lot of videos about his arch setup. It seems that you haven't been following his content and just wanted to make a silly joke about mentioning arch. Next time, learn the context because it matters.

  • @MrKashyr
    @MrKashyr Před 4 lety +9

    Thanks Luke, really amazing video. I was so excited in the middle of it that I had to go to do some tweaking and I made myself a reference seeker for LaTeX in vim.

  • @lonniebest4697
    @lonniebest4697 Před 2 lety +1

    Very powerful. Thanks for showcasing these features.

  • @christianvangindertael6843

    I love your channel, so many interesting tips and tricks. I have just implemented your dmenu approach in order to change my screen brightness (because for whatever reason I simply can't get xbacklight to work - however xrandr does work for setting brightness). Thanks!!

  • @vasakq
    @vasakq Před 6 lety +10

    Thanks for some useful tips. Just one idea - instead of searching for and recompiling the source code just to change the colour scheme, you can add just one line in ~/.bashrc file : alias dmenu=''dmenu -nf blue -nb black'

  • @fuanka1724
    @fuanka1724 Před 6 lety

    I also use dmenu all the time, never took the time to properly configure and script it. Good tips, thanks.

  • @luksyrabs7213
    @luksyrabs7213 Před 6 lety +3

    Great to see you again Luke.

  • @duffman6088
    @duffman6088 Před 6 lety +18

    Oh boyyy he's back!

  • @renanabreusilveira2298

    Thx for your video. You give a whole new world of what I can do with dmenu, I was literally using only as a launcher

  • @mandeep6ill
    @mandeep6ill Před 6 lety +6

    luke u r really creative :) i use fzf, its also a fuzzy finder, but runs in command line & i used it to query mongodb collections quickly based on table names :D

  • @prahe86
    @prahe86 Před 6 lety +1

    Another great video. You're a great teacher

  • @RobertMurphySeattle
    @RobertMurphySeattle Před 6 lety +27

    Great ideas, great instruction, as always. I'm finding it difficult to justify using the few remaining GUI applications that I do.

    • @not_herobrine3752
      @not_herobrine3752 Před 2 lety

      three years and three months later, are you still cli only?

    • @jonasben9649
      @jonasben9649 Před 2 lety

      four years later are you still cli only?

    • @turolretar
      @turolretar Před 2 lety

      paint in cmd Any% speedrun wr

  • @Linuxdirk
    @Linuxdirk Před rokem

    I like your setup! I wish I had a display where a tiling WM would make sense 👍

  • @BhashitheAbeysinghe
    @BhashitheAbeysinghe Před 6 lety +5

    Hey thanks mate! I used this idea and made Rofi scripts!

  • @Sumguy21
    @Sumguy21 Před 6 lety

    this changes everything

  • @algarrobotgn90
    @algarrobotgn90 Před 4 lety +2

    Thanks for the video! I've just realized there are a lot of things that I could do easier using this :)

  • @errvega2705
    @errvega2705 Před 5 lety +1

    You can also set colors/fonts with command line parameters.

  • @maggimentis1428
    @maggimentis1428 Před 2 lety

    Thanks for sharing.

  • @ranska2506
    @ranska2506 Před 6 lety

    Thanks guy this vidéo is perfect with full off indications and good ideas ! Parfait !

  • @barbarenbernd1861
    @barbarenbernd1861 Před 6 lety +1

    Pretty cool, didn't know that.

  • @FishKungfu
    @FishKungfu Před 6 lety +3

    You just made dmenu more fun!

  • @JaimicoCL
    @JaimicoCL Před 6 lety

    I don’t understand anything, but I enjoy watching your videos :)

  • @marcussmithwick6326
    @marcussmithwick6326 Před 6 lety

    Another great useful video for my ever going autism

  • @user-ic7cj8lq9z
    @user-ic7cj8lq9z Před 6 lety

    Aah cool. I use dwm and dmenu. I have compiled and customize dwm but I installed dmenu from arch repo however I am still able to customize dmenu colors and font from the dwm config.h.
    I didn't know how easy it is to integrate dmenu in scripts, sweet

  • @MasterSergius
    @MasterSergius Před 6 lety

    Hi Luke, great video! And do you know how to setup autolock screen in i3 after some AFK time?

  • @finnianquail8881
    @finnianquail8881 Před 6 lety

    YEAH BOI

  • @flightskoo
    @flightskoo Před 6 lety +11

    What up Luke! Great video once again, keep it up. Obligatory engagement post, ENGAGE!

  • @aaronstone628
    @aaronstone628 Před 4 lety +3

    You should do a big Linux course.

  • @linkert810
    @linkert810 Před 6 lety

    Amazing :)

  • @dmitrykamchatny
    @dmitrykamchatny Před 6 lety +1

    You can change Dmenu colours using dmenu_run.
    Example:
    dmenu_run -nf '#BBBBBB' -nb '#272727' -sf '#000000' -sb '#DD0000' -fn 'monospace-10' -p 'Dmenu'

  • @federicoalbesa3748
    @federicoalbesa3748 Před 4 lety +1

    Fantástico

  • @r12fre0n
    @r12fre0n Před 6 lety +25

    Still using dmenu? It's all about rofi now baby

    • @fabeulous
      @fabeulous Před 6 lety +10

      Yes it can. Just use the '-dmenu' flag and it behaves exactly the same.

    • @EnderCrypt
      @EnderCrypt Před 6 lety +2

      is it better than dmenu in most ways? im new to both these

    • @fabeulous
      @fabeulous Před 6 lety +3

      I wouldn't say it's better than dmenu. I just prefer the look of rofi. It also has the nice feature of remembering previous selections, and sorting the suggestions by the number of times they were selected.

    • @calmarcalmar
      @calmarcalmar Před 6 lety +3

      i use both.

    • @wenxiulong4209
      @wenxiulong4209 Před 6 lety

      which one do you think is better Cacalari?

  • @akontio-wk2hk
    @akontio-wk2hk Před 6 lety +3

    Hi Luke, I'm a big fan of your videos, and in fact I actually created a Google account JUST to leave this comment and hopefully get an answer. I've been wondering for weeks now how you got your setup looking the way it does, I love that everything is styled like a terminal. I was wondering if you would mind making a tutorial video for customizing our desktop environment to be the same as yours. I would really appreciate if you could get back to me on this!

  • @jakeduggan3854
    @jakeduggan3854 Před 5 lety

    I have a question, when I remove an application from my system, Dmenu still has the application listed. Is there a way to remove the old application from Dmenu? It's quite frustrating that it doesn't remove the application automatically.

  • @zlovredniyTip
    @zlovredniyTip Před 6 lety

    +Luke Smith how to do you make top right corner look like that?

  • @hrnekbezucha
    @hrnekbezucha Před 6 lety

    Totally doing the power off thing with dmenu now. But having one shortcut for selection of what to do seems more logical. I'm not emacs user to memorize a billion shortcuts for everything

  • @MoreChannelNoise
    @MoreChannelNoise Před 6 lety +2

    maybe i misunderstand you but you can have a .dmenurc file in your home folder with colours and font settings and then in the dmenscript
    if [ -f $HOME/.dmenurc ]; then
    . $HOME/.dmenurc
    else
    DMENU='dmenu -i'
    fi
    or set the colors and fonts in the dmenuscript itself

  • @alexd5637
    @alexd5637 Před 5 lety

    Do you have any sort of setup that can emulate applications like asbru-cm (i's similarwith securecrt or mobaxterm). Basically a fast way to open connections from a menu and tab them.

  • @luksyrabs7213
    @luksyrabs7213 Před 6 lety +9

    Using it with rofi would be great as well.

  • @andresferral2
    @andresferral2 Před 5 lety

    Any ideas in how to use this but with pairs ? (option_to_display, option_to_output)

  • @otalpster4392
    @otalpster4392 Před 6 lety

    Hello. On what machine do you record these videos;

  • @BadWolfPlays66
    @BadWolfPlays66 Před 6 lety

    Hey, Luke. Not sure if you have an answer for me, since it has nothing to do with this vid or any of your vids that I can find. Anyway, I made my own Arch spin from vanilla Arch and I'm using Calamares as the installer. Well, on live I don't have any browsers installed, but I have a browser ballot setup with several choices. If I install using Calamares, it auto-installs Google Chrome, which is one of the choices in the ballot. Is there a way to stop Calamares from auto-installing Google Chrome or any browser? I'm sure it's in the scripts someplace, but I just can't find it.

  • @_mvr_
    @_mvr_ Před 6 lety

    dmenu as prompt for file save from (firefox/qutebrowser/) browser?
    Choices would be folders inside current folder and add +2 choices which would be "Save Here" and ".." for parent dir?
    I dont enjoy the clear GTK save filechooser that comes by default.

  • @klimenkodr123
    @klimenkodr123 Před 5 lety

    Is there a Chad way to manage wifi connections with nmcli and pipes via dmenu?

  • @AnastasisGrammenos
    @AnastasisGrammenos Před 6 lety

    You can config the colors with runtime flags post compilation.

  • @MarkJay
    @MarkJay Před 6 lety +8

    did you get your X220 back from tripcode?

  • @PirateFunk
    @PirateFunk Před 4 lety

    based

  • @tillmannbrodbeck2430
    @tillmannbrodbeck2430 Před 5 lety

    How do you do your reverse command search? :)

  • @salmanfarooq8570
    @salmanfarooq8570 Před 4 lety

    for all the folks on macOS, there is something somewhat similar called BitBar, check it out

  • @gery49
    @gery49 Před 6 lety

    Did you menage to make it work with the automatic colorset selection based on your wallpaper? I would imagine it's quite a bit harder if you have to recompile it every time.

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety +2

      I don't use wal anymore. I'm sure someone's gotten it to work. I will say that if you use rofi, it is affected by wal and I believe it has a dmenu-mode. Not totally sure.

  • @VulcanOnWheels
    @VulcanOnWheels Před 3 lety

    I'm using dmenu to start programs. I'd use it for more, but the font is so small that I can hardly read it. I posted a question about this on Quora, but I have yet to receive a reply to it.

    • @cocoapuffs5299
      @cocoapuffs5299 Před 2 lety

      change the font size in config.def.h, rm -rf config.h, sudo make clean install

  • @gatekeeper258
    @gatekeeper258 Před 5 lety

    Sir, I tried arch, and your larbs. I know this is an unusual request. I cannot get steamcmd from Pacman, it wants me to use the aur, I'm unsure if it's (safe), so either I figure out how to use aur or I'll need to go back to Ubuntu, but if I go that route I'd like to only have i3-gaps on Ubuntu, but sadly it has its own wm already installed. Any advice?

    • @LukeSmithxyz
      @LukeSmithxyz  Před 5 lety +1

      yay is the AUR helper installed by LARBS. Just use that.

  • @zvellblade6821
    @zvellblade6821 Před 8 měsíci

    Hi, I'm newbie🎉. Where can i learn more about this?

  • @MrRenanwill
    @MrRenanwill Před 3 lety

    If it runs bash, it can make everything.

  • @vicmac3513
    @vicmac3513 Před rokem

    When we'll see more dank dmenu/Vim tutorials by Vim Diesel?

  • @zacharycarbon4312
    @zacharycarbon4312 Před 5 lety

    What is the purpose of the newline within your test expression here?

    • @zacharycarbon4312
      @zacharycarbon4312 Před 5 lety

      Also, depending on the usecase, evaluating against a double-negative may be desirable as it does not produce a failure return value while still offering the same safety and flexibility: [ $(echo -e "No
      Yes" | dmenu -i -p "$1") != "Yes" ] || $2

  • @lithiumfrost4659
    @lithiumfrost4659 Před 6 lety +10

    Rofi in dmenu mode functions the same and is much more customizable.

  • @cali-co6428
    @cali-co6428 Před 6 lety +1

    boiii

  • @shail0124
    @shail0124 Před 2 lety

    are you using polybar?

  • @rexevan6714
    @rexevan6714 Před 6 lety

    Luke, what is that vim colorscheme?

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety

      I don't have any special vim colorscheme, although I think vim is using my default dark solarized colors set by my terminal.

  • @federicoalbesa3748
    @federicoalbesa3748 Před 4 lety

    gracias!!! muchas gracias! i always wanted es menu with the most used comands by me. because a do some bothering things with specific sintax and i had to hit up arrow until i found it in the bash history...
    here is my solution... surely not the best but a beggining:
    history|awk '{$1="";print substr($0,2)}'|awk 'BEGIN {FS="|"} {print $1}'|sort|uniq -c|sort -rn|head -40 |awk '{$1="";print substr($0,2)}'|dmenu
    it gives me a menu with the most used command sorted the most first.
    i apreciate a lot your channel, forgive my language, please.

  • @dagda825
    @dagda825 Před 5 lety +1

    I love suckless. It inspires me to write suckless code.

  • @DrathVader
    @DrathVader Před 6 lety +1

    This looks so comfy but I don't think I'm autistic enough yet to switch to i3.

  • @LBRSyt
    @LBRSyt Před 6 lety +1

    Hello world!

  • @davidmichmerhuizen6475

    Elementary question: how do you get it to say "Like Smith's i3 config"?

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety

      That's produced by the program figlet. If you run `figlet "Blah, blah, blah"` it will produce text art. You can use >> to put this in files, etc. (You'll also need to comment it out of course in the file).

    • @davidmichmerhuizen6475
      @davidmichmerhuizen6475 Před 6 lety

      Thanks duder! congrats on your academic progress!

  • @AcidiFy574
    @AcidiFy574 Před 3 lety

    what about ROFI??

  • @madeso
    @madeso Před 6 lety

    Terminal application at the start of the video?

  • @realwizardry834
    @realwizardry834 Před 6 lety

    Luke, I really enjoy some of your videos. Like this one, this video is really good. The videos I don't enjoy are the ones where you cram in all the 4chan memes. If I were you I would make more excellent videos like this one, where there are no memes, and not make ones where you are shitposting in video form. Because people want to learn about this shit but they don't want to have to put up with 4chan bullshit at the same time.

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety

      Good thing about the memes is that they keep pearl-clutching morons away. I guess not everyone has the wits to take a hint though.

  • @harshallele8309
    @harshallele8309 Před 6 lety +2

    Can this search for files in your home directory? That is one of the things that makes me stay on gnome.

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety +2

      You probably can, but I haven't implemented it yet. I'll say I use fzf within ranger for that though. See this video for the details: czcams.com/video/C64LKCZFzME/video.html

    • @ericwenzke6175
      @ericwenzke6175 Před 6 lety

      You could use an application called "albert", it is basically like Mac spotlight

    • @Cybolic
      @Cybolic Před 6 lety

      Searching for files is a bit tricky with dmenu since you need to select something instead of typing something. You could combine listing your home directly with the fuzzy matching, but getting into subdirectories would be tricky.
      If you really want to search from something like dmenu, then rofi can be scripted to support this, though I haven't seen anyone do this so far.
      As Luke mentioned, fzf is probably better suited for this.

  • @LordOfWizardurl
    @LordOfWizardurl Před 3 lety +1

    yoyo

  • @rijnder333
    @rijnder333 Před 6 lety

    Are you back on Firefox instead of qutebrowser?

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety

      I have both installed, but mostly use qutebrowser.

  • @tuxforce
    @tuxforce Před 6 lety

    Could you do the same with rofi?

    • @n.g.5234
      @n.g.5234 Před 6 lety

      Yes, you can. Use the "- dmenu" parameter to make rofi behave exactly like this.

  • @rinnarii
    @rinnarii Před 6 lety +3

    >be me
    >got 2 months break
    >can finally learn linux
    >luke doesnt upload anything
    why luke-senpai ;-;

  • @christopherfretson5114

    never would have thought of you as an alt hype fan

  • @aprameyanaganur2934
    @aprameyanaganur2934 Před 3 lety +2

    bruh your i3 wm configuration is pure unixporn

  • @otalpster4392
    @otalpster4392 Před 6 lety

    Is your config public;

  • @abstractapproach634
    @abstractapproach634 Před rokem

    I don't do dmenu, dwm works fine for me by default.

    • @abstractapproach634
      @abstractapproach634 Před rokem

      Yeah, you didn't sell me. I'm a minimalist, I need a better reason than a menu bar, wallpaper, and transparency to add a package.

  • @Bunnyquazel
    @Bunnyquazel Před 6 lety

    Hey Luke,
    This is how I solved your shutdown problem only using i3!
    # Shutdown or Restart
    set $mode_quit [q]uit or [r]estart
    bindsym $mod+Shift+e mode "$mode_quit"
    mode "$mode_quit" {
    bindsym q exec shutdown 0
    bindsym r exec shutdown -r 0
    bindsym Escape mode "default"
    }

  • @patolorde
    @patolorde Před 6 lety

    I DONT KNOW

  • @CryptoDefender
    @CryptoDefender Před 6 lety +4

    Luke, have you tried github.com/mawww/kakoune ?
    BTW, got an X60 today!!!

    • @vison360
      @vison360 Před 6 lety +1

      I'd love to see Luke's take on Kakoune. It's my favourite editor now!

  • @TheDatanet
    @TheDatanet Před 6 lety

    Why aren't you just running dmenu with the colors you want as arguments? E.g. dmenu_run -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15"

    • @LukeSmithxyz
      @LukeSmithxyz  Před 6 lety

      Why would I want to manually set all of those variables in every run instance? What if I want to change them?
      Since I want a set a global theme, I'll change it in the config source.

    • @TheDatanet
      @TheDatanet Před 6 lety

      I have dmenu set to use colors from my global theme in .Xresources, so it changes along with the rest of the colors on my system when I use wal. Maybe I'm misunderstanding what you are trying to do, though.

  • @fellowgamer5363
    @fellowgamer5363 Před 4 lety

    turbo zoomer intro

  • @eygs493
    @eygs493 Před 7 měsíci

    useless