From eec36cad07ede3a81b9d30a3c1635e5452773896 Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Sat, 30 Dec 2023 15:54:28 +0300 Subject: [PATCH 1/2] fix(tmux) : remove ical --- configs/tmux/tmux.conf | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/tmux/tmux.conf b/configs/tmux/tmux.conf index 629dd48..f4222ac 100644 --- a/configs/tmux/tmux.conf +++ b/configs/tmux/tmux.conf @@ -46,7 +46,7 @@ set -g @catppuccin_window_default_fill "number" set -g @catppuccin_window_default_text "#W" set -g @catppuccin_window_current_fill "number" set -g @catppuccin_window_current_text "#W#{?window_zoomed_flag,(),}" -set -g @catppuccin_status_modules_right "directory meetings date_time" +set -g @catppuccin_status_modules_right "directory date_time" set -g @catppuccin_status_modules_left "session" set -g @catppuccin_status_left_separator " " set -g @catppuccin_status_right_separator " " @@ -54,7 +54,8 @@ set -g @catppuccin_status_right_separator_inverse "no" set -g @catppuccin_status_fill "icon" set -g @catppuccin_status_connect_separator "no" set -g @catppuccin_directory_text "#{b:pane_current_path}" -set -g @catppuccin_meetings_text "#($HOME/.config/tmux/scripts/cal.sh)" +#set -g @catppuccin_meetings_text "#($HOME/.config/tmux/scripts/cal.sh)" +set -g @catppuccin_meetings_text "" set -g @catppuccin_date_time_text "%H:%M" run '~/.config/tmux/plugins/tpm/tpm' From e5d611a4b8f0fbccea79f255f4e799bc2f240bdf Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Sat, 30 Dec 2023 16:40:11 +0300 Subject: [PATCH 2/2] refact : starship in own folder and better conf --- configs/{ => starship}/starship.toml | 7 ++++--- modules/console.nix | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) rename configs/{ => starship}/starship.toml (57%) diff --git a/configs/starship.toml b/configs/starship/starship.toml similarity index 57% rename from configs/starship.toml rename to configs/starship/starship.toml index 50df12f..3ca2587 100644 --- a/configs/starship.toml +++ b/configs/starship/starship.toml @@ -1,8 +1,9 @@ "$schema" = 'https://starship.rs/config-schema.json' -format = '${custom.tztime}$all$directory$character' - -add_newline = true # Inserts a blank line between shell prompts +#format = '${custom.tztime}$all$directory$character' +format = '$directory$character' +right_format = '$all' +add_newline = true # Inserts a blank line between shell prompts [character] success_symbol = '[➜](bold green)' diff --git a/modules/console.nix b/modules/console.nix index 03ceea6..26f2c22 100644 --- a/modules/console.nix +++ b/modules/console.nix @@ -17,7 +17,7 @@ ''; }; programs = { - mosh.enable = true; +# mosh.enable = true; # neovim = { # enable = true; # viAlias = true; @@ -26,7 +26,7 @@ ssh.startAgent = true; starship = { enable = true; - settings = with builtins; fromTOML (readFile ../configs/starship.toml); + settings = with builtins; fromTOML (readFile ../configs/starship/starship.toml); }; zsh = { enable = true;