add melange themes

This commit is contained in:
Lucas Barbieri 2024-02-14 09:37:21 -03:00
parent 1c4137070b
commit 39f612c7dc
5 changed files with 113 additions and 9 deletions

View File

@ -13,7 +13,7 @@ print_info() {
info " ${cl4}██ kernel" kernel info " ${cl4}██ kernel" kernel
info " ${cl1}██ wm" wm info " ${cl1}██ wm" wm
info " ${cl7}██ uptime" uptime info " ${cl7}██ uptime" uptime
info " ${cl11}██ packages" packages info " ${cl3}██ packages" packages
info cols info cols
} }
@ -96,7 +96,7 @@ battery_display="on"
disk_display="on" disk_display="on"
image_backend="iterm2" image_backend="iterm2"
image_source="$HOME/pics/rh.jpg" image_source="$HOME/pics/neofetch/melangium.jpg"
image_size="300px" image_size="300px"
image_loop="off" image_loop="off"

View File

@ -1 +1 @@
/yang/.config/tmux/tmux-white.conf /yang/.config/tmux/tmux-melange.conf

View File

@ -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

View File

@ -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;
}

View File

@ -5,7 +5,10 @@ local function font_with_fallback(name, params)
return wezterm.font_with_fallback(names, params) return wezterm.font_with_fallback(names, params)
end 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 { return {
-- OpenGL for GPU acceleration, Software for CPU -- OpenGL for GPU acceleration, Software for CPU
@ -45,7 +48,7 @@ return {
-- Font config -- Font config
font = font_with_fallback(font_name), font = font_with_fallback(font_name),
warn_about_missing_glyphs = false, warn_about_missing_glyphs = false,
font_size = 17, font_size = 15,
line_height = 1.0, line_height = 1.0,
dpi = 96.0, dpi = 96.0,
@ -53,7 +56,7 @@ return {
default_cursor_style = "BlinkingUnderline", default_cursor_style = "BlinkingUnderline",
-- X11 -- X11
enable_wayland = false, enable_wayland = true,
-- Keybinds -- Keybinds
disable_default_key_bindings = true, disable_default_key_bindings = true,
@ -98,12 +101,12 @@ return {
-- General -- General
automatically_reload_config = true, automatically_reload_config = true,
inactive_pane_hsb = { saturation = 1.0, brightness = 1.0 }, inactive_pane_hsb = { saturation = 1.0, brightness = 1.0 },
window_background_opacity = 0.75, window_background_opacity = 0.80,
window_close_confirmation = "NeverPrompt", window_close_confirmation = "NeverPrompt",
window_frame = { active_titlebar_bg = "#45475a", font = font_with_fallback(font_name, { bold = true }) }, 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_dirs = { "~/.config/wezterm/colors" },
-- color_scheme = "Solarized Light (Gogh)", color_scheme = "Gruvbox light, medium (base16)"
color_scheme = "Solarized Light (Gogh)",
} }