Skip to content

Commit

Permalink
feat: improve hostname-widget
Browse files Browse the repository at this point in the history
  • Loading branch information
janoamaral committed Nov 30, 2024
1 parent 6eaf953 commit 3e83484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/hostname-widget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ source $CURRENT_DIR/themes.sh

hostname=$(hostnamectl hostname)

echo "#[fg=red,bold,bg=default]░ @ #[fg=brightwhite,bg=${THEME[background]}]${hostname}"
echo "@${hostname}"
4 changes: 2 additions & 2 deletions tokyo-night.tmux
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ hostname="#($SCRIPTS_PATH/hostname-widget.sh)"

#+--- Bars LEFT ---+
# Session name
tmux set -g status-left "#[fg=${THEME[bblack]},bg=${THEME[blue]},bold] #{?client_prefix,󰠠 ,#[dim]󰤂 }#[bold,nodim]#S "
tmux set -g status-left "#[fg=${THEME[bblack]},bg=${THEME[blue]},bold] #{?client_prefix,󰠠 ,#[dim]󰤂 }#[bold,nodim]#S$hostname "

#+--- Windows ---+
# Focus
Expand All @@ -76,5 +76,5 @@ tmux set -g window-status-current-format "$RESET#[fg=${THEME[green]},bg=${THEME[
tmux set -g window-status-format "$RESET#[fg=${THEME[foreground]}] #{?#{==:#{pane_current_command},ssh},󰣀 ,$terminal_icon $window_space}${RESET}$window_number#W#[nobold,dim]#{?window_zoomed_flag, $zoom_number, $custom_pane}#[fg=${THEME[yellow]}]#{?window_last_flag,󰁯 , }"

#+--- Bars RIGHT ---+
tmux set -g status-right "$battery_status$current_path$cmus_status$netspeed$git_status$wb_git_status$date_and_time$hostname"
tmux set -g status-right "$battery_status$current_path$cmus_status$netspeed$git_status$wb_git_status$date_and_time"
tmux set -g window-status-separator ""

0 comments on commit 3e83484

Please sign in to comment.