diff --git a/README.md b/README.md index 3edadf8b..14b9765f 100644 --- a/README.md +++ b/README.md @@ -96,6 +96,17 @@ set -g @tokyo-night-tmux_pane_id_style hsquare set -g @tokyo-night-tmux_zoom_id_style dsquare ``` +### Window styles + +```bash +# Icon styles +set -g @tokyo-night-tmux_terminal_icon  +set -g @tokyo-night-tmux_active_terminal_icon  + +# No extra spaces between icons +set -g @tokyo-night-tmux_window_tidy_icons 0 +``` + ### Widgets For widgets add following lines in you `.tmux.conf` @@ -159,8 +170,6 @@ changing values. set -g @tokyo-night-tmux_show_hostname 1 ``` -![Snap hostname](snaps/hostname.png) - ## Styles - `hide`: hide number diff --git a/src/hostname-widget.sh b/src/hostname-widget.sh deleted file mode 100755 index 05be2c91..00000000 --- a/src/hostname-widget.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -# Imports -ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.." -. "${ROOT_DIR}/lib/coreutils-compat.sh" - -# Check if enabled -ENABLED=$(tmux show-option -gv @tokyo-night-tmux_show_hostname 2>/dev/null) -[[ ${ENABLED} -ne 1 ]] && exit 0 - -CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -source $CURRENT_DIR/themes.sh - -hostname=$(hostnamectl hostname) - -echo "@${hostname}"