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

13 lines
121 B
Bash
Executable File

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