dmenu: Your own Custom Script Menus!

  Рет қаралды 139,160

Luke Smith

Luke Smith

Күн бұрын

Пікірлер: 143
@schweinekillerlp2245
@schweinekillerlp2245 6 жыл бұрын
"Yo yo everyone"
@Reichstaubenminister
@Reichstaubenminister 3 жыл бұрын
yo yo u almost got the colors right
@DigitalMetal
@DigitalMetal 6 жыл бұрын
I enjoyed this video. And I'm not just saying that because you referenced my channel. :)
@hammerheadcorvette4
@hammerheadcorvette4 4 жыл бұрын
Your a legend Kris !
@_ma7dev
@_ma7dev 6 жыл бұрын
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 2 жыл бұрын
BTW ...... right, I think your required by the AEULA (arch end user license agreement) to say that anytime you mention your OS.
@_ma7dev
@_ma7dev 2 жыл бұрын
@@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 4 жыл бұрын
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.
@duffman6088
@duffman6088 6 жыл бұрын
Oh boyyy he's back!
@lonniebest4697
@lonniebest4697 3 жыл бұрын
Very powerful. Thanks for showcasing these features.
@vasakq
@vasakq 6 жыл бұрын
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'
@luksyrabs7213
@luksyrabs7213 6 жыл бұрын
Great to see you again Luke.
@christianvangindertael6843
@christianvangindertael6843 6 жыл бұрын
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!!
@fuanka1724
@fuanka1724 6 жыл бұрын
I also use dmenu all the time, never took the time to properly configure and script it. Good tips, thanks.
@renanabreusilveira2298
@renanabreusilveira2298 2 жыл бұрын
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
@BhashitheAbeysinghe
@BhashitheAbeysinghe 6 жыл бұрын
Hey thanks mate! I used this idea and made Rofi scripts!
@mandeep6ill
@mandeep6ill 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
@RobertMurphySeattle
@RobertMurphySeattle 6 жыл бұрын
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 3 жыл бұрын
three years and three months later, are you still cli only?
@jonasben9649
@jonasben9649 2 жыл бұрын
four years later are you still cli only?
@turolretar
@turolretar 2 жыл бұрын
paint in cmd Any% speedrun wr
@errvega2705
@errvega2705 5 жыл бұрын
You can also set colors/fonts with command line parameters.
@Linuxdirk
@Linuxdirk Жыл бұрын
I like your setup! I wish I had a display where a tiling WM would make sense 👍
@algarrobotgn90
@algarrobotgn90 4 жыл бұрын
Thanks for the video! I've just realized there are a lot of things that I could do easier using this :)
@flightskoo
@flightskoo 6 жыл бұрын
What up Luke! Great video once again, keep it up. Obligatory engagement post, ENGAGE!
@aaronstone628
@aaronstone628 5 жыл бұрын
You should do a big Linux course.
@ranska2506
@ranska2506 6 жыл бұрын
Thanks guy this vidéo is perfect with full off indications and good ideas ! Parfait !
@MMABeijing
@MMABeijing 5 жыл бұрын
oletko ranskalainen?
@prahe86
@prahe86 6 жыл бұрын
Another great video. You're a great teacher
@dmitrykamchatny
@dmitrykamchatny 6 жыл бұрын
You can change Dmenu colours using dmenu_run. Example: dmenu_run -nf '#BBBBBB' -nb '#272727' -sf '#000000' -sb '#DD0000' -fn 'monospace-10' -p 'Dmenu'
@FishKungfu
@FishKungfu 6 жыл бұрын
You just made dmenu more fun!
@luksyrabs7213
@luksyrabs7213 6 жыл бұрын
Using it with rofi would be great as well.
@excitableboy7031
@excitableboy7031 4 жыл бұрын
Bloat
@Sumguy21
@Sumguy21 6 жыл бұрын
this changes everything
@JaimicoCL
@JaimicoCL 6 жыл бұрын
I don’t understand anything, but I enjoy watching your videos :)
@maggimentis1428
@maggimentis1428 2 жыл бұрын
Thanks for sharing.
@zvellblade6821
@zvellblade6821 Жыл бұрын
Hi, I'm newbie🎉. Where can i learn more about this?
@marcussmithwick6326
@marcussmithwick6326 6 жыл бұрын
Another great useful video for my ever going autism
@MoreChannelNoise
@MoreChannelNoise 6 жыл бұрын
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
@VulcanOnWheels
@VulcanOnWheels 3 жыл бұрын
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 3 жыл бұрын
change the font size in config.def.h, rm -rf config.h, sudo make clean install
@user-ic7cj8lq9z
@user-ic7cj8lq9z 6 жыл бұрын
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
@CodeAsm
@CodeAsm 4 ай бұрын
This teached me alott. Thank you :D
@r12fre0n
@r12fre0n 6 жыл бұрын
Still using dmenu? It's all about rofi now baby
@fabeulous
@fabeulous 6 жыл бұрын
Yes it can. Just use the '-dmenu' flag and it behaves exactly the same.
@EnderCrypt
@EnderCrypt 6 жыл бұрын
is it better than dmenu in most ways? im new to both these
@fabeulous
@fabeulous 6 жыл бұрын
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 6 жыл бұрын
i use both.
@wenxiulong4209
@wenxiulong4209 6 жыл бұрын
which one do you think is better Cacalari?
@_mvr_
@_mvr_ 6 жыл бұрын
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.
@andresferral2
@andresferral2 5 жыл бұрын
Any ideas in how to use this but with pairs ? (option_to_display, option_to_output)
@barbarenbernd1861
@barbarenbernd1861 6 жыл бұрын
Pretty cool, didn't know that.
@MarkJay
@MarkJay 6 жыл бұрын
did you get your X220 back from tripcode?
@LukeSmithxyz
@LukeSmithxyz 6 жыл бұрын
Yup, I'll put up a video on it.
@zlovredniyTip
@zlovredniyTip 6 жыл бұрын
+Luke Smith how to do you make top right corner look like that?
@AnastasisGrammenos
@AnastasisGrammenos 6 жыл бұрын
You can config the colors with runtime flags post compilation.
@akontio-wk2hk
@akontio-wk2hk 6 жыл бұрын
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!
@hrnekbezucha
@hrnekbezucha 6 жыл бұрын
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
@vicmac3513
@vicmac3513 Жыл бұрын
When we'll see more dank dmenu/Vim tutorials by Vim Diesel?
@BadWolfPlays66
@BadWolfPlays66 6 жыл бұрын
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.
@zacharycarbon4312
@zacharycarbon4312 5 жыл бұрын
What is the purpose of the newline within your test expression here?
@zacharycarbon4312
@zacharycarbon4312 5 жыл бұрын
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
@jakeduggan3854
@jakeduggan3854 5 жыл бұрын
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.
@alexd5637
@alexd5637 5 жыл бұрын
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.
@klimenkodr123
@klimenkodr123 5 жыл бұрын
Is there a Chad way to manage wifi connections with nmcli and pipes via dmenu?
@federicoalbesa3748
@federicoalbesa3748 5 жыл бұрын
Fantástico
@salman-farooq-sh
@salman-farooq-sh 4 жыл бұрын
for all the folks on macOS, there is something somewhat similar called BitBar, check it out
@gery49
@gery49 6 жыл бұрын
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 6 жыл бұрын
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.
@gatekeeper258
@gatekeeper258 5 жыл бұрын
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 5 жыл бұрын
yay is the AUR helper installed by LARBS. Just use that.
@AcidiFy574
@AcidiFy574 3 жыл бұрын
what about ROFI??
@lithiumfrost4659
@lithiumfrost4659 6 жыл бұрын
Rofi in dmenu mode functions the same and is much more customizable.
@mario_9431
@mario_9431 5 жыл бұрын
>not suckless
@shail0124
@shail0124 2 жыл бұрын
are you using polybar?
@tillmannbrodbeck2430
@tillmannbrodbeck2430 5 жыл бұрын
How do you do your reverse command search? :)
@finnianquail8881
@finnianquail8881 6 жыл бұрын
YEAH BOI
@otalpster4392
@otalpster4392 6 жыл бұрын
Hello. On what machine do you record these videos;
@MasterSergius
@MasterSergius 6 жыл бұрын
Hi Luke, great video! And do you know how to setup autolock screen in i3 after some AFK time?
@christopherfretson5114
@christopherfretson5114 6 жыл бұрын
never would have thought of you as an alt hype fan
@harshallele8309
@harshallele8309 6 жыл бұрын
Can this search for files in your home directory? That is one of the things that makes me stay on gnome.
@LukeSmithxyz
@LukeSmithxyz 6 жыл бұрын
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: kzbin.info/www/bejne/eWeXfX55j6utg6c
@ericwenzke6175
@ericwenzke6175 6 жыл бұрын
You could use an application called "albert", it is basically like Mac spotlight
@Cybolic
@Cybolic 6 жыл бұрын
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.
@rexevan6714
@rexevan6714 6 жыл бұрын
Luke, what is that vim colorscheme?
@LukeSmithxyz
@LukeSmithxyz 6 жыл бұрын
I don't have any special vim colorscheme, although I think vim is using my default dark solarized colors set by my terminal.
@davidmichmerhuizen6475
@davidmichmerhuizen6475 6 жыл бұрын
Elementary question: how do you get it to say "Like Smith's i3 config"?
@LukeSmithxyz
@LukeSmithxyz 6 жыл бұрын
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 6 жыл бұрын
Thanks duder! congrats on your academic progress!
@madeso
@madeso 6 жыл бұрын
Terminal application at the start of the video?
@knownuser0815
@knownuser0815 6 жыл бұрын
Looks like Ranger
@alephanull1953
@alephanull1953 3 жыл бұрын
Ranger file browser
@tuxforce
@tuxforce 6 жыл бұрын
Could you do the same with rofi?
@n.g.5234
@n.g.5234 6 жыл бұрын
Yes, you can. Use the "- dmenu" parameter to make rofi behave exactly like this.
@linkert810
@linkert810 6 жыл бұрын
Amazing :)
@MrRenanwill
@MrRenanwill 4 жыл бұрын
If it runs bash, it can make everything.
@otalpster4392
@otalpster4392 6 жыл бұрын
Is your config public;
@realwizardry834
@realwizardry834 6 жыл бұрын
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 6 жыл бұрын
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.
@rijnder333
@rijnder333 6 жыл бұрын
Are you back on Firefox instead of qutebrowser?
@LukeSmithxyz
@LukeSmithxyz 6 жыл бұрын
I have both installed, but mostly use qutebrowser.
@PirateFunk
@PirateFunk 4 жыл бұрын
based
@abstractapproach634
@abstractapproach634 2 жыл бұрын
I don't do dmenu, dwm works fine for me by default.
@abstractapproach634
@abstractapproach634 2 жыл бұрын
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.
@DrathVader
@DrathVader 6 жыл бұрын
This looks so comfy but I don't think I'm autistic enough yet to switch to i3.
@federicoalbesa3748
@federicoalbesa3748 5 жыл бұрын
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.
@aprameyanaganur2934
@aprameyanaganur2934 3 жыл бұрын
bruh your i3 wm configuration is pure unixporn
@aprameyanaganur2934
@aprameyanaganur2934 3 жыл бұрын
@@folksurvival ik not so unixporn anymore
@TheDatanet
@TheDatanet 6 жыл бұрын
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 6 жыл бұрын
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 6 жыл бұрын
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.
@dagda825
@dagda825 5 жыл бұрын
I love suckless. It inspires me to write suckless code.
@LBRSyt
@LBRSyt 6 жыл бұрын
Hello world!
@MoreChannelNoise
@MoreChannelNoise 6 жыл бұрын
This is the world speaking, hello Luan :)
@rinnarii
@rinnarii 6 жыл бұрын
>be me >got 2 months break >can finally learn linux >luke doesnt upload anything why luke-senpai ;-;
@patolorde
@patolorde 6 жыл бұрын
I DONT KNOW
@Bunnyquazel
@Bunnyquazel 6 жыл бұрын
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" }
@LordOfWizardurl
@LordOfWizardurl 3 жыл бұрын
yoyo
@cali-co6428
@cali-co6428 6 жыл бұрын
boiii
@LU5DX-1
@LU5DX-1 6 жыл бұрын
Luke, have you tried github.com/mawww/kakoune ? BTW, got an X60 today!!!
@vison360
@vison360 6 жыл бұрын
I'd love to see Luke's take on Kakoune. It's my favourite editor now!
@SandraSmith-d2z
@SandraSmith-d2z 2 ай бұрын
Christiansen Square
@fellowgamer5363
@fellowgamer5363 5 жыл бұрын
turbo zoomer intro
@eygs493
@eygs493 11 ай бұрын
useless
Programs that Suck Less! suckless
11:14
Luke Smith
Рет қаралды 141 М.
Bash is Bloated!
11:48
Luke Smith
Рет қаралды 144 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Solve Problems With Shell Scripting And Dmenu
18:26
DistroTube
Рет қаралды 33 М.
A Vid in which Vim Saves Me Hours & Hundreds of Clicks
10:23
Luke Smith
Рет қаралды 277 М.
Layin' down Pipes like a Unix Chad
10:55
Luke Smith
Рет қаралды 98 М.
How to Find Minimalist Programs to Try Out
9:09
Luke Smith
Рет қаралды 79 М.
Dotfiles! Here's how I organize them.
9:37
Andrew Burgess
Рет қаралды 48 М.
Rofi Is Like Dmenu But Sucks Less
13:14
DistroTube
Рет қаралды 93 М.
This may be my favorite CLI tool ever
8:15
typecraft
Рет қаралды 95 М.
Patching Suckless Programs Made Easy
21:26
Mental Outlaw
Рет қаралды 92 М.
sxiv: The Suckless Image Viewer for GNU/Linux
11:23
Luke Smith
Рет қаралды 140 М.
Bash scripting into dmenu to improve workflow and solve problems
15:26
Bread on Penguins
Рет қаралды 8 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН