-
Notifications
You must be signed in to change notification settings - Fork 498
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finish with appearence and status bar. Integrate various plugins incl…
…uding tmux-plugin-sysstat
- Loading branch information
Showing
6 changed files
with
140 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
.LSOverride | ||
|
||
# Icon must end with two \r | ||
Icon | ||
Icon | ||
|
||
# Thumbnails | ||
._* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "plugins/sysstat"] | ||
path = plugins/sysstat | ||
url = [email protected]:samoshkin/tmux-plugin-sysstat.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,27 @@ | ||
# TODO: extract colour to variables | ||
|
||
# Status line | ||
set -g status on | ||
set -g status-interval 10 | ||
set -g status-justify centre | ||
set -g status-left-length 70 | ||
set -g status-right-length 90 | ||
|
||
|
||
wg_battery='#{battery_status_fg} #{battery_icon} #{battery_percentage} #{battery_remain}' | ||
|
||
wg_loadavg='#[fg=colour167,bg=colour235]#( \ | ||
uptime | cut -d "," -f 3- | cut -d ":" -f2 | sed -e "s/^[ \t]*//" \ | ||
)#[default]' | ||
|
||
wg_date='#[fg=colour167,bg=colour235] %h %d %H:%M #[default]' | ||
|
||
wg_session='#[fg=green]#S:#[fg=default]#I.#P' | ||
wg_host='#[fg=colour167,bg=colour235]#(echo $USER)@#H#[default]' | ||
|
||
wg_is_zoomed='#[fg=colour231,bg=colour04]#{?window_zoomed_flag,[Z],}#[default]' | ||
wg_clients_attached='#[fg=cyan]#{?session_many_attached,~#{session_attached},}#[default]' | ||
|
||
|
||
# CPU is updated to often, put stress on CPU | ||
# wg_cpu='#{cpu_fg_color}#{cpu_percentage}' | ||
# wg_cpu="#(iostat -c -y 5 1 | tail -n 2 | head -n 1)" | ||
|
||
|
||
set -g status-style fg=white,bg=colour235 | ||
set -g status-right "$wg_loadavg $wg_battery $wg_host $wg_date #{online_status}" | ||
set -g status-left "$wg_session $wg_clients_attached $wg_is_zoomed #{prefix_highlight}" | ||
|
||
|
||
setw -g window-status-style fg=white,dim | ||
setw -g window-status-current-style fg=brightwhite,nodim,bold,bg=brightred | ||
setw -g window-status-activity-style fg=black,bg=cyan | ||
|
||
|
||
# Appearence | ||
setw -g pane-active-border-style fg=red | ||
set -g message-style fg=green,bold,bg=black | ||
# ===================================== | ||
# === Theme === | ||
# ===================================== | ||
|
||
# Feel free to NOT use this variables at all (remove, rename) | ||
# this are named colors, just for convenience | ||
color_orange="colour166" # 208, 166 | ||
color_purple="colour134" # 135, 134 | ||
color_green="colour076" # 070 | ||
color_blue="colour39" | ||
color_yellow="colour220" | ||
color_red="colour160" | ||
color_black="colour232" | ||
color_white="white" # 015 | ||
|
||
# This is a theme CONTRACT, you are required to define variables below | ||
# Change values, but not remove/rename variables itself | ||
color_dark="$color_black" | ||
color_light="$color_white" | ||
color_session_text="$color_blue" | ||
color_status_text="colour245" | ||
color_main="$color_orange" | ||
color_secondary="$color_purple" | ||
color_level_good="$color_green" | ||
color_level_warn="$color_yellow" | ||
color_lelel_achtung="$color_red" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters