From 39f612c7dcf5fc598cb82d7194488509c17aca39 Mon Sep 17 00:00:00 2001 From: Lucas Barbieri Date: Wed, 14 Feb 2024 09:37:21 -0300 Subject: [PATCH] add melange themes --- desktop/configs/neofetch/config.conf | 4 +- desktop/configs/tmux/theme.conf | 2 +- desktop/configs/tmux/tmux-melange.conf | 51 ++++++++++++++++++++++++ desktop/configs/waybar/style-melange.css | 50 +++++++++++++++++++++++ desktop/configs/wezterm/wezterm.lua | 15 ++++--- 5 files changed, 113 insertions(+), 9 deletions(-) create mode 100644 desktop/configs/tmux/tmux-melange.conf create mode 100644 desktop/configs/waybar/style-melange.css diff --git a/desktop/configs/neofetch/config.conf b/desktop/configs/neofetch/config.conf index b721456..06dee4f 100644 --- a/desktop/configs/neofetch/config.conf +++ b/desktop/configs/neofetch/config.conf @@ -13,7 +13,7 @@ print_info() { info " ​ ​ ${cl4}██ kernel" kernel info " ​ ​ ${cl1}██ wm" wm info " ​ ​ ${cl7}██ uptime" uptime - info " ​ ​ ${cl11}██ packages" packages + info " ​ ​ ${cl3}██ packages" packages info cols } @@ -96,7 +96,7 @@ battery_display="on" disk_display="on" image_backend="iterm2" -image_source="$HOME/pics/rh.jpg" +image_source="$HOME/pics/neofetch/melangium.jpg" image_size="300px" image_loop="off" diff --git a/desktop/configs/tmux/theme.conf b/desktop/configs/tmux/theme.conf index d2b8604..afce652 120000 --- a/desktop/configs/tmux/theme.conf +++ b/desktop/configs/tmux/theme.conf @@ -1 +1 @@ -/yang/.config/tmux/tmux-white.conf \ No newline at end of file +/yang/.config/tmux/tmux-melange.conf \ No newline at end of file diff --git a/desktop/configs/tmux/tmux-melange.conf b/desktop/configs/tmux/tmux-melange.conf new file mode 100644 index 0000000..80f694a --- /dev/null +++ b/desktop/configs/tmux/tmux-melange.conf @@ -0,0 +1,51 @@ + +# status bar +set -g status-style fg=colour208,bg=white +# set-option -g status-attr default +set-option -g status-position bottom +set-option -g status-interval 60 +set-option -g status-bg default +set-option -g status-fg black + +# Left side of status bar +set-option -g status-left-length 10 +#set-option -g status-left "#[fg=brightblack,bg=colour255] #S #[fg=default,bg=default] " +set-option -g status-left '#{?client_prefix,#[bg=colour130]  ,#[bg=colour130] #S }#[fg=default,bg=default] ' + +# Window status +set-option -g window-status-format "#[fg=black,bg=white] #I #[fg=black,bg=white] #W " +set-option -g window-status-current-format "#[fg=brightblack,bg=colour130] #I #[fg=brightblack,bg=colour130] #W " +set-option -g window-status-separator " " +set-option -g status-justify left + +# Right side of status bar +set-option -g status-right-length 200 +set -g status-right "#{playerctl_short} | #(whoami)@#h " +set -g @short_length "50" + +# pane border +set -g pane-border-style fg=colour238,bg=colour235 +set -g pane-active-border-style fg=colour130,bg=colour236 + +# Pane number indicator +set-option -g display-panes-colour colour255 +set-option -g display-panes-active-colour brightblack + +# Message +set -g message-style fg=default,bg=default + +# Activity +set-option -g monitor-activity on +set-option -g monitor-silence 0 +set-option -g monitor-bell on +set-option -g activity-action other +set-option -g visual-activity on + +# Window numbering +set-option -g base-index 1 +set-option -g pane-base-index 1 +set-option -g renumber-windows on + +# select default layout +set-option -g main-pane-width 65 +set-option -g main-pane-height 65 diff --git a/desktop/configs/waybar/style-melange.css b/desktop/configs/waybar/style-melange.css new file mode 100644 index 0000000..6988a18 --- /dev/null +++ b/desktop/configs/waybar/style-melange.css @@ -0,0 +1,50 @@ +* { + border: none; + border-radius: 0; + padding: 0; + margin: 0; + font-size: 11px; +} + +window#waybar { + background: #fbf1c7; + color: #3c3836; +} + +#custom-logo { + font-size: 18px; + margin: 0; + margin-left: 7px; + margin-right: 12px; + padding: 0; + font-family: NotoSans Nerd Font Mono; +} + +#workspaces button { + margin-left: 2px; + margin-right: 10px; + color: #3c3836; +} + +#workspaces button:hover, +#workspaces button:active { + background-color: #fbf1c7; + color: #3c3836; +} + +#workspaces button.focused { + background-color: #383737; +} + +#language { + margin-right: 7px; +} + +#battery { + margin-left: 7px; + margin-right: 3px; +} + +#clock { + margin: 0px 6px; +} diff --git a/desktop/configs/wezterm/wezterm.lua b/desktop/configs/wezterm/wezterm.lua index 3986603..d4d9dc8 100644 --- a/desktop/configs/wezterm/wezterm.lua +++ b/desktop/configs/wezterm/wezterm.lua @@ -5,7 +5,10 @@ local function font_with_fallback(name, params) return wezterm.font_with_fallback(names, params) end -local font_name = "Cartograph CF Nerd Font" +local font_name = { + family = "Cartograph CF Nerd Font", + harfbuzz_features = { 'calt = 0', 'clig = 0', 'liga=0' } +} return { -- OpenGL for GPU acceleration, Software for CPU @@ -45,7 +48,7 @@ return { -- Font config font = font_with_fallback(font_name), warn_about_missing_glyphs = false, - font_size = 17, + font_size = 15, line_height = 1.0, dpi = 96.0, @@ -53,7 +56,7 @@ return { default_cursor_style = "BlinkingUnderline", -- X11 - enable_wayland = false, + enable_wayland = true, -- Keybinds disable_default_key_bindings = true, @@ -98,12 +101,12 @@ return { -- General automatically_reload_config = true, inactive_pane_hsb = { saturation = 1.0, brightness = 1.0 }, - window_background_opacity = 0.75, + window_background_opacity = 0.80, window_close_confirmation = "NeverPrompt", window_frame = { active_titlebar_bg = "#45475a", font = font_with_fallback(font_name, { bold = true }) }, + check_for_updates = false, -- color_scheme_dirs = { "~/.config/wezterm/colors" }, - -- color_scheme = "Solarized Light (Gogh)", - color_scheme = "Solarized Light (Gogh)", + color_scheme = "Gruvbox light, medium (base16)" }