Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use whiskers #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion basic/.local/share/rofi/themes/catppuccin-frappe.rasi
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
vertical-align: 0.5;
horizontal-align: 0.5;
}

Expand Down
2 changes: 1 addition & 1 deletion basic/.local/share/rofi/themes/catppuccin-latte.rasi
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
vertical-align: 0.5;
horizontal-align: 0.5;
}

Expand Down
2 changes: 1 addition & 1 deletion basic/.local/share/rofi/themes/catppuccin-macchiato.rasi
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
vertical-align: 0.5;
horizontal-align: 0.5;
}

Expand Down
2 changes: 1 addition & 1 deletion basic/.local/share/rofi/themes/catppuccin-mocha.rasi
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
vertical-align: 0.5;
horizontal-align: 0.5;
}

Expand Down
5 changes: 5 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
_default:
@just --list

build:
whiskers rofi.tera
118 changes: 118 additions & 0 deletions rofi.tera
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
---
whiskers:
version: 2.4.0
matrix:
- flavor
filename: "basic/.local/share/rofi/themes/catppuccin-{{ flavor.identifier }}.rasi"
---
* {
bg-col: #{{ base.hex }};
bg-col-light: #{{ base.hex }};
border-col: #{{ base.hex }};
selected-col: #{{ base.hex }};
blue: #{{ blue.hex }};
fg-col: #{{ text.hex }};
fg-col2: #{{ red.hex }};
grey: #{{ overlay0.hex }};

width: 600;
font: "JetBrainsMono Nerd Font 14";
}

element-text, element-icon , mode-switcher {
background-color: inherit;
text-color: inherit;
}

window {
height: 360px;
border: 3px;
border-color: @border-col;
background-color: @bg-col;
}

mainbox {
background-color: @bg-col;
}

inputbar {
children: [prompt,entry];
background-color: @bg-col;
border-radius: 5px;
padding: 2px;
}

prompt {
background-color: @blue;
padding: 6px;
text-color: @bg-col;
border-radius: 3px;
margin: 20px 0px 0px 20px;
}

textbox-prompt-colon {
expand: false;
str: ":";
}

entry {
padding: 6px;
margin: 20px 0px 0px 10px;
text-color: @fg-col;
background-color: @bg-col;
}

listview {
border: 0px 0px 0px;
padding: 6px 0px 0px;
margin: 10px 0px 0px 20px;
columns: 2;
lines: 5;
background-color: @bg-col;
}

element {
padding: 5px;
background-color: @bg-col;
text-color: @fg-col ;
}

element-icon {
size: 25px;
}

element selected {
background-color: @selected-col ;
text-color: @fg-col2 ;
}

mode-switcher {
spacing: 0;
}

button {
padding: 10px;
background-color: @bg-col-light;
text-color: @grey;
vertical-align: 0.5;
horizontal-align: 0.5;
}

button selected {
background-color: @bg-col;
text-color: @blue;
}

message {
background-color: @bg-col-light;
margin: 2px;
padding: 2px;
border-radius: 5px;
}

textbox {
padding: 6px;
margin: 20px 0px 0px 20px;
text-color: @blue;
background-color: @bg-col-light;
}