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

13 lines
121 B
Bash
Executable File

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