Dotfiles-dwm/dwmbar/modules/hostname

13 lines
121 B
Plaintext
Raw Permalink Normal View History

2024-06-02 11:02:06 +00:00
#!/bin/bash
# Prints USER@hostname
PREFIX=' '
get_hostname()
{
echo "$PREFIX$USER@$(hostname)"
}
get_hostname