mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-12-23 05:22:53 +00:00
commit
c00842f1a2
1 changed files with 12 additions and 0 deletions
12
modules/default_shell
Normal file
12
modules/default_shell
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Prints out the name of the default shell
|
||||||
|
|
||||||
|
PREFIX=' '
|
||||||
|
|
||||||
|
get_default_shell()
|
||||||
|
{
|
||||||
|
echo "$PREFIX$(echo $SHELL |sed 's/.*\///g')"
|
||||||
|
}
|
||||||
|
|
||||||
|
get_default_shell
|
Loading…
Reference in a new issue