1
0
Fork 0
dotfiles/dot_config/polybar/scripts/executable_polybar_custom_time.sh
Florian RICHER fd95dd8b8f Update dot_config/polybar/scripts/executable_polybar_bluetooth_speaker.sh
Update dot_config/polybar/scripts/executable_polybar_custom_time.sh
Update dot_config/polybar/scripts/executable_polybar_dunst_indicator.sh
Update dot_config/polybar/scripts/executable_polybar_healthbar.sh
Update dot_config/polybar/scripts/executable_polybar_net_indicator.sh
Update dot_config/polybar/scripts/executable_polybar_net_speed.sh
Update dot_config/polybar/scripts/executable_polybar_redshift_indicator.sh
Update dot_config/polybar/scripts/executable_polybar_wifibar.sh
2022-05-07 00:08:56 +02:00

18 lines
328 B
Bash

#!/bin/bash
#
# Custom clock/calendar for polybar.
#
# Author: machaerus
# https://gitlab.com/machaerus
source ~/.config/polybar/scripts/colors.sh
custom_time() {
WEEKDAY=$(date +%A)
TIME=$(date +%H:%M:%S)
DATE=$(date +"%e %b %Y")
echo "$light0_soft $WEEKDAY $faded_yellow $TIME $light0_soft $DATE $RESET"
}
custom_time