diff --git a/homes/modules/de/rofi/ichigo.rasi b/homes/modules/de/rofi/ichigo.rasi new file mode 100644 index 0000000..c2706fd --- /dev/null +++ b/homes/modules/de/rofi/ichigo.rasi @@ -0,0 +1,142 @@ +configuration { + modes: [ combi ]; + combi-modes: [ window, drun, run ]; +} + +@theme "colors" + +window { + background-color: @background; + border-color: @color10; + border-radius: 12px; + border: 2; + padding: 16; + transparency: "real"; + opacity: 90; +} + +mainbox { + background-color: transparent; + opacity: 90; + border: 0; +} + +message { + border: 2px 0px 0px; + border-color: @color14; + padding: 1px; +} + +inputbar { + background-color: transparent; + text-color: @foreground; + spacing: 8; +} +textbox { + background-color: @background; + text-color: @foreground; +} + +prompt { + background-color: transparent; + text-color: @color12; +} + +entry { + placeholder: "~ rawr :3 ~ *pounces on u* <3 ~ >w< ~"; + cursor: pointer; + background-color: transparent; + text-color: @color13; +} + +case-indicator { + background-color: transparent; + text-color: @color12; +} + +listview { + fixed-height: 0; + border: 2px 0px 0px; + border-color: transparent; + background-color: transparent; + spacing: 2px; + scrollbar: true; + padding: 2px 0px 0px; +} + +element { + orientation: horizontal; + spacing: 8; + border: 0; + border-radius: 4; +} + +element-icon { + size: 24; +} + +element-text { + vertical-align: 0.5; +} + +element.normal.normal { + background-color: transparent; + text-color: @foreground; +} +element.alternate.normal { + background-color: transparent; + text-color: @color06; +} +element.selected.normal { + background-color: @color13; + text-color: @background; +} + +element.normal.urgent { + background-color: @color14; + text-color: @background; +} +element.alternate.urgent { + background-color: transparent; + text-color: @color14; +} +element.selected.urgent { + background-color: @color13; + text-color: @background; +} + +element.normal.active { + background-color: @color12; + text-color: @background; +} +element.alternate.active { + background-color: @background; + text-color: @color14; +} +element.selected.active { + background-color: @color13; + text-color: @background; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} + +button.selected { + background-color: transparent; + text-color: @foreground; +} + +scrollbar { + background-color: transparent; + handle-color: @color12; + width: 4px; + border: 0; + handle-width: 8px; + padding: 0; +} +mode-switcher { + border: 2px 0px 0px ; + border-color: @color14; +} diff --git a/homes/modules/de/rofi/rofi.nix b/homes/modules/de/rofi/rofi.nix index 33d75fa..fe952eb 100644 --- a/homes/modules/de/rofi/rofi.nix +++ b/homes/modules/de/rofi/rofi.nix @@ -7,7 +7,7 @@ in enable = true; font = "DepartureMono Nerd Font Mono 10"; - theme = ./theme.rasi; + theme = ./ichigo.rasi; extraConfig = { #kb-row-up = "Up,Control+k"; diff --git a/homes/modules/de/rofi/theme.rasi b/homes/modules/de/rofi/theme.rasi deleted file mode 100644 index e69de29..0000000 diff --git a/homes/modules/themeing/wallust/templates/rofi-template.rasi b/homes/modules/themeing/wallust/templates/rofi-template.rasi new file mode 100644 index 0000000..d126a4d --- /dev/null +++ b/homes/modules/themeing/wallust/templates/rofi-template.rasi @@ -0,0 +1,20 @@ +* { + background: rgba({{ background | rgb }},0.9); + foreground: rgba({{ foreground | rgb }},0.9); + color00: rgba({{ color0 | rgb }},0.9); + color01: rgba({{ color1 | rgb }},0.9); + color02: rgba({{ color2 | rgb }},0.9); + color03: rgba({{ color3 | rgb }},0.9); + color04: rgba({{ color4 | rgb }},0.9); + color05: rgba({{ color5 | rgb }},0.9); + color06: rgba({{ color6 | rgb }},0.9); + color07: rgba({{ color7 | rgb }},0.9); + color08: rgba({{ color8 | rgb }},0.9); + color09: rgba({{ color9 | rgb }},0.9); + color10: rgba({{ color10 | rgb }},0.9); + color11: rgba({{ color11 | rgb }},0.9); + color12: rgba({{ color12 | rgb }},0.9); + color13: rgba({{ color13 | rgb }},0.9); + color14: rgba({{ color14 | rgb }},0.9); + color15: rgba({{ color15 | rgb }},0.9); +} diff --git a/homes/modules/themeing/wallust/wallust.toml b/homes/modules/themeing/wallust/wallust.toml index efff412..ff82190 100644 --- a/homes/modules/themeing/wallust/wallust.toml +++ b/homes/modules/themeing/wallust/wallust.toml @@ -22,6 +22,9 @@ hyprland.target = "~/.config/hypr/colors.conf" waybar.template = "waybar-template.css" waybar.target = "~/.config/waybar/colors.css" +rofi.template = "rofi-template.rasi" +rofi.target = "~/.config/rofi/colors.rasi" + neovim.template = "neovim-template" neovim.target = "~/.cache/nvim/neovim-colors" diff --git a/homes/modules/wm/hyprland/hyprland.nix b/homes/modules/wm/hyprland/hyprland.nix index 0d9764c..48c670e 100644 --- a/homes/modules/wm/hyprland/hyprland.nix +++ b/homes/modules/wm/hyprland/hyprland.nix @@ -283,12 +283,15 @@ in ]; layerrule = [ - #"blur, rofi" - #"ignorezero, rofi" #"blur, aurorashell" #"ignorealpha 0.7, aurorashell" + "blur on, match:namespace waybar" "ignore_alpha 0, match:namespace waybar" + + "blur on, match:namespace rofi" + "xray on, match:namespace rofi" + "ignore_alpha 0, match:namespace rofi" ]; env = [