From 159d16d4bd83caabc102d9334d53202afeb0356a Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Sun, 31 Aug 2025 15:05:57 +0200 Subject: [PATCH] Added Rofi configuration --- rofi/.config/rofi/config.rasi | 20 +++ .../rofi/themes/catppuccin-frappe.rasi | 29 +++ .../.config/rofi/themes/catppuccin-latte.rasi | 29 +++ .../rofi/themes/catppuccin-lavrent-mocha.rasi | 114 ++++++++++++ .../rofi/themes/catppuccin-macchiato.rasi | 29 +++ .../.config/rofi/themes/catppuccin-mocha.rasi | 29 +++ rofi/.config/rofi/themes/catppuccin.rasi | 169 ++++++++++++++++++ 7 files changed, 419 insertions(+) create mode 100644 rofi/.config/rofi/config.rasi create mode 100644 rofi/.config/rofi/themes/catppuccin-frappe.rasi create mode 100644 rofi/.config/rofi/themes/catppuccin-latte.rasi create mode 100644 rofi/.config/rofi/themes/catppuccin-lavrent-mocha.rasi create mode 100644 rofi/.config/rofi/themes/catppuccin-macchiato.rasi create mode 100644 rofi/.config/rofi/themes/catppuccin-mocha.rasi create mode 100644 rofi/.config/rofi/themes/catppuccin.rasi diff --git a/rofi/.config/rofi/config.rasi b/rofi/.config/rofi/config.rasi new file mode 100644 index 0000000..5e2a4b4 --- /dev/null +++ b/rofi/.config/rofi/config.rasi @@ -0,0 +1,20 @@ +@theme "catppuccin" + +configuration { + modi: "drun,window,filebrowser,ssh"; + icon-theme: "Papirus"; + show-icons: true; + terminal: "alacritty"; + drun-display-format: "{icon} {name}"; + location: 0; + disable-history: false; + hide-scrollbar: false; + sidebar-mode: true; + display-ssh: "󰣀 ssh:"; + display-run: "󱓞 run:"; + display-drun: "󰣖 drun:"; + display-window: "󱂬 window:"; + display-combi: "󰕘 combi:"; + display-filebrowser: "󰉋 filebrowser:"; +} + diff --git a/rofi/.config/rofi/themes/catppuccin-frappe.rasi b/rofi/.config/rofi/themes/catppuccin-frappe.rasi new file mode 100644 index 0000000..46c9c7c --- /dev/null +++ b/rofi/.config/rofi/themes/catppuccin-frappe.rasi @@ -0,0 +1,29 @@ +* { + rosewater: #f2d5cf; + flamingo: #eebebe; + pink: #f4b8e4; + mauve: #ca9ee6; + red: #e78284; + maroon: #ea999c; + peach: #ef9f76; + yellow: #e5c890; + green: #a6d189; + teal: #81c8be; + sky: #99d1db; + sapphire: #85c1dc; + blue: #8caaee; + lavender: #babbf1; + text: #c6d0f5; + subtext1: #b5bfe2; + subtext0: #a5adce; + overlay2: #949cbb; + overlay1: #838ba7; + overlay0: #737994; + surface2: #626880; + surface1: #51576d; + surface0: #414559; + base: #303446; + mantle: #292c3c; + crust: #232634; +} + diff --git a/rofi/.config/rofi/themes/catppuccin-latte.rasi b/rofi/.config/rofi/themes/catppuccin-latte.rasi new file mode 100644 index 0000000..c8d35f6 --- /dev/null +++ b/rofi/.config/rofi/themes/catppuccin-latte.rasi @@ -0,0 +1,29 @@ +* { + rosewater: #dc8a78; + flamingo: #dd7878; + pink: #ea76cb; + mauve: #8839ef; + red: #d20f39; + maroon: #e64553; + peach: #fe640b; + yellow: #df8e1d; + green: #40a02b; + teal: #179299; + sky: #04a5e5; + sapphire: #209fb5; + blue: #1e66f5; + lavender: #7287fd; + text: #4c4f69; + subtext1: #5c5f77; + subtext0: #6c6f85; + overlay2: #7c7f93; + overlay1: #8c8fa1; + overlay0: #9ca0b0; + surface2: #acb0be; + surface1: #bcc0cc; + surface0: #ccd0da; + base: #eff1f5; + mantle: #e6e9ef; + crust: #dce0e8; +} + diff --git a/rofi/.config/rofi/themes/catppuccin-lavrent-mocha.rasi b/rofi/.config/rofi/themes/catppuccin-lavrent-mocha.rasi new file mode 100644 index 0000000..7c5b99e --- /dev/null +++ b/rofi/.config/rofi/themes/catppuccin-lavrent-mocha.rasi @@ -0,0 +1,114 @@ +/** + * Catppuccin Mocha theme + * Color palette copied from https://catppuccin.com/palette + * https://github.com/hiimsergey/rofi-catppuccin + */ + +* { + base: #1e1e2e; + surface0: #313244; + overlay0: #6c7086; + text: #cdd6f4; + + mauve: #cba6f7; + red: #f38ba8; + peach: #fab387; + green: #a6e3a1; + lavender: #b4befe; + + background-color: @base; +} + +window { + height: 600; + width: 600; + + border: 3; + border-radius: 10; + border-color: @lavender; +} + +mainbox { + spacing: 0; + children: [inputbar, message, listview]; +} + +inputbar { + color: @text; + padding: 14; + background-color: @base; +} + +message { + padding: 10; + background-color: @overlay0; +} + +listview { + padding: 8; + border-radius: 0 0 10 10; + border: 2 2 2 2; + border-color: @base; + background-color: @base; + dynamic: false; +} + +textbox { + text-color: @text; + background-color: inherit; +} + +error-message { + border: 20 20 20 20; +} + +entry, prompt, case-indicator { + text-color: inherit; +} + +prompt { + margin: 0 10 0 0; +} + +element { + padding: 5; + vertical-align: 0.5; + border-radius: 10; + background-color: @surface0; +} + +element.selected.normal { + background-color: @overlay0; +} + +element.alternate.normal { + background-color: inherit; +} + +element.normal.active, element.alternate.active { + background-color: @peach; +} + +element.selected.active { + background-color: @green; +} + +element.normal.urgent, element.alternate.urgent { + background-color: @red; +} + +element.selected.urgent { + background-color: @mauve; +} + +element-text, element-icon { + size: 40; + margin: 0 10 0 0; + vertical-align: 0.5; + background-color: inherit; + text-color: @text; +} + +element-text .active, element-text .urgent { + text-color: @base; +} diff --git a/rofi/.config/rofi/themes/catppuccin-macchiato.rasi b/rofi/.config/rofi/themes/catppuccin-macchiato.rasi new file mode 100644 index 0000000..de0d84e --- /dev/null +++ b/rofi/.config/rofi/themes/catppuccin-macchiato.rasi @@ -0,0 +1,29 @@ +* { + rosewater: #f4dbd6; + flamingo: #f0c6c6; + pink: #f5bde6; + mauve: #c6a0f6; + red: #ed8796; + maroon: #ee99a0; + peach: #f5a97f; + yellow: #eed49f; + green: #a6da95; + teal: #8bd5ca; + sky: #91d7e3; + sapphire: #7dc4e4; + blue: #8aadf4; + lavender: #b7bdf8; + text: #cad3f5; + subtext1: #b8c0e0; + subtext0: #a5adcb; + overlay2: #939ab7; + overlay1: #8087a2; + overlay0: #6e738d; + surface2: #5b6078; + surface1: #494d64; + surface0: #363a4f; + base: #24273a; + mantle: #1e2030; + crust: #181926; +} + diff --git a/rofi/.config/rofi/themes/catppuccin-mocha.rasi b/rofi/.config/rofi/themes/catppuccin-mocha.rasi new file mode 100644 index 0000000..c8ea0e1 --- /dev/null +++ b/rofi/.config/rofi/themes/catppuccin-mocha.rasi @@ -0,0 +1,29 @@ +* { + 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/rofi/.config/rofi/themes/catppuccin.rasi b/rofi/.config/rofi/themes/catppuccin.rasi new file mode 100644 index 0000000..d1e6d23 --- /dev/null +++ b/rofi/.config/rofi/themes/catppuccin.rasi @@ -0,0 +1,169 @@ +* { + red: #E38C8Fff; + selected-active-foreground: var(background); + lightfg: #E5B4E2ff; + separatorcolor: var(foreground); + urgent-foreground: var(red); + alternate-urgent-background: var(lightbg); + lightbg: #575268ff; + background-color: transparent; + border-color: var(foreground); + normal-background: var(background); + selected-urgent-background: var(red); + alternate-active-background: var(lightbg); + spacing: 2; + blue: #A4B9EFff; + alternate-normal-foreground: var(foreground); + urgent-background: var(background); + selected-normal-foreground: var(lightbg); + active-foreground: var(blue); + background: #1e1e28ff; + selected-active-background: var(blue); + active-background: var(background); + selected-normal-background: var(lightfg); + alternate-normal-background: var(lightbg); + foreground: #DADAE8ff; + selected-urgent-foreground: var(background); + normal-foreground: var(foreground); + alternate-urgent-foreground: var(red); + alternate-active-foreground: var(blue); +} +element { + padding: 1px ; + cursor: pointer; + spacing: 5px ; + border: 0; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(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: var(background); + border: 1; +} +mainbox { + padding: 0; + border: 0; +} +message { + padding: 1px ; + border-color: var(separatorcolor); + border: 2px dash 0px 0px ; +} +textbox { + text-color: var(foreground); +} +listview { + padding: 2px 0px 0px ; + scrollbar: true; + border-color: var(separatorcolor); + spacing: 2px ; + fixed-height: 0; + border: 2px dash 0px 0px ; +} +scrollbar { + width: 4px ; + padding: 0; + handle-width: 8px ; + border: 0; + handle-color: var(normal-foreground); +} +sidebar { + border-color: var(separatorcolor); + border: 2px dash 0px 0px ; +} +button { + cursor: pointer; + spacing: 0; + text-color: var(normal-foreground); +} +button selected { + background-color: var(selected-normal-background); + text-color: var(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 ; + text-color: var(normal-foreground); + children: [ prompt,textbox-prompt-colon,entry,num-filtered-rows,textbox-num-sep,num-rows,case-indicator ]; +} +case-indicator { + spacing: 0; + text-color: var(normal-foreground); +} +entry { + text-color: var(normal-foreground); + cursor: text; + spacing: 0; + placeholder-color: Gray; + placeholder: "Type to filter"; +} +prompt { + spacing: 0; + text-color: var(normal-foreground); +} +textbox-prompt-colon { + margin: 0px 0.3000em 0.0000em 0.0000em ; + expand: false; + str: ":"; + text-color: inherit; +}