dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 18942b4379fabb2ae804978b12f33cd11dea36e4
parent 963947fc2321dffa97f604cf6de6093d86b777d8
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Fri, 16 Aug 2019 09:38:32 +0200

Determine wifi device automatically

Diffstat:
M.local/bin/sysstatus | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/sysstatus b/.local/bin/sysstatus @@ -1,5 +1,5 @@ #!/bin/sh -wlandev=wlp3s0 +wlandev="$(find /sys/class/net/ -type l -name 'wlp*' -exec basename {} \;)" battery=BAT0 mail=$(mailstatus | sed 's/^/ /;s/$/ |/;s/ |//')