Dotfiles-dwm/dwmbar/modules/hostname
2024-06-02 14:02:06 +03:00

12 lines
121 B
Bash
Executable file

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