Let's Linux #039: i3 keybindings in rofi
budlabs
I create a bash script from scratch that displays all keybindings defined in i3. It is both a great application launcher and also a way to quickly get a searchable overview of the keybindings.
I will continue to build on this script in the next videos in this series (it will probably be 3 videos in total). Therefor I will not update the version of the script i create in this video that you can find on github.
https://github.com/budlabs/youtube/tree/master/letslinux/039-keybindings-rofi-1
video info:
color scheme: Nikes, by mihir94 https://github.com/mihirsherlekar terminal font: Hack/fixedsys terminal emulator: URxvt figlet font: 3d.flf, by xero filemanager: thunar icon theme: DamaDamas gtk theme: numix (nikes)
This command will print the currently loaded config file:
i3-msg -t get_config
Below is an excerpt from rofi's man page that describes the -format option i use in the script to print the index of the selected item in the menu.
-format format
Allows the output of dmenu to be customized (N is the total number of input entries):
· 's' selected string
· 'i' index (0 - (N-1))
· 'd' index (1 - N)
· 'q' quote string
· 'f' filter string (user input)
· 'F' quoted filter string (user input)
Default: 's'
related videos:
rice the_config: https://youtu.be/W1P6bmOCxl0
more_config rice: https://youtu.be/OKPvIsurYRI
lolban is the output of figlet piped through lolcat. I have a video where i show how it works. That video is called: Let's Linux #009: Automatic script creation, and can be found here: https://youtu.be/QGUmMtEnIkI
The figlet font used with lolban is created by xero. It is called: 3d.flf And can be found on github: https://github.com/xero/figlet-fonts ... https://www.youtube.com/watch?v=Y6ldzp8_x0Y
89869409 Bytes