dwmbar/modules/default_shell
Your Name 747bddd93a Fixed bug with the daypercentage module
Bug occured when the hour was single digit, so we now remove preceding
0s
2021-11-02 09:57:31 +00:00

12 lines
165 B
Bash
Executable file

#!/bin/bash
# Prints out the name of the default shell
PREFIX=' '
get_default_shell()
{
echo "$PREFIX$(echo $SHELL |sed 's/.*\///g')"
}
get_default_shell