This website works better with JavaScript.
Home
Explore
Help
Sign In
Linux
/
dwm-bar
generated from
gmarx/git-template
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
dwm-ccurse uses apts file
patch-fontkeys
joestandring
5 years ago
parent
14255f909b
commit
5945afeaca
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
bar-functions/dwm_ccurse.sh
+ 2
- 1
bar-functions/dwm_ccurse.sh
View File
@ -7,7 +7,8 @@
# Dependencies: calcurse
dwm_ccurse
(
)
{
APPOINTMENT
=
$(
calcurse -a
|
head -n
3
|
tr -d
'\n+>-'
|
awk
'$1=$1'
|
sed
's/://'
)
APTSFILE
=
"
$HOME
/.calcurse/apts
"
APPOINTMENT
=
$(
head -n
1
"
$APTSFILE
"
|
sed -r
's/\[1\] //'
)
if
[
"
$APPOINTMENT
"
!
=
""
]
;
then
printf
"%s"
"
$SEP1
"
Write
Preview
Loading…
Cancel
Save