From 73f0306d9661e8caf0ad33d7b54b3136fe21f024 Mon Sep 17 00:00:00 2001 From: awy Date: Wed, 6 Aug 2025 03:03:23 +0300 Subject: gruvbox --- .config/kitty/kitty.conf | 109 +++++++++----------- .config/mako/config | 8 +- .config/rofi/catppuccin.rasi | 28 ------ .config/rofi/config.rasi | 234 ++++++++++++++++++++----------------------- .config/rofi/gruvbox.rasi | 55 ++++++++++ 5 files changed, 218 insertions(+), 216 deletions(-) delete mode 100644 .config/rofi/catppuccin.rasi create mode 100644 .config/rofi/gruvbox.rasi diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf index cc318a4..3f67c81 100644 --- a/.config/kitty/kitty.conf +++ b/.config/kitty/kitty.conf @@ -5,6 +5,10 @@ confirm_os_window_close 0 window_padding_width 5 cursor_blink_interval 0 +bold_font auto +italic_font auto +bold_italic_font auto + map alt+c copy_to_clipboard map alt+v paste_from_clipboard @@ -18,73 +22,58 @@ map alt+0 change_font_size all 0 map alt+l open_url_with_hints # THEME -# The basic colors -foreground #cdd6f4 -background #1e1e2e -selection_foreground #1e1e2e -selection_background #f5e0dc - -# Cursor colors -cursor #f5e0dc -cursor_text_color #1e1e2e - -# URL underline color when hovering with mouse -url_color #f5e0dc - -# Kitty window border colors -active_border_color #b4befe -inactive_border_color #6c7086 -bell_border_color #f9e2af - -# OS Window titlebar colors -wayland_titlebar_color system -macos_titlebar_color system - -# Tab bar colors -active_tab_foreground #11111b -active_tab_background #cba6f7 -inactive_tab_foreground #cdd6f4 -inactive_tab_background #181825 -tab_bar_background #11111b - -# Colors for marks (marked text in the terminal) -mark1_foreground #1e1e2e -mark1_background #b4befe -mark2_foreground #1e1e2e -mark2_background #cba6f7 -mark3_foreground #1e1e2e -mark3_background #74c7ec - -# The 16 terminal colors - -# black -color0 #45475a -color8 #585b70 +# Based on https://github.com/morhetz/gruvbox by morhetz +# Adapted to kitty by wdomitrz + +cursor #928374 +cursor_text_color background + +url_color #83a598 + +visual_bell_color #8ec07c +bell_border_color #8ec07c + +active_border_color #d3869b +inactive_border_color #665c54 + +foreground #ebdbb2 +background #282828 +selection_foreground #928374 +selection_background #ebdbb2 + +active_tab_foreground #fbf1c7 +active_tab_background #665c54 +inactive_tab_foreground #a89984 +inactive_tab_background #3c3836 + +# black (bg3/bg4) +color0 #665c54 +color8 #7c6f64 # red -color1 #f38ba8 -color9 #f38ba8 +color1 #cc241d +color9 #fb4934 -# green -color2 #a6e3a1 -color10 #a6e3a1 +#: green +color2 #98971a +color10 #b8bb26 # yellow -color3 #f9e2af -color11 #f9e2af +color3 #d79921 +color11 #fabd2f # blue -color4 #89b4fa -color12 #89b4fa +color4 #458588 +color12 #83a598 -# magenta -color5 #f5c2e7 -color13 #f5c2e7 +# purple +color5 #b16286 +color13 #d3869b -# cyan -color6 #94e2d5 -color14 #94e2d5 +# aqua +color6 #689d6a +color14 #8ec07c -# white -color7 #bac2de -color15 #a6adc8 +# white (fg4/fg3) +color7 #a89984 +color15 #bdae93 diff --git a/.config/mako/config b/.config/mako/config index debf8ca..3fc8de0 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -17,10 +17,10 @@ margin=6 padding=10 format=%s\n%b -background-color=#1e1e2eaa -text-color=#cdd6f4 -border-color=#f5e0dc -progress-color=over #313244 +background-color=#1d2021aa +text-color=#ebdbb2 +border-color=#83a598 +progress-color=#357578 border-size=2 border-radius=10 default-timeout=10000 diff --git a/.config/rofi/catppuccin.rasi b/.config/rofi/catppuccin.rasi deleted file mode 100644 index 733b6c6..0000000 --- a/.config/rofi/catppuccin.rasi +++ /dev/null @@ -1,28 +0,0 @@ -* { - rosewater: #f5e0dc; - flamingo: #f2cdcd; - pink: #f5c2e7; - mauve: #cba6f7; - red: #f38ba8; - maroon: #eba0ac; - peach: #fab387; - yellow: #f9e2af; - green: #a6e3a1; - teal: #94e2d5; - sky: #89dceb; - sapphire: #74c7ec; - blue: #89b4fa; - lavender: #b4befe; - text: #cdd6f4; - subtext1: #bac2de; - subtext0: #a6adc8; - overlay2: #9399b2; - overlay1: #7f849c; - overlay0: #6c7086; - surface2: #585b70; - surface1: #45475a; - surface0: #313244; - base: #1e1e2e; - mantle: #181825; - crust: #11111b; -} diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 40141e1..b9deba7 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1,170 +1,156 @@ -@import "catppuccin" - -* { - selected-active-foreground: @background; - lightfg: @text; - separatorcolor: @foreground; - urgent-foreground: @red; - alternate-urgent-background: @lightbg; - lightbg: @mantle; - background-color: transparent; - border-color: @foreground; - normal-background: @background; - selected-urgent-background: @red; - alternate-active-background: @lightbg; - spacing: 2; - alternate-normal-foreground: @foreground; - urgent-background: @background; - selected-normal-foreground: @lightbg; - active-foreground: @blue; - background: @base; - selected-active-background: @blue; - active-background: @background; - selected-normal-background: @lightfg; - alternate-normal-background: @lightbg; - foreground: @text; - selected-urgent-foreground: @background; - normal-foreground: @foreground; - alternate-urgent-foreground: @red; - alternate-active-foreground: @blue; +@theme "gruvbox" +configuration { + modi: "drun,run"; + font: "JetBrainsMono Nerd Font bold 20px"; + show-icons: false; + terminal: "kitty"; + drun-display-format: "{name}"; + location: 0; + disable-history: false; + sidebar-mode: true; + display-drun: "Apps"; + display-run: "Command"; + display-window: "Window"; } -element { - padding: 1px ; - cursor: pointer; - spacing: 5px ; + +window { + background-color: @background; + border: 6; + border-radius: 14px; + padding: 4; + fullscreen: false; + width: 750; + height: 520; +} + +mainbox { border: 0; + padding: 0; +} + +message { + border: 0 0 0; + border-color: @separatorcolor; + padding: 1px; +} + +textbox { + highlight: @highlight; + text-color: @foreground; +} + +listview { + border: 0 0 0; + padding: 10px -5px 10px 5px; + border-color: @separatorcolor; + spacing: 10px; + scrollbar: @scrollbar; +} + +element { + padding: 5px 10px; + border-radius: 5px; + margin: 0 5px 0 5px; } -element normal.normal { + +element.normal.normal { background-color: @normal-background; text-color: @normal-foreground; } -element normal.urgent { + +element.normal.urgent { background-color: @urgent-background; text-color: @urgent-foreground; } -element normal.active { + +element.normal.active { background-color: @active-background; text-color: @active-foreground; } -element selected.normal { + +element.selected.normal { background-color: @selected-normal-background; text-color: @selected-normal-foreground; } -element selected.urgent { + +element.selected.urgent { background-color: @selected-urgent-background; text-color: @selected-urgent-foreground; } -element selected.active { + +element.selected.active { background-color: @selected-active-background; text-color: @selected-active-foreground; } -element alternate.normal { + +element.alternate.normal { background-color: @alternate-normal-background; text-color: @alternate-normal-foreground; } -element alternate.urgent { + +element.alternate.urgent { background-color: @alternate-urgent-background; text-color: @alternate-urgent-foreground; } -element alternate.active { + +element.alternate.active { background-color: @alternate-active-background; text-color: @alternate-active-foreground; } -element-text { - background-color: transparent; - cursor: inherit; - highlight: inherit; - text-color: inherit; -} -element-icon { - background-color: transparent; - size: 1.0000em ; - cursor: inherit; - text-color: inherit; -} -window { - padding: 5; - background-color: @background; - border: 1; -} -mainbox { - padding: 0; - border: 0; -} -message { - padding: 1px ; - border-color: @separatorcolor; - border: 2px dash 0px 0px ; -} -textbox { - text-color: @foreground; -} -listview { - padding: 2px 0px 0px ; - scrollbar: true; - border-color: @separatorcolor; - spacing: 2px ; - fixed-height: 0; - border: 2px dash 0px 0px ; -} + scrollbar { - width: 4px ; - padding: 0; - handle-width: 8px ; + enabled: false; + width: 0; border: 0; - handle-color: @normal-foreground; + handle-color: @scrollbar-handle; + handle-width: 0; + padding: 0; + margin: 0; } -sidebar { + +mode-switcher { + border: 0 0 0; border-color: @separatorcolor; - border: 2px dash 0px 0px ; + margin: 5px; } -button { - cursor: pointer; + +inputbar { spacing: 0; text-color: @normal-foreground; + padding: 2px; + children: [ prompt, entry, case-indicator ]; } -button selected { - background-color: @selected-normal-background; - text-color: @selected-normal-foreground; -} -num-filtered-rows { - expand: false; - text-color: Gray; -} -num-rows { - expand: false; - text-color: Gray; -} -textbox-num-sep { - expand: false; - str: "/"; - text-color: Gray; -} -inputbar { - padding: 1px ; - spacing: 0px ; + +case-indicator, +entry, +prompt, +button { + spacing: 5px; text-color: @normal-foreground; - children: [ "prompt","textbox-prompt-colon","entry","num-filtered-rows","textbox-num-sep","num-rows","case-indicator" ]; + border-radius: 5px; + padding: 10px 20px; + margin: 0px; } -case-indicator { - spacing: 0; - text-color: @normal-foreground; + +prompt { + background-color: @prompt-background; + text-color: @prompt-foreground; + border-radius: 5px; } -entry { - text-color: @normal-foreground; - cursor: text; - spacing: 0; - placeholder-color: Gray; - placeholder: "Type to filter"; + +button.selected { + background-color: @selected-normal-background; + text-color: @selected-normal-foreground; } -prompt { - spacing: 0; + +textbox-prompt-sep { + expand: false; + str: ">>"; text-color: @normal-foreground; + margin: 10px 0 0 0; } -textbox-prompt-colon { - margin: 0px 0.3000em 0.0000em 0.0000em ; - expand: false; - str: ":"; - text-color: inherit; +element-text, element-icon { + background-color: inherit; + text-color: inherit; } diff --git a/.config/rofi/gruvbox.rasi b/.config/rofi/gruvbox.rasi new file mode 100644 index 0000000..b2d538b --- /dev/null +++ b/.config/rofi/gruvbox.rasi @@ -0,0 +1,55 @@ +* { + highlight: bold italic; + scrollbar: true; + + /* gruv = Gruvbox Dark */ + gruv-bg-dim: #282828; + gruv-bg0: #3c3836; + gruv-bg1: #504945; + gruv-bg2: #665c54; + gruv-bg3: #7c6f64; + gruv-bg4: #928374; + gruv-bg5: #a89984; + gruv-red: #fb4934; + gruv-orange: #fe8019; + gruv-yellow: #fabd2f; + gruv-green: #b8bb26; + gruv-blue: #83a598; + gruv-aqua: #8ec07c; + gruv-purple: #d3869b; + gruv-fg: #ebdbb2; + gruv-gray0: #665c54; + gruv-gray1: #7c6f64; + gruv-gray2: #928374; + + background: @gruv-bg-dim; + background-color: @background; + foreground: @gruv-fg; + border-color: @gruv-blue; + separatorcolor: @border-color; + scrollbar-handle: @border-color; + + normal-background: @gruv-bg0; + normal-foreground: @foreground; + alternate-normal-background: @gruv-bg1; + alternate-normal-foreground: @foreground; + selected-normal-background: @gruv-blue; + selected-normal-foreground: @background; + + active-background: @gruv-blue; + active-foreground: @background; + alternate-active-background: @active-background; + alternate-active-foreground: @active-foreground; + selected-active-background: @active-background; + selected-active-foreground: @active-foreground; + + urgent-background: @gruv-red; + urgent-foreground: @background; + alternate-urgent-background: @urgent-background; + alternate-urgent-foreground: @urgent-foreground; + selected-urgent-background: @urgent-background; + selected-urgent-foreground: @urgent-foreground; + + prompt-background: @gruv-blue; + prompt-foreground: @background; +} -- cgit v1.2.3