remove arrows and change colours a bit

Signed-off-by: Efertone <efertone@pm.me>
This commit is contained in:
Victoria Nadasdi 2023-04-05 16:10:44 +02:00
parent c38020a212
commit 88c2d5c42a
Signed by: efertone
GPG Key ID: 58E2D23885002DC5
4 changed files with 40 additions and 10 deletions

13
colours Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
export white='#f8f8f2'
export gray='#44475a'
export dark_gray='#282a36'
export light_purple='#bd93f9'
export dark_purple='#6272a4'
export cyan='#8be9fd'
export green='#50fa7b'
export orange='#ffb86c'
export red='#ff5555'
export pink='#ff79c6'
export yellow='#f1fa8c'

View File

@ -1,14 +1,17 @@
#!/bin/bash
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${current_dir}/colours"
function left() {
line='#[align=left range=left #{status-left-style}]'
line=$line'#[fg=colour133,bg=colour235,bold]'
line=$line"#[fg=${white},bg=${dark_purple},bold]"
line=$line' #S ' \
line=$line'#[fg=colour133]'
line=$line'#[fg=colour240]'
line=$line"#[fg=${pink}]"
line=$line"#[fg=${light_purple}]"
line=$line' '$(whoami)' '
line=$line'#[fg=colour235,bg=default,nobold]'
line=$line"#[fg=${dark_purple},bg=default,nobold]"
echo $line
@ -47,8 +50,8 @@ function right() {
line=$line$(date +"%I:%M %p")' '
line=$line'#[fg=colour238,nobold]'
line=$line'#[fg=colour254, bg=colour238]'
line=$line"#[fg=${gray},nobold]"
line=$line"#[fg=${white}, bg=${gray}]"
line=$line' '$(date +"%D %a")' '
#line=$line$(rainbarf --width 10 --battery --remaining --tmux --rgb)

View File

@ -1,12 +1,15 @@
#!/bin/bash
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "${current_dir}/colours"
function left() {
line=''
line=$line'#[fg=colour149,bg=colour235]'
line=$line"#[fg=${white},bg=${dark_purple}]"
line=$line' '$(~/.tmux/get-path "$1")
line=$line' #(gitmux "#{pane_current_path}") '
line=$line'#[fg=colour235,bg=default,nobold]'
line=$line"#[fg=${dark_purple},bg=default,nobold]"
echo $line

View File

@ -81,8 +81,19 @@ set -g status-format[1] "#(~/.tmux/status-second '#{pane_current_path}')"
#set -g status-right '#(~/.tmux/right)'
# Tabs
set -g window-status-current-format "#[fg=yellow, bg=default] #[fg=black]#[bg=yellow] #I #[fg=colour254, bg=colour237] #W #[fg=brightblack]#F "
set -g window-status-format "#[fg=colour39, bg=default, nodim] #[fg=colour16, bg=colour39] #I #[fg=colour247, bg=colour237] #W #[fg=brightblack]#F "
#set -g window-status-current-format "#[fg=yellow, bg=default] #[fg=black]#[bg=yellow] #I #[fg=colour254, bg=colour237] #W #[fg=brightblack]#F "
#set -g window-status-format "#[fg=colour39, bg=default, nodim] #[fg=colour16, bg=colour39] #I #[fg=colour247, bg=colour237] #W #[fg=brightblack]#F "
# Symbol Meaning
# * Denotes the current window.
# - Marks the last window (previously selected).
# # Window is monitored and activity has been detected.
# ! A bell has occurred in the window.
# ~ The window has been silent for the monitor-silence interval.
# M The window contains the marked pane.
# Z The window's active pane is zoomed.
set -g window-status-current-format "#[fg=black, bg=yellow] #I #[fg=colour254,bg=colour237] #W #[fg=white]#F "
set -g window-status-format "#[fg=colour16, bg=colour39] #I #[fg=colour247,bg=colour237] #W #[fg=white]#F "
set -g window-status-bell-style fg=colour39,bg=black
set -g window-status-activity-style fg=colour39,bg=black