Files
dotfiles/dwm/dwmbar/modules/username
T
2024-07-01 17:46:12 +07:00

14 lines
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