Add dotfiles
This commit is contained in:
parent
49bfe1a4d3
commit
b6e01a720b
52 changed files with 4701 additions and 0 deletions
14
dwmbar/modules/username
Executable file
14
dwmbar/modules/username
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Prints the effective username of the current user
|
||||
|
||||
PREFIX=''
|
||||
|
||||
get_username()
|
||||
{
|
||||
USERNAME=$(whoami)
|
||||
|
||||
echo "$PREFIX $USERNAME"
|
||||
}
|
||||
|
||||
get_username
|
Loading…
Add table
Add a link
Reference in a new issue