Skip to content

Commit

Permalink
Add rofi config
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffmhubbard committed Feb 26, 2022
1 parent 6895f52 commit 1dd1dd0
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/.config/rofi/config.rasi
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
configuration {
modi: "drun,run,window";
terminal: "rofi-sensible-terminal";
show-icons: true;
sort: true;
fixed-num-lines: false;
click-to-exit: true;
yoffset: -120;

display-drun: "Start >";
display-run: "Run >";
display-window: "Focus >";
display-ssh: "Connect >";
display-filebrowser: "Browse >";

filebrowser {
directory: "~/";
sorting-method: "name";
directories-first: true;
}

timeout {
delay: 10;
action: "kb-cancel";
}
}

@theme "awesome"
62 changes: 62 additions & 0 deletions src/.config/rofi/themes/awesome.rasi
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
* {
fg: #d4d4d4ff;
bg: #3c3c3cff;
focus: #729fcfff;
background-color: @bg;
text-color: @fg;
margin: 0;
padding: 0;
spacing: 0;
}

window {
width: 320px;
font: "Bitstream Vera Sans 10.0";
border-radius: 2;
}

mainbox {
children: [inputbar, listview];
}

inputbar {
children: [prompt, entry];
}

entry {
background-color: inherit;
padding: 4px 0px;
}

prompt {
background-color: inherit;
padding: 4px;
}

listview {
lines: 8;
}

element {
children: [element-icon, element-text];
}

element-icon {
padding: 4px 4px;
}

element-icon selected {
padding: 10px 10px;
background-color: @focus;
}

element-text {
padding: 4px 0;
text-color: inherit;
}

element-text selected {
text-color: @bg;
background-color: @focus;
}

0 comments on commit 1dd1dd0

Please sign in to comment.