add base dotfiles
This commit is contained in:
commit
968449de49
31 changed files with 2121 additions and 0 deletions
12
.config/eww/scripts/currtime
Executable file
12
.config/eww/scripts/currtime
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
var="timedate_reveal"
|
||||
val=`eww get ${var}`
|
||||
|
||||
if [ "$val" == true ]; then
|
||||
time=`date +"%F %T"`
|
||||
echo "(label :text \"$time\")"
|
||||
else
|
||||
time=`date +"%R"`
|
||||
echo "(label :text \"$time\")"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue