Skip to content

DayTime widget

Alejandro Amaral edited this page Jun 30, 2024 · 9 revisions

About

image

A simple date/time widget.

Configuration

This widget is enabled by default. To change the visibility add this to your .tmux.conf file

set -g @tokyo-night-tmux_show_datetime 0 # use 0 to disable
set -g @tokyo-night-tmux_show_datetime 1 # or use 1 to enable

Format

Date

set -g @tokyo-night-tmux_date_format <format>

Formats

  • YMD: (Year Month Day), 2024-01-31
  • MDY: (Month Day Year), 01-31-2024
  • DMY: (Day Month Year), 31-01-2024
  • hide: hide date 🆕

Example:

set -g @tokyo-night-tmux_date_format YMD # Shows 2024-01-31 < 21:25

Time

set -g @tokyo-night-tmux_time_format <format>

Formats

  • 24H: The 24-hour format is used to represent time in a way that begins at midnight (00:00) and ends at 23:59
  • 12H: AM/PM format is used to indicate time in a 12-hour clock system.
  • hide: hide time 🆕

Example:

set -g @tokyo-night-tmux_time_format 12H # Shows 2024-01-31 < 11:31
Clone this wiki locally