Add user fetching script
This commit is contained in:
parent
d962800e93
commit
d477fba524
|
@ -10,6 +10,7 @@ Block blocks[] = {
|
|||
{"sb-record", 0, 4 },
|
||||
{"sb-volume", 1, 5 },
|
||||
{"sb-date", 1, 6 },
|
||||
{"sb-user", 0, 7 },
|
||||
};
|
||||
|
||||
const unsigned short blockCount = LEN(blocks);
|
||||
|
|
5
scripts/dwmblocks/sb-user
Executable file
5
scripts/dwmblocks/sb-user
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
# Displays the current user
|
||||
|
||||
. sb-theme
|
||||
display " $(whoami)"
|
Loading…
Reference in a new issue