dwmbar/modules/hostname
2019-10-25 12:49:35 +01:00

12 lines
121 B
Bash
Executable file

#!/bin/bash
# Prints USER@hostname
PREFIX=' '
get_hostname()
{
echo "$PREFIX$USER@$(hostname)"
}
get_hostname