From 18d6de8f43fb97145342a0fac79d5cb3bf56e237 Mon Sep 17 00:00:00 2001 From: jabuxas Date: Thu, 3 Oct 2024 18:53:08 -0300 Subject: [PATCH] feat(laptop): add white theme --- .../.config/alacritty/alacritty.toml | 32 +------------ .../.config/alacritty/solarized-dark.toml | 27 +++++++++++ .../alacritty/.config/alacritty/white.toml | 27 +++++++++++ laptop/configs/dunst/.config/dunst/dunstrc | 32 ++++++------- .../configs/sway/.config/sway/settings/binds | 1 + .../waybar/.config/waybar/style-white.css | 44 ++++++++++++++++++ .../.config/waybar/unused/style-solarized.css | 46 +++++++++---------- 7 files changed, 140 insertions(+), 69 deletions(-) create mode 100644 laptop/configs/alacritty/.config/alacritty/solarized-dark.toml create mode 100644 laptop/configs/alacritty/.config/alacritty/white.toml create mode 100644 laptop/configs/waybar/.config/waybar/style-white.css diff --git a/laptop/configs/alacritty/.config/alacritty/alacritty.toml b/laptop/configs/alacritty/.config/alacritty/alacritty.toml index aff7763..06d8f99 100644 --- a/laptop/configs/alacritty/.config/alacritty/alacritty.toml +++ b/laptop/configs/alacritty/.config/alacritty/alacritty.toml @@ -12,13 +12,13 @@ # I put the file alacritty.toml in $HOME/.config/alacritty. However it can be kept anywhere among the places mentioned in # https://github.com/alacritty/alacritty/tree/master#configuration +import = ["~/.config/alacritty/solarized-dark.toml"] + [window] # opacity = 0.9 - padding.x = 10 # padding.y = 10 - decorations = "Full" decorations_theme_variant = "Light" # "Dark" @@ -34,34 +34,6 @@ bold_italic.family = "CartographCF Nerd Font" bold_italic.style = "ExtraBold Italic" -[colors.primary] -background = "#002b36" -foreground = "#839496" - -[colors.normal] -black = '#073642' # Black (Host) -red = '#dc322f' # red (syntax string) -green = '#859900' # green (command) -yellow = '#b58900' # yellow (command second) -blue = '#268bd2' # blue (path) -magenta = '#d33682' # magenta (syntax var) -cyan = '#2aa198' # cyan (prompt) -white= '#eee8d5' # white - -[colors.bright] -black= '#002b36' # Bright Black -red = '#cb4b16' # bright red (command error) -green = '#586e75' # bright green (exec) -yellow= '#657b83' # bright yellow -blue = '#839496' # bright blue (folder) -magenta= '#6c71c4' # bright magenta -cyan= '#93a1a1' # bright cyan -white= '#fdf6e3' # bright white - -[colors.cursor] -text = "#002b36" -cursor = "#839496" - [[hints.enabled]] binding = { key = "O", mods = "Control|Shift" } command = "xdg-open" diff --git a/laptop/configs/alacritty/.config/alacritty/solarized-dark.toml b/laptop/configs/alacritty/.config/alacritty/solarized-dark.toml new file mode 100644 index 0000000..a87227a --- /dev/null +++ b/laptop/configs/alacritty/.config/alacritty/solarized-dark.toml @@ -0,0 +1,27 @@ +[colors.primary] +background = "#002b36" +foreground = "#839496" + +[colors.normal] +black = '#073642' # Black (Host) +red = '#dc322f' # red (syntax string) +green = '#859900' # green (command) +yellow = '#b58900' # yellow (command second) +blue = '#268bd2' # blue (path) +magenta = '#d33682' # magenta (syntax var) +cyan = '#2aa198' # cyan (prompt) +white= '#eee8d5' # white + +[colors.bright] +black= '#002b36' # Bright Black +red = '#cb4b16' # bright red (command error) +green = '#586e75' # bright green (exec) +yellow= '#657b83' # bright yellow +blue = '#839496' # bright blue (folder) +magenta= '#6c71c4' # bright magenta +cyan= '#93a1a1' # bright cyan +white= '#fdf6e3' # bright white + +[colors.cursor] +text = "#002b36" +cursor = "#839496" diff --git a/laptop/configs/alacritty/.config/alacritty/white.toml b/laptop/configs/alacritty/.config/alacritty/white.toml new file mode 100644 index 0000000..0a52df0 --- /dev/null +++ b/laptop/configs/alacritty/.config/alacritty/white.toml @@ -0,0 +1,27 @@ +[colors.normal] +black = '#EEE8D5' # Black (Host) +red = '#DC322F' # Red (Syntax string) +green = '#859900' # Green (Command) +yellow = '#b58900' # yellow (command second) +blue = '#268bd2' # blue (path) +magenta = '#d33682' # magenta (syntax var) +cyan = '#2aa198' # cyan (prompt) +white= '#002b36' # white + +[colors.bright] +black= '#657b83' # Bright Black +red = '#cb4b16' # bright red (command error) +green = '#859900' # bright green (exec) +yellow= '#b58900' # bright yellow +blue = '#6c71c4' # bright blue (folder) +magenta= '#d33682' # bright magenta +cyan= '#2aa198' # bright cyan +white= '#073642' # bright white + +[colors.primary] +background= '#FDF6E3' # Background +foreground= '#657B83' # Foreground (Text) + +[colors.cursor] +cursor= '#657b83' # cursor +text= '#FDF6E3' # Background diff --git a/laptop/configs/dunst/.config/dunst/dunstrc b/laptop/configs/dunst/.config/dunst/dunstrc index d4a251f..ceb2957 100644 --- a/laptop/configs/dunst/.config/dunst/dunstrc +++ b/laptop/configs/dunst/.config/dunst/dunstrc @@ -1,18 +1,18 @@ [global] - font = "Ubuntu Nerd Font, Cartograph CF Regular 13" + font = "CartographCF Nerd Font 13" allow_markup = yes markup = yes - format = "%s\n%b" + format = "%s\n%b" sort = yes indicate_hidden = yes bounce_freq = 0 show_age_threshold = 60 word_wrap = yes ignore_newline = false - origin = bottom-center + origin = top-right transparency = 5 idle_threshold = 120 - monitor = 0 + monitor = 1 follow = mouse sticky_history = yes line_height = 0 @@ -45,20 +45,20 @@ context = ctrl+shift+period [urgency_low] - background = "#131519" - foreground = "#ffffff" - highlight = "#5bb1b4" - timeout = 5 + background = "#1e2326" + foreground = "#d3c6aa" + highlight = "#a7c080" + timeout = 3 [urgency_normal] - background = "#131519" - foreground = "#ffffff" - highlight = "#5bb1b4" - timeout = 20 + background = "#1e2326" + foreground = "#d3c6aa" + highlight = "#a7c080" + timeout = 5 [urgency_critical] - background = "#131519" - foreground = "#ffffff" - highlight = "#5bb1b4" - timeout = 0 + background = "#1e2326" + foreground = "#d3c6aa" + highlight = "#a7c080" + timeout = 3 diff --git a/laptop/configs/sway/.config/sway/settings/binds b/laptop/configs/sway/.config/sway/settings/binds index 6b0e7c8..cbb0903 100644 --- a/laptop/configs/sway/.config/sway/settings/binds +++ b/laptop/configs/sway/.config/sway/settings/binds @@ -18,6 +18,7 @@ mode "resize" { bindsym $mod+r mode "resize" bindsym $mod+b exec firefox bindsym $mod+Shift+b exec qutebrowser +bindsym $mod+Shift+apostrophe exec ~/scripts/switch.fish bindsym $mod+Return exec $term bindsym $mod+Shift+c kill bindsym $mod+Shift+Return exec $menu diff --git a/laptop/configs/waybar/.config/waybar/style-white.css b/laptop/configs/waybar/.config/waybar/style-white.css new file mode 100644 index 0000000..e66daca --- /dev/null +++ b/laptop/configs/waybar/.config/waybar/style-white.css @@ -0,0 +1,44 @@ +* { + border: none; + border-radius: 0; + /* padding: 0; */ + /* margin: 0; */ + font-size: 15px; + font-family: FiraCode Nerd Font; + font-style: italic; +} + +window#waybar { + background: #fdf6e3; + color: #000; + margin: 10px; +} + +#workspaces button { + margin-left: 2px; + padding: 2px 8px; + color: #000; +} + +#workspaces button:hover, +#workspaces button:active { + background-color: #004d61; + color: #000; +} + +#workspaces button.focused { + background-color: #eee8d5; +} + +#language { + margin-right: 7px; +} + +#battery { + margin-left: 7px; + margin-right: 3px; +} + +#clock { + margin: 0px 6px; +} diff --git a/laptop/configs/waybar/.config/waybar/unused/style-solarized.css b/laptop/configs/waybar/.config/waybar/unused/style-solarized.css index abf8474..64d6bbf 100644 --- a/laptop/configs/waybar/.config/waybar/unused/style-solarized.css +++ b/laptop/configs/waybar/.config/waybar/unused/style-solarized.css @@ -1,50 +1,50 @@ * { - border: none; - border-radius: 0; - padding: 0; - margin: 0; - font-size: 11px; + border: none; + border-radius: 0; + padding: 0; + margin: 0; + font-size: 11px; } window#waybar { - background: #002b36; - color: #839496; + background: #002b36; + color: #839496; } #custom-logo { - font-size: 18px; - margin: 0; - margin-left: 7px; - margin-right: 12px; - padding: 0; - font-family: NotoSans Nerd Font Mono; + 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: #839496; + margin-left: 2px; + margin-right: 10px; + color: #839496; } #workspaces button:hover, #workspaces button:active { - background-color: #002b36; - color: #839496; + background-color: #002b36; + color: #839496; } #workspaces button.focused { - background-color: #383737; + background-color: #383737; } #language { - margin-right: 7px; + margin-right: 7px; } #battery { - margin-left: 7px; - margin-right: 3px; + margin-left: 7px; + margin-right: 3px; } #clock { - margin: 0px 6px; + margin: 0px 6px; }