Using %h for home directory

This commit is contained in:
Mahesh Asolkar 2021-06-13 18:32:15 -07:00
parent 5c49226514
commit a9df8abf10
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ Environment=XDG_RUNTIME_DIR=%I
Environment=DWL_TAGS_FILE=%I/dwl.tags Environment=DWL_TAGS_FILE=%I/dwl.tags
Environment=DWL_LOG_FILE=%I/dwl.log Environment=DWL_LOG_FILE=%I/dwl.log
Environment=DWLTAGS_FMT=DZEN Environment=DWLTAGS_FMT=DZEN
ExecStart=/home/mahesh/bin/dwl.session ExecStart=%h/bin/dwl.session
Restart=on-failure Restart=on-failure
RestartSec=1 RestartSec=1
TimeoutStopSec=10 TimeoutStopSec=10

View File

@ -50,7 +50,7 @@ ${time %Y %h %d %I:%M%p %Z}
]] ]]
--[[ --[[
🌡 ${execi 600 weather fips4105192520 | grep Tempera | awk '{print $2}'}°F | \ 🌡 ${execi 600 weather fips4105192520 | grep Tempera | awk '{print $2}'}°F | \
${execi 1 cat /tmp/dwl.tags.mahesh.out} | \ ${execi 1 cat /tmp/dwl.tags.out} | \
🌦 ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KHIO temperature 10} | \ 🌦 ${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ KHIO temperature 10} | \
🔋apcupsd_charge${execi 60 acpi -b | awk '{ print " " $5 }' | tr -d ','} | \ 🔋apcupsd_charge${execi 60 acpi -b | awk '{ print " " $5 }' | tr -d ','} | \
${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine} ${color grey}Info:$color ${scroll 32 Conky $conky_version - $sysname $nodename $kernel $machine}