Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Np #97

Merged
merged 2 commits into from
Dec 18, 2024
Merged

Np #97

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions blue-green.theme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
terminal:
foreground: "#b7b7ff"
background: "#231f32"
status_line:
foreground: "#b0c5f7"
background: "#23262d"
left_icon: ""
right_icon: ""
left_decorator: ""
right_decorator: ""
fg_format: "#7192e0"
bg_format: "#3a496b"
fg_icon: "#7192e0"
bg_icon: "#343e55"
fg_decorator: "#343e55"
bg_decorator: "#23262d"
style: "nobold,nounderscore,noitalics"
status_left:
fg_format: "#7192e0"
bg_format: "#23262d"
fg_icon: "#7192e0"
bg_icon: "#3a496b"
fg_decorator: "#3a496b"
bg_decorator: "#23262d"
icon: "  "
decorator: ""
style: "nobold,nounderscore,noitalics"
window:
active:
fg_window: "#23262d"
bg_window: "#a6e984"
fg_window_index: "#23262d"
bg_window_index: "#6ab842"
fg_icon: "#7192e0"
bg_icon: "#6ab842"
fg_decorator: "#6ab842"
bg_decorator: "#23262d"
icon: ""
decorator: ""
style: "nobold,nounderscore,noitalics"
inactive:
fg_window: "#7192e0"
bg_window: "#3a496b"
fg_window_index: "#7192e0"
bg_window_index: "#343e55"
fg_icon: ""
bg_icon: ""
fg_decorator: "#343e55"
bg_decorator: "#23262d"
icon: ""
decorator: ""
style: "nobold,nounderscore,noitalics"
status_right:
icon: " "
decorator: ""
style: "nobold,nounderscore,noitalics"
fg_format: "#7192e0"
bg_format: "#3a496b"
fg_icon: "#7192e0"
bg_icon: "#343e55"
fg_decorator: "#343e55"
bg_decorator: "#23262d"
63 changes: 63 additions & 0 deletions cute-blue.theme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
terminal:
foreground: "#b7b7ff"
background: "#231f32"
status_line:
foreground: "#acaaad"
background: "#0c0a09"
left_icon: ""
right_icon: ""
left_decorator: ""
right_decorator: ""
fg_format: "#acaaad"
bg_format: "#848284"
fg_icon: "#343232"
bg_icon: "#848284"
fg_decorator: "#848284"
bg_decorator: "#343232"
style: "nobold,nounderscore,noitalics"
status_left:
fg_format: "#acaaad"
bg_format: "#0c0a09"
fg_icon: "#e6e6dd"
bg_icon: "#4c3882"
fg_decorator: "#4c3882"
bg_decorator: "#0c0a09"
icon: "  "
decorator: ""
style: "nobold,nounderscore,noitalics"
window:
active:
fg_window: "#343232"
bg_window: "#a0be9b"
fg_window_index: "#0c0a09"
bg_window_index: "#629659"
fg_icon: "#343232"
bg_icon: "#629659"
fg_decorator: "#629659"
bg_decorator: "#0c0a09"
icon: ""
decorator: ""
style: "nobold,nounderscore,noitalics"
inactive:
fg_window: "#343232"
bg_window: "#5c5a5b"
fg_window_index: "#0c0a09"
bg_window_index: "#343232"
fg_icon: ""
bg_icon: ""
fg_decorator: "#343232"
bg_decorator: "#0c0a09"
icon: ""
decorator: ""
style: "nobold,nounderscore,noitalics"
status_right:
icon: " "
decorator: ""
style: "nobold,nounderscore,noitalics"
fg_format: "#343232"
bg_format: "#9bbcbe"
fg_icon: "#0c0a09"
bg_icon: "#599296"
fg_decorator: "#599296"
bg_decorator: "#0c0a09"
29 changes: 29 additions & 0 deletions d.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff --git a/eutmux.tmux b/eutmux.tmux
index 370ac4b..9e90806 100755
--- a/eutmux.tmux
+++ b/eutmux.tmux
@@ -85,6 +85,7 @@ setup(){
NEW_THEME_NAME=""
ROTATE_THEME=${FALSE}
CREATE_DYNMIC_THEME=${FALSE}
+ DARK_BASE_COLOR="" #23272e

# set working directory to eutmux project path
pushd "${_DIR}" >/dev/null 2>/dev/null || exit ${EXIT_ABNORMAL}
@@ -137,7 +138,7 @@ generate_palette_colors(){
color_name="${1:-color.ColorName.RANDOM}"
min_color="${2:-20}"
max_color="${3:-40}"
- dark_base_color="${4:-#23272e}" # elite-dark-blue: #1a1b26, github-dimmed: #23272e
+ dark_base_color="${4:-${DARK_BASE_COLOR}}" # elite-dark-blue: #1a1b26, github-dimmed: #23272e
install_python_modules="${5:-${FALSE}}"
append_gray="${6:-${TRUE}}"
token_min_color="${7:-60}"
@@ -353,6 +354,7 @@ setup
while getopts "adDrRt:T:" opt; do
case $opt in
a) show_all_themes; exit $? ;;
+ c) DARK_BASE_COLOR="${OPTARG}" ;;
d) CREATE_DYNMIC_THEME=${TRUE} ;;
D) THEME_NAME="eutmux" ;;
r) ROTATE_THEME=${TRUE} ;;
32 changes: 14 additions & 18 deletions eutmux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ theme: burgundy-red
general:
options:
status: true
status-fg: "C_06_15"
status-bg: "C_06_55"
status-fg: "C_06_01"
status-bg: "C_06_17"
status-justify: left
status-left-length: 100
status-right-length: 100
Expand All @@ -16,34 +16,34 @@ general:
focus-events: true
display-time: 5000
renumber-windows: true
clock-mode-colour: "C_04_30"
_fg_highlight: "C_01_50"
_bg_highlight: "C_05_45"
clock-mode-colour: "C_04_12"
_fg_highlight: "C_04_10"
_bg_highlight: "C_06_06"
_style: "nobold,nounderscore,noitalics"
_eutmux_template_name: "template.3"
_eutmux_template_name: "template.5"
styles:
message-style:
fg: "C_04_25"
fg: "C_04_10"
bg: ""
style: ""
message-command-style:
fg: "C_02_25"
fg: "C_04_10"
bg: ""
style: ""
pane-border-style:
fg: "C_06_25"
fg: "C_06_14"
bg: ""
style: ""
pane-active-border-style:
fg: "C_04_25"
fg: "C_04_12"
bg: ""
style: ""
# Tmux 3.3+ support popup styles
popup-style:
fg: "C_04_25"
bg: "C_06_55"
fg: "C_04_02"
bg: "C_06_05"
popup-border-style:
fg: "C_04_25"
fg: "C_04_02"
bg: ""
commands:
- bind-key 'g' run-shell 'eutmux.tmux -d'
Expand All @@ -53,6 +53,7 @@ general:
- bind-key 't' run-shell 'eutmux.tmux -t ""'
- bind-key 'T' run-shell 'eutmux.tmux -T ""'
- bind-key 'S' run-shell 'tmux source ~/.tmux.conf'
- bind-key 'C-c' clock-mode
- bind-key 'C-j' setw synchronize-panes on
- bind-key 'C-k' setw synchronize-panes off
- bind-key -n 'M-l' select-window -l
Expand All @@ -78,11 +79,6 @@ status_right:
enabled: true
format: " #{b:pane_current_path} "
icon: " "
fg_decorator: "C_03_25"
fg_icon: "C_06_55"
bg_icon: "C_03_25"
fg_format: "C_06_55"
bg_format: "C_03_45"
date:
icon: " "
format: " v%V %a %Y-%m-%d %H:%M:%S "
Expand Down
92 changes: 92 additions & 0 deletions eutmux.yaml~
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
theme: burgundy-red
general:
options:
status: true
status-fg: "C_6_1"
status-bg: "C_6_5"
status-justify: left
status-left-length: 100
status-right-length: 100
window-status-separator: ' '
terminal-overrides: ",xterm*:Tc"
default-terminal: "screen-256color"
escape-time: 5
status-interval: 3
focus-events: true
display-time: 5000
renumber-windows: true
clock-mode-colour: "C_4_4"
_fg_highlight: "#820000"
_bg_highlight: "C_5_4"
_style: "nobold,nounderscore,noitalics"
_eutmux_template_name: "template.3"
styles:
message-style:
fg: "C_4_2"
bg: ""
style: ""
message-command-style:
fg: "C_2_2"
bg: ""
style: ""
pane-border-style:
fg: "C_6_4"
bg: ""
style: ""
pane-active-border-style:
fg: "C_4_3"
bg: ""
style: ""
# Tmux 3.3+ support popup styles
popup-style:
fg: "C_4_2"
bg: "C_6_5"
popup-border-style:
fg: "C_4_2"
bg: ""
commands:
- bind-key 'g' run-shell 'eutmux.tmux -d'
- bind-key 'G' run-shell 'eutmux.tmux -D'
- bind-key 'a' display-popup 'eutmux.tmux -a'
- bind-key 'r' run-shell 'eutmux.tmux -r'
- bind-key 't' run-shell 'eutmux.tmux -t ""'
- bind-key 'T' run-shell 'eutmux.tmux -T ""'
- bind-key 'S' run-shell 'tmux source ~/.tmux.conf'
- bind-key 'C-j' setw synchronize-panes on
- bind-key 'C-k' setw synchronize-panes off
- bind-key -n 'M-l' select-window -l
- bind-key -n 'M-j' select-pane -R
- bind-key -n 'M-k' select-pane -D
- bind-key -n 'M-Left' select-window -p
- bind-key -n 'M-Right' select-window -n
status_left:
session:
enabled: true
format: " #S "
window:
active:
window_name: " #W "
window_index: " #I"
icon: ""
inactive:
window_name: " #W "
window_index: " #I"
icon: ""
status_right:
directory:
enabled: true
format: " #{b:pane_current_path} "
icon: " "
date:
icon: " "
format: " v%V %a %Y-%m-%d %H:%M:%S "
cpu:
icon: " "
format: " #(source cpu.sh) "
memory:
icon: " "
format: "#(source memory.sh)"
disk:
icon: " "
format: " #(source disk.sh) "
63 changes: 63 additions & 0 deletions gray-yellow.theme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
---
terminal:
foreground: "#b7b7ff"
background: "#231f32"
status_line:
foreground: "#d0d0d0"
background: "#171717"
left_icon: ""
right_icon: ""
left_decorator: ""
right_decorator: ""
fg_format: "#a2a2a2"
bg_format: "#454545"
fg_icon: "#a2a2a2"
bg_icon: "#353535"
fg_decorator: "#353535"
bg_decorator: "#171717"
style: "nobold,nounderscore,noitalics"
status_left:
fg_format: "#a2a2a2"
bg_format: "#171717"
fg_icon: "#a2a2a2"
bg_icon: "#454545"
fg_decorator: "#454545"
bg_decorator: "#171717"
icon: "  "
decorator: ""
style: "nobold,nounderscore,noitalics"
window:
active:
fg_window: "#171717"
bg_window: "#f5f54e"
fg_window_index: "#171717"
bg_window_index: "#b6b611"
fg_icon: "#a2a2a2"
bg_icon: "#b6b611"
fg_decorator: "#b6b611"
bg_decorator: "#171717"
icon: ""
decorator: ""
style: "nobold,nounderscore,noitalics"
inactive:
fg_window: "#a2a2a2"
bg_window: "#454545"
fg_window_index: "#a2a2a2"
bg_window_index: "#353535"
fg_icon: ""
bg_icon: ""
fg_decorator: "#353535"
bg_decorator: "#171717"
icon: ""
decorator: ""
style: "nobold,nounderscore,noitalics"
status_right:
icon: " "
decorator: ""
style: "nobold,nounderscore,noitalics"
fg_format: "#a2a2a2"
bg_format: "#454545"
fg_icon: "#a2a2a2"
bg_icon: "#353535"
fg_decorator: "#353535"
bg_decorator: "#171717"
Loading
Loading