Add dotfiles
This commit is contained in:
parent
49bfe1a4d3
commit
b6e01a720b
52 changed files with 4701 additions and 0 deletions
14
dwmbar/modules/os-release
Executable file
14
dwmbar/modules/os-release
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Prints out your OS name
|
||||
|
||||
PREFIX=' '
|
||||
|
||||
get_os_name()
|
||||
{
|
||||
OS=$(cat /etc/os-release | head -n 1 | sed 's/NAME=//g')
|
||||
|
||||
echo "$PREFIX$OS"
|
||||
}
|
||||
|
||||
get_os_name
|
Loading…
Add table
Add a link
Reference in a new issue