mirror of
https://github.com/jimeh/tmux-themepack.git
synced 2026-02-19 11:16:43 +00:00
feat: Add custom prefix/suffix to various "formats" options
This commit is contained in:
9
src/_formats_combine.tmuxsh
Normal file
9
src/_formats_combine.tmuxsh
Normal file
@@ -0,0 +1,9 @@
|
||||
# Themepack format options - combine prefixes, formats, and suffixes
|
||||
set -gqF @themepack-status-left-area-left-format "#{@themepack-status-left-area-left-prefix}#{@themepack-status-left-area-left-format}#{@themepack-status-left-area-left-suffix}"
|
||||
set -gqF @themepack-status-left-area-middle-format "#{@themepack-status-left-area-middle-prefix}#{@themepack-status-left-area-middle-format}#{@themepack-status-left-area-middle-suffix}"
|
||||
set -gqF @themepack-status-left-area-right-format "#{@themepack-status-left-area-right-prefix}#{@themepack-status-left-area-right-format}#{@themepack-status-left-area-right-suffix}"
|
||||
set -gqF @themepack-status-right-area-left-format "#{@themepack-status-right-area-left-prefix}#{@themepack-status-right-area-left-format}#{@themepack-status-right-area-left-suffix}"
|
||||
set -gqF @themepack-status-right-area-middle-format "#{@themepack-status-right-area-middle-prefix}#{@themepack-status-right-area-middle-format}#{@themepack-status-right-area-middle-suffix}"
|
||||
set -gqF @themepack-status-right-area-right-format "#{@themepack-status-right-area-right-prefix}#{@themepack-status-right-area-right-format}#{@themepack-status-right-area-right-suffix}"
|
||||
set -gqF @themepack-window-status-current-format "#{@themepack-window-status-current-prefix}#{@themepack-window-status-current-format}#{@themepack-window-status-current-suffix}"
|
||||
set -gqF @themepack-window-status-format "#{@themepack-window-status-prefix}#{@themepack-window-status-format}#{@themepack-window-status-suffix}"
|
||||
@@ -2,15 +2,33 @@
|
||||
# Basic theme
|
||||
#
|
||||
|
||||
# Themepack format options
|
||||
# Themepack format options - Overrideable
|
||||
set -goq @themepack-status-left-area-left-format "#S"
|
||||
set -goq @themepack-status-left-area-left-prefix ""
|
||||
set -goq @themepack-status-left-area-left-suffix ""
|
||||
set -goq @themepack-status-left-area-middle-format "#I"
|
||||
set -goq @themepack-status-left-area-middle-prefix ""
|
||||
set -goq @themepack-status-left-area-middle-suffix ""
|
||||
set -goq @themepack-status-left-area-right-format "#P"
|
||||
set -goq @themepack-status-left-area-right-prefix ""
|
||||
set -goq @themepack-status-left-area-right-suffix ""
|
||||
set -goq @themepack-status-right-area-left-format "#H"
|
||||
set -goq @themepack-status-right-area-left-prefix ""
|
||||
set -goq @themepack-status-right-area-left-suffix ""
|
||||
set -goq @themepack-status-right-area-middle-format "%H:%M:%S"
|
||||
set -goq @themepack-status-right-area-middle-prefix ""
|
||||
set -goq @themepack-status-right-area-middle-suffix ""
|
||||
set -goq @themepack-status-right-area-right-format "%d-%b-%y"
|
||||
set -goq @themepack-status-right-area-right-prefix ""
|
||||
set -goq @themepack-status-right-area-right-suffix ""
|
||||
set -goq @themepack-window-status-current-format "#I:#W#F"
|
||||
set -goq @themepack-window-status-current-prefix ""
|
||||
set -goq @themepack-window-status-current-suffix ""
|
||||
set -goq @themepack-window-status-format "#I:#W#F"
|
||||
set -goq @themepack-window-status-prefix ""
|
||||
set -goq @themepack-window-status-suffix ""
|
||||
|
||||
#= include "_formats_combine"
|
||||
|
||||
# Theme options
|
||||
set -goq @theme-clock-mode-colour red
|
||||
|
||||
@@ -1,9 +1,27 @@
|
||||
# Themepack format options
|
||||
# Themepack format options - Overrideable
|
||||
set -goq @themepack-status-left-area-left-format "#S"
|
||||
set -goq @themepack-status-left-area-left-prefix ""
|
||||
set -goq @themepack-status-left-area-left-suffix ""
|
||||
set -goq @themepack-status-left-area-middle-format "#(whoami)"
|
||||
set -goq @themepack-status-left-area-middle-prefix ""
|
||||
set -goq @themepack-status-left-area-middle-suffix ""
|
||||
set -goq @themepack-status-left-area-right-format "#I:#P"
|
||||
set -goq @themepack-status-left-area-right-prefix ""
|
||||
set -goq @themepack-status-left-area-right-suffix ""
|
||||
set -goq @themepack-status-right-area-left-format "%H:%M:%S"
|
||||
set -goq @themepack-status-right-area-left-prefix ""
|
||||
set -goq @themepack-status-right-area-left-suffix ""
|
||||
set -goq @themepack-status-right-area-middle-format "%d-%b-%y"
|
||||
set -goq @themepack-status-right-area-middle-prefix ""
|
||||
set -goq @themepack-status-right-area-middle-suffix ""
|
||||
set -goq @themepack-status-right-area-right-format "#H"
|
||||
set -goq @themepack-status-right-area-right-prefix ""
|
||||
set -goq @themepack-status-right-area-right-suffix ""
|
||||
set -goq @themepack-window-status-current-format "#I:#W#F"
|
||||
set -goq @themepack-window-status-current-prefix ""
|
||||
set -goq @themepack-window-status-current-suffix ""
|
||||
set -goq @themepack-window-status-format "#I:#W#F"
|
||||
set -goq @themepack-window-status-prefix ""
|
||||
set -goq @themepack-window-status-suffix ""
|
||||
|
||||
#= include "_formats_combine"
|
||||
|
||||
Reference in New Issue
Block a user