adi1090x / rofi

A huge collection of Rofi based custom Applets, Launchers & Powermenus.
GNU General Public License v3.0
6.37k stars 298 forks source link

Made the hostname variable UNIX-universal #100

Closed Mattio-cmd closed 1 year ago

Mattio-cmd commented 1 year ago

Not all unix and unix-like operating systems have hostname command installed by default. I used the standard uname with the -a flag and then i did some basic text processing with awk.

lebensterben commented 1 year ago
Mattio-cmd commented 1 year ago
  • Not all system has awk.

Which systems does not have awk?

lebensterben commented 1 year ago

google "awk command not found" and you will see thousands of people struggling with this.

Mattio-cmd commented 1 year ago

There, i changed it to uname -n