Skip to content

Instantly share code, notes, and snippets.

@x1unix
Last active May 5, 2025 03:21
Show Gist options
  • Save x1unix/82b088d5babb2f38a1778c06723e7ba9 to your computer and use it in GitHub Desktop.
Save x1unix/82b088d5babb2f38a1778c06723e7ba9 to your computer and use it in GitHub Desktop.
Wofi Config
show=drun
width=400
height=400
always_parse_args=true
show_all=false
term=kitty
hide_scroll=true
print_command=true
insensitive=true
prompt=
columns=1
@define-color text #ffffff;
@define-color text-dimmed #5c5c5c;
@define-color surface0 #323232;
@define-color surface1 #222;
@define-color accent #285577;
@define-color accent-border #437091;
@define-color highlight #64bad7;
@define-color highlight-border #64bad7;
* {
/* Install using "pacman -S ttf-zed-mono-nerd" */
font-family: 'ZedMono Nerd Font', monospace;
font-weight: 500;
font-size: 14px;
}
/* Window */
window {
background-color: @surface1;
}
/* Container inside a window */
#outer-box {
border: 2px solid @accent-border;
}
/* Search results container */
#inner-box {
margin: 0px;
padding: 0px;
border: none;
}
#expander-box {
background: @surface0;
}
/* Scroll */
#scroll {
margin: 0px;
border: none;
background-color: @surface1;
}
/* Input */
#input {
padding: 0px 5px;
background: @accent;
border: none;
color: @text;
border-radius: 0;
}
#input image {
border: none;
color: @text;
}
/* Search icon */
#input image.left {
/* '-gtk-icon-size' doesn't have effect for some reason */
-gtk-icon-transform: scale(0.8);
}
/* Text */
#text {
margin: 2px;
border: none;
color: @text;
}
#entry {
background-color: @base;
}
#entry arrow {
border: none;
color: @text;
}
#entry:nth-child(even) {
background: @surface0;
}
/* Selected Entry */
#entry:selected {
background: @highlight;
border: none;
}
#entry:selected #text {
color: @text-dimmed;
}
#entry:selected .activatable #text {
color: @text;
}
#entry:selected arrow {
color: @text-dimmed;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment