mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 23:49:56 +00:00
Minimal i3 setup
This commit is contained in:
9
dotfiles/desktop/.config/i3blocks/scripts/wifi
Executable file
9
dotfiles/desktop/.config/i3blocks/scripts/wifi
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
ssid=$(nmcli -t -f active,ssid dev wifi | awk -F: '$1=="yes"{print $2}')
|
||||
|
||||
[ -n "$ssid" ] || exit 0
|
||||
|
||||
echo "WIFI $ssid"
|
||||
echo "WIFI $ssid"
|
||||
echo "#4a90d9"
|
||||
Reference in New Issue
Block a user