Rofi configs

This commit is contained in:
Ian Keane 2026-08-01 13:15:36 -04:00
parent 4d88a132c2
commit b18f5056b3
4 changed files with 147 additions and 1 deletions

View file

@ -29,7 +29,8 @@
;; Override link colors - secondary-color (#4F5B66) is too dark as a foreground
(style (str:concat %slot-value%
"a:link { color: #6699CC !important; }"
"a:visited { color: #C594C5 !important; }"))))
"a:visited { color: #C594C5 !important; }"
"h1, h2, h3, h4, h5, h6 { color: #CDD3DE !important; }"))))
;; Default search engine
(define-configuration context-buffer

139
config/rofi/config.rasi Normal file
View file

@ -0,0 +1,139 @@
/* Rofi config - OceanicNext theme */
configuration {
modi: "combi";
combi-modi: "drun,run";
show-icons: false;
terminal: "wezterm";
font: "FiraCode Nerd Font Mono 13";
drun-display-format: "{name}";
}
* {
bg: #1B2B34;
bg-alt: #0F1B22;
bg-sel: #2B3B44;
fg: #CDD3DE;
fg-dim: #4F5B66;
accent: #99C794;
urgent: #EC5F67;
background-color: @bg;
text-color: @fg;
border-color: @accent;
}
window {
background-color: @bg;
border: 1px;
border-color: @accent;
border-radius: 0px;
width: 900px;
height: 600px;
padding: 24px;
}
mainbox {
background-color: @bg;
children: [ inputbar, listview ];
spacing: 6px;
padding: 0px;
}
inputbar {
background-color: @bg-alt;
padding: 8px 10px;
children: [ prompt, entry ];
}
prompt {
background-color: @bg-alt;
text-color: @accent;
margin: 0 6px 0 0;
}
entry {
background-color: @bg-alt;
text-color: @fg;
placeholder: "run...";
placeholder-color: @fg-dim;
}
listview {
background-color: @bg;
lines: 20;
scrollbar: false;
spacing: 2px;
padding: 0px;
}
scrollbar {
handle-width: 0px;
background-color: @bg;
}
element {
background-color: @bg;
text-color: @fg;
padding: 6px 10px;
border-radius: 0px;
}
element normal normal {
background-color: @bg;
text-color: @fg;
}
element normal active {
background-color: @bg;
text-color: @fg;
}
element normal urgent {
background-color: @bg;
text-color: @urgent;
}
element alternate normal {
background-color: @bg;
text-color: @fg;
}
element alternate active {
background-color: @bg;
text-color: @fg;
}
element alternate urgent {
background-color: @bg;
text-color: @urgent;
}
element selected normal {
background-color: @bg-sel;
text-color: @fg-dim;
}
element selected active {
background-color: @bg-sel;
text-color: @fg-dim;
}
element selected urgent {
background-color: @bg-sel;
text-color: @urgent;
}
element-text {
background-color: transparent;
text-color: @fg;
}
element selected element-text {
text-color: @accent;
}
textbox {
background-color: @bg;
text-color: @fg;
}

View file

@ -2,4 +2,8 @@
[ -f ~/.profile ] && . ~/.profile
# Create /run/user/$UID if not present (no systemd on Slackware)
mkdir -p /run/user/$(id -u)
chmod 700 /run/user/$(id -u)
exec stumpwm