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