This commit is contained in:
2025-12-11 12:01:01 -05:00
parent b654a7fdd0
commit 7cfffc329b
12 changed files with 724 additions and 63 deletions

View File

@@ -3,8 +3,10 @@
WIDTH=${WIDTH:-200}
HEIGHT=${HEIGHT:-200}
#DATEFMT=${DATEFMT:-"+%a %d.%m.%Y %H:%M:%S"}
DATEFMT=${DATEFMT:-"+ %a %-m/%d %H:%M"}
SHORTFMT=${SHORTFMT:-"+%H:%M:%S"}
#DATEFMT=${DATEFMT:-"+ %a %-m/%d %H:%M"}
#SHORTFMT=${SHORTFMT:-"+%H:%M:%S"}
DATEFMT=${DATEFMT:-"+%H:%M"}
SHORTFMT=${SHORTFMT:-"+%H:%M"}
OPTIND=1
while getopts ":f:W:H:" opt; do

View File

@@ -9,7 +9,8 @@
. "/home/kevin/.cache/wal/colors.sh"
# Define the date format matching the output in your screenshot (e.g., Sat 12/06 12:46)
DATE_FORMAT='+%a %m/%d %H:%M'
#DATE_FORMAT='+%a %m/%d %H:%M'
DATE_FORMAT='%H:%M'
# Use Pango markup to wrap the entire string, applying the color,
# and explicitly defining the icon () and the date output.