From 174cee4bdd08d673544ed102eb16865ee0617ae2 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Tue, 18 Oct 2022 16:52:16 +0300 Subject: [PATCH] Change theme to gruvbox --- configs/alacritty.yml | 58 ++++++++++++------------------ configs/sway/config | 6 ++-- configs/sway/themes/gruvbox | 14 ++++++++ configs/sway/themes/solarized-dark | 2 +- configs/waybar/style.css | 31 ++++++++-------- configs/zshrc | 1 - 6 files changed, 54 insertions(+), 58 deletions(-) create mode 100644 configs/sway/themes/gruvbox diff --git a/configs/alacritty.yml b/configs/alacritty.yml index 1622fc4..d9ca47a 100644 --- a/configs/alacritty.yml +++ b/configs/alacritty.yml @@ -21,53 +21,39 @@ font: italic: family: JetBrains Mono style: SemiBold Italic - size: 11.0 + size: 9.0 cursor: shape: Block blinking: on -# KDE Breeze (Ported from Konsole) +# Colors (Gruvbox dark) colors: # Default colors primary: - background: '0x232627' - foreground: '0xfcfcfc' - - dim_foreground: '0xeff0f1' - bright_foreground: '0xffffff' - dim_background: '0x31363b' - bright_background: '0x000000' + # hard contrast: background = '0x1d2021' + background: '0x282828' + # soft contrast: background = '0x32302f' + foreground: '0xebdbb2' # Normal colors normal: - black: '0x232627' - red: '0xed1515' - green: '0x11d116' - yellow: '0xf67400' - blue: '0x1d99f3' - magenta: '0x9b59b6' - cyan: '0x1abc9c' - white: '0xfcfcfc' + black: '0x282828' + red: '0xcc241d' + green: '0x98971a' + yellow: '0xd79921' + blue: '0x458588' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0xa89984' # Bright colors bright: - black: '0x7f8c8d' - red: '0xc0392b' - green: '0x1cdc9a' - yellow: '0xfdbc4b' - blue: '0x3daee9' - magenta: '0x8e44ad' - cyan: '0x16a085' - white: '0xffffff' - - # Dim colors - dim: - black: '0x31363b' - red: '0x783228' - green: '0x17a262' - yellow: '0xb65619' - blue: '0x1b668f' - magenta: '0x614a73' - cyan: '0x186c60' - white: '0x63686d' + black: '0x928374' + red: '0xfb4934' + green: '0xb8bb26' + yellow: '0xfabd2f' + blue: '0x83a598' + magenta: '0xd3869b' + cyan: '0x8ec07c' + white: '0xebdbb2' diff --git a/configs/sway/config b/configs/sway/config index d2f8a21..965ee9b 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -8,7 +8,7 @@ for_window [app_id="^launcher$"] floating enable, sticky enable, resize set 30 p set $menu exec $term --class=launcher -e env zsh -c "source ~/.profile && /usr/bin/sway-launcher-desktop" set $filemgr nemo -output * bg #073642 solid_color +output * bg #1d2021 solid_color input * { xkb_layout us,ru @@ -22,12 +22,12 @@ smart_borders on default_border pixel 1 hide_edge_borders smart smart_gaps on -gaps inner 5 +gaps inner 16 font "JetBrains Mono" 9 output * scale 2 -include ~/.config/sway/themes/breeze +include ~/.config/sway/themes/gruvbox # Start components diff --git a/configs/sway/themes/gruvbox b/configs/sway/themes/gruvbox new file mode 100644 index 0000000..bb08add --- /dev/null +++ b/configs/sway/themes/gruvbox @@ -0,0 +1,14 @@ +seat seat0 xcursor_theme "Simp1e-Gruvbox-Dark" + +set $gnome-schema org.gnome.desktop.interface +exec_always { + gsettings set $gnome-schema gtk-theme 'gruvbox-dark-gtk' + gsettings set $gnome-schema icon-theme 'gruvbox-dark-icons-gtk' + gsettings set $gnome-schema cursor-theme 'Simp1e-Gruvbox-Dark' + gsettings set $gnome-schema font-name 'JetBrains Mono 9' +} + +# Property Name Border BG Text Indicator Child_border +client.focused #928374 #282828 #ebdbb2 #928374 #928374 +client.focused_inactive #1d2021 #282828 #ebdbb2 #1d2021 #1d2021 +client.unfocused #1d2021 #282828 #ebdbb2 #1d2021 #1d2021 diff --git a/configs/sway/themes/solarized-dark b/configs/sway/themes/solarized-dark index bd56ecb..ab577bf 100644 --- a/configs/sway/themes/solarized-dark +++ b/configs/sway/themes/solarized-dark @@ -2,7 +2,7 @@ seat seat0 xcursor_theme "Breeze_Snow" set $gnome-schema org.gnome.desktop.interface exec_always { - gsettings set $gnome-schema gtk-theme 'NumixSolarizedDarkOrange' + gsettings set $gnome-schema gtk-theme 'NumixSolarizedDarkCyan' gsettings set $gnome-schema icon-theme 'breeze-dark' gsettings set $gnome-schema cursor-theme 'Breeze_Snow' gsettings set $gnome-schema font-name 'JetBrains Mono 9' diff --git a/configs/waybar/style.css b/configs/waybar/style.css index dc8d802..f51a293 100644 --- a/configs/waybar/style.css +++ b/configs/waybar/style.css @@ -7,32 +7,30 @@ } window#waybar { - background-color: #232629; - color: #eeeeee; + background-color: #1d2021; + color: #ebdbb2; + padding-right: 5px; } #workspaces button { background-color: transparent; border-radius: 2px; - color: #eeeeee; - margin: 2px 2px; + color: #a89984; + margin: 4px 2px; } #workspaces button:hover { - color: #cb4b16; - background-color: #43a5d5; + color: #ebdbb2; + background-color: #928374; } #workspaces button.focused { - color: #b58900; - background-color: #073642; + color: #ebdbb2; + background-color: #282828; } #workspaces button.urgent { - background-color: #eb4d4b; -} -#mode { - background-color: #888888; + background-color: #cc241d; } #language, #clock, @@ -50,15 +48,14 @@ window#waybar { #idle_inhibitor, #mpd { padding: 0 4px; - color: #b58900; - background-color: #073642; + color: #d79921; + background-color: #282828; border-radius: 2px; - margin: 2px 2px; + margin: 4px 2px; } #window { - color: #859900; - font-weight: 800; + color: #b8bb26; } /* If workspaces is the leftmost module, omit left margin */ diff --git a/configs/zshrc b/configs/zshrc index 659f7af..36edb06 100644 --- a/configs/zshrc +++ b/configs/zshrc @@ -17,7 +17,6 @@ USEDSTRGPERCHOME=$(df /home -h | tail -n 1 | awk '{print $5}') STRGHOME=$(df /home -h | tail -n 1 | awk '{print $2}') UPTIME=$(uptime -p) -printf "\e[0;32m$(whoami)@$(hostnamectl hostname)\e[m\n" printf "\e[0;34msystem load:\e[m\t${AVLD}\n" printf "\e[0;34musage of /:\e[m\t${USEDSTRGPERC}% (${USEDSTRG}/${STRG})\n" printf "\e[0;34musage of /home:\e[m\t${USEDSTRGPERCHOME}% (${USEDSTRGHOME}/${STRGHOME})\n"