diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..a6564ef --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,19 @@ +configuration { + matching: "fuzzy"; + sort: true; + sorting-method: "fzf"; + window-format: "{t}"; + display-window: ""; + display-combi: ""; + + timeout { + action: "kb-cancel"; + delay: 0; + } + filebrowser { + directories-first: true; + sorting-method: "name"; + } +} + +@theme "squared-nord" diff --git a/.config/rofi/squared-nord.rasi b/.config/rofi/squared-nord.rasi new file mode 100644 index 0000000..a195a6b --- /dev/null +++ b/.config/rofi/squared-nord.rasi @@ -0,0 +1,104 @@ +/******************************************************************************* + * ROFI SQUARED THEME USING THE NORD PALETTE + * User : LR-Tech + * Theme Repo : https://github.com/lr-tech/rofi-themes-collection + *******************************************************************************/ + +* { + font: "FiraCode Nerd Font Medium 12"; + + bg0: #2E3440; + bg1: #3B4252; + fg0: #D8DEE9; + + accent-color: #88C0D0; + urgent-color: #EBCB8B; + + background-color: transparent; + text-color: @fg0; + + margin: 0; + padding: 0; + spacing: 0; +} + +entry { + cursor: pointer; +} + +window { + location: center; + width: 480; + + background-color: @bg0; +} + +inputbar { + spacing: 8px; + padding: 8px; + + background-color: @bg1; + children: [prompt, entry]; +} + +prompt, entry, element-icon, element-text { + vertical-align: 0.5; +} + +prompt { + text-color: @accent-color; +} + +textbox { + padding: 8px; + background-color: @bg1; +} + +listview { + padding: 4px 0; + lines: 8; + columns: 1; + + fixed-height: false; +} + +element { + padding: 8px; + spacing: 8px; +} + +element normal normal { + text-color: @fg0; +} + +element normal urgent { + text-color: @urgent-color; +} + +element normal active { + text-color: @accent-color; +} + +element alternate active { + text-color: @accent-color; +} + +element selected { + text-color: @bg0; +} + +element selected normal, element selected active { + background-color: @accent-color; +} + +element selected urgent { + background-color: @urgent-color; +} + +element-icon { + size: 0.8em; +} + +element-text { + text-color: inherit; +}