mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2024-12-23 13:32:53 +00:00
Added DEFAULT_SHELL module
This commit is contained in:
parent
e766223315
commit
8b5fcca9d6
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