Adding an Awesome style Hotkey Popup Window to SpectrWM

  Рет қаралды 1,342

linux dabbler

linux dabbler

3 жыл бұрын

In this video I go over the steps I took to script a hot key popup window like in awesome window manager in my spectrwm config. And maybe give you some ideas about a fun project for yourself.
If you have any cool ideas/recommendations to make my script better... please... let me know...
Link to script
github.com/linuxdabbler/perso...
Github page
github.com/linuxdabbler
KZbin
/ linuxdabbler
Twitter
@linuxdabbler
MeWe
@linuxdabbler
Mastodon.social
@linuxdabbler

Пікірлер: 23
@qball8up1968
@qball8up1968 3 жыл бұрын
Nicely done. Thanks for giving us a guided tour of your thought processes, circus music and all.🤡
@Jny010
@Jny010 3 жыл бұрын
I have been trying to find out how to do this since Utopic Unicorn, my first taste of Linux. I like driving with the keyboard, but being a cook, with little time to practice, an incessant distro hopper, with the memory of a stoner, --- well a quick easy build of a binding cheat, an even quicker reference call, You just gave me the boost I needed to finally get somewhere with this. Thank you. btw - the voices say good carni music, but needs more bass.
@drumpf4all
@drumpf4all 3 жыл бұрын
Very cool. Thanks Dabs.
@miyolinux
@miyolinux 3 жыл бұрын
Really nice LD!
@TheDrunkenAlcoholic
@TheDrunkenAlcoholic 3 жыл бұрын
Awesome job mate, keep up the great work
@gradientO
@gradientO 3 жыл бұрын
That's awesome
@davoudarsalani1888
@davoudarsalani1888 3 жыл бұрын
The 'read' was clever!
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@David Arsalani. Thanks. That took me forever to figure out...
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@Davoud Arsalani. Sorry if that comment didn't tag you... I'm on mobile right now and it "corrected" to David instead of Davoud.
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
Wow I am happy as a lark! That READ command just solved something for me... About the keybinding... This is fantastic! Been wanting something like this for ever in Spectrwm, just have not had time to figure it out! I just made a text file of the keybindings and opened that... The float idea is cool. I can never get the Quirk thing to work so I gave up on that ages ago... :-( Been on 3.4.1 for a month now as Peppermint 10 died and I went to EndavourOS as my OS and have not revisited it. Now to worry about your thought process, I think it is working fine... LOL Sorry I have not got back to ya with any "Awesome" settings and so on. Been have lots of life issues and have not had time to play. I did start on a "Awesome" install the other day but I borked the install and other stuff happen and have not had time to get back to it... :-( So thanks for this! This is great and you did good... :-D Thanks for the video! LLAP
@cstephan7
@cstephan7 3 жыл бұрын
Outstanding, as always! I am going to give this a whirl with Fish in FreeBSD; I foresee no problems, but I will let you know how it goes. For future videos, please kindly remember to increase the font size/zoom in your terminal, etc. by a **lot.** The text in this one is just *barely* big enough to be passable.
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@cstephan7. Yeah. Sorry about that. It slipped my mind. I will have to set a "recording font size" for future videos.
@umka7536
@umka7536 3 жыл бұрын
I use just "gxmessage" to make my popup window with keybindgs and other info. What is good you can have multiple buttons and have actions on a button press.
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@Umka. I didn't try it with gxmessage... Only with xmessage...thanks for the recommendation.
@SamSam-df4xp
@SamSam-df4xp 3 жыл бұрын
Nice one. Could have piped the output to fzf.
@ZuluEchoRomeoOscar
@ZuluEchoRomeoOscar 3 жыл бұрын
I cobbled together this one-liner using dmenu: grep bind /path/to/spectrwm.conf | tail -n +3 | head -n -1 | sed 's/.....//;s/\]//' | column -t | dmenu -i -l 12 -fn 'Nice Mono Font of your choice' tail & head are used to clear up some inconsistencies in grep and/or my spectrwm.conf - your mileage may vary. It has the advantage of being searchable.
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
Nice command for Dmeu... After playing with it and it Erroring out ,I found you left out 'color' on the "-fn" switch... :-) Should look like this: "-fn font" The hole command ... "grep bind /path/to//spectrwm/spectrwm.conf | tail -n +3 | head -n -1 | sed 's/.....//;s/\]//' | column -t | dmenu -i -l 12 -fn font"... Not to worry I forget stuff all the time... LOL Thanks for the command @Zero! I did add it to my list... :-) LLAP
@ZuluEchoRomeoOscar
@ZuluEchoRomeoOscar 3 жыл бұрын
@@BrucesWorldofStuff From the dmenu man-page: -fn font defines the font or font set used. Don't know what you're looking at....
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
@@ZuluEchoRomeoOscar Oops my bad! I did mean "font"... Have no idea why I said Color... I will edit the comment... Sorry for the confusion, copy N past is a mistaken option sometimes... :-) LLAP
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
@@ZuluEchoRomeoOscar Also here is the command I'm using: grep bind /MY PATH/.config/spectrwm/spectrwm.conf | tail -n +3 | head -n -1 | sed 's/.....//;s/\]//' | column -t | dmenu -b -i -l 12 -fn font This works without and a Dmenu error... :-) Thanks again for the command! LLAP
@linuxdabbler
@linuxdabbler 3 жыл бұрын
@Zero. This looks great. I'm gonna have to try this out.
@BrucesWorldofStuff
@BrucesWorldofStuff 3 жыл бұрын
Hay LD... The link to the script does not work... :-( Delete this message when you fix it... :-D
Gain Control of your Applications in SpectrWM with Quirks!
7:49
linux dabbler
Рет қаралды 2,2 М.
Cool dmenu scripts from my dotfiles
12:57
linux dabbler
Рет қаралды 1,9 М.
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 151 МЛН
VIFM in-depth look and customization
40:38
linux dabbler
Рет қаралды 6 М.
pluginless neovim
15:28
linux dabbler
Рет қаралды 12 М.
5 Myths about Watercooling that are WRONG!
24:02
JayzTwoCents
Рет қаралды 162 М.
Using Case Statements and Flags to Consolidate My Bash Scripts
11:13
linux dabbler
Рет қаралды 1,1 М.
Easy Manual BTRFS Subvolume Snapshot Script
16:15
linux dabbler
Рет қаралды 3,8 М.
We finally have a simple solution for backing up files on Linux
12:24
Dreams of Autonomy
Рет қаралды 154 М.
Microsoft's Fingerprint Reader for Windows XP
13:17
Michael MJD
Рет қаралды 130 М.
Channel Update
6:31
linux dabbler
Рет қаралды 793
Get Scratchpads in Spectrwm with a simple script
9:33
linux dabbler
Рет қаралды 1,4 М.
We're Hitting Levels of Minimalism That Shouldn't Even Be Possible!!!
5:27
Clicks чехол-клавиатура для iPhone ⌨️
0:59
Мой инст: denkiselef. Как забрать телефон через экран.
0:54
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,3 МЛН