From 924ec30e7075ea7a9dbac569a537d876f9146850 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Thu, 4 Apr 2024 17:06:23 +0200 Subject: refactor: move users/sils dir to hm --- hm/rofi/default.nix | 8 +++ hm/rofi/rounded-gray-dark.rasi | 111 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 hm/rofi/default.nix create mode 100644 hm/rofi/rounded-gray-dark.rasi (limited to 'hm/rofi') diff --git a/hm/rofi/default.nix b/hm/rofi/default.nix new file mode 100644 index 0000000..51fb59a --- /dev/null +++ b/hm/rofi/default.nix @@ -0,0 +1,8 @@ +{pkgs, ...}: { + programs.rofi = { + enable = true; + package = pkgs.rofi-wayland; + terminal = "${pkgs.foot}/bin/foot"; + #theme = ./rounded-gray-dark.rasi; + }; +} diff --git a/hm/rofi/rounded-gray-dark.rasi b/hm/rofi/rounded-gray-dark.rasi new file mode 100644 index 0000000..754c53c --- /dev/null +++ b/hm/rofi/rounded-gray-dark.rasi @@ -0,0 +1,111 @@ +/******************************************************************************* + * ROUNDED THEME FOR ROFI + * User : LR-Tech + * Theme Repo : https://github.com/lr-tech/rofi-themes-collection + *******************************************************************************/ + +* { + bg0: #212121F2; + bg1: #2A2A2A; + bg2: #3D3D3D80; + bg3: #616161F2; + fg0: #E6E6E6; + fg1: #FFFFFF; + fg2: #969696; + fg3: #3D3D3D; +} + +/******************************************************************************* + * ROUNDED THEME FOR ROFI + * User : LR-Tech + * Theme Repo : https://github.com/lr-tech/rofi-themes-collection + *******************************************************************************/ + +* { + font: "Roboto 12"; + + background-color: transparent; + text-color: @fg0; + + margin: 0px; + padding: 0px; + spacing: 0px; +} + +window { + location: center; + width: 480; + border-radius: 24px; + + background-color: @bg0; +} + +mainbox { + padding: 12px; +} + +inputbar { + background-color: @bg1; + border-color: @bg3; + + border: 2px; + border-radius: 16px; + + padding: 8px 16px; + spacing: 8px; + children: [ prompt, entry ]; +} + +prompt { + text-color: @fg2; +} + +entry { + placeholder: "Search"; + placeholder-color: @fg3; +} + +message { + margin: 12px 0 0; + border-radius: 16px; + border-color: @bg2; + background-color: @bg2; +} + +textbox { + padding: 8px 24px; +} + +listview { + background-color: transparent; + + margin: 12px 0 0; + lines: 8; + columns: 1; + + fixed-height: false; +} + +element { + padding: 8px 16px; + spacing: 8px; + border-radius: 16px; +} + +element normal active { + text-color: @bg3; +} + +element selected normal, element selected active { + background-color: @bg3; +} + +element-icon { + size: 1em; + vertical-align: 0.5; +} + +element-text { + text-color: inherit; +} + -- cgit 1.4.1