mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-11-21 18:12:53 +00:00
14 lines
160 B
Text
14 lines
160 B
Text
|
#!/bin/bash
|
||
|
|
||
|
# Prints the effective username of the current user
|
||
|
|
||
|
PREFIX=''
|
||
|
|
||
|
get_username()
|
||
|
{
|
||
|
USERNAME=$(whoami)
|
||
|
|
||
|
echo "$PREFIX $USERNAME"
|
||
|
}
|
||
|
|
||
|
get_username
|