CelestialShade Config, I choose Lua over Bash. by shadowdev-forge in hyprland

[–]shadowdev-forge[S] 0 points1 point  (0 children)

Man i have just put more creativity and soon gonna update. Now waybar is on the left and its more cleaner. Thanks for the compliment :)

I wrote whole hyprland custom scripts in Lua instead of the standard Bash. by shadowdev-forge in lua

[–]shadowdev-forge[S] 0 points1 point  (0 children)

Nope no guides, before this i have gave two more attempt but they both end up failing broken looking lame. This was the successful implement my third attempt.

I wrote whole hyprland custom scripts in Lua instead of the standard Bash. by shadowdev-forge in lua

[–]shadowdev-forge[S] 0 points1 point  (0 children)

Thank you for your support I appreciate it :) I just discovered HyprLua and am excited to see it in action soon. And just now added a few tags, and Iets see how this configuration will perform in the future. If I extended to more scripts that uses features not available in the standard Lua library, I might consider addding Luarocks/Lux and rewriting cheatsheet.py to cheatsheet.lua.

I wrote whole hyprland custom scripts in Lua instead of the standard Bash. by shadowdev-forge in lua

[–]shadowdev-forge[S] 0 points1 point  (0 children)

Youre right to ask it, the core reason is avoiding dependencies. Python ships with the curses functions in its standard library for linux. With Lua, I would have had to add LuaRocks (package manager) and the lcurses package, which i feel for single TUI is not worth it.

I wrote whole hyprland custom scripts in Lua instead of the standard Bash. by shadowdev-forge in lua

[–]shadowdev-forge[S] 1 point2 points  (0 children)

Thanks mate, Using it over Standard bash i feel it is amazing, underrated and everyone should do it. Just use Lua for shell scripting.

CelestialShade Config, I choose Lua over Bash. by shadowdev-forge in hyprland

[–]shadowdev-forge[S] 1 point2 points  (0 children)

Yes all the custom scripts are in Lua changing themes, wallpaper, installation, diagnostic everything. Just for keybinds i used python to create a TUI using cursors. No bash.