mirror of
https://github.com/cizordj/i3-themer.git
synced 2024-04-21 12:32:12 +00:00
Improve how polybar detects network hardware
This commit is contained in:
+2
-2
@@ -3,10 +3,10 @@
|
||||
function polybarConfig(){
|
||||
|
||||
function wired_connection(){
|
||||
ls /sys/class/net | grep 'enp' | tr '\n' ' '
|
||||
ls /sys/class/net | grep 'enp' | tr -d '\n'
|
||||
}
|
||||
function wireless_connection(){
|
||||
ls /sys/class/net | grep 'wl' | tr '\n' ' '
|
||||
ls /sys/class/net | grep 'wl' | tr -d '\n'
|
||||
}
|
||||
|
||||
local USER='$USER'
|
||||
|
||||
Reference in New Issue
Block a user