Files
dotfiles-sway/rofi/config.rasi
T

161 lines
4.4 KiB
Plaintext

configuration {
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
scroll-method: 1;
show-icons: true;
sidebar-mode: true;
modi: "drun,internet:~/.config/rofi/rofi-filter internet,dev:~/.config/rofi/rofi-filter dev,games:~/.config/rofi/rofi-filter games,system:~/.config/rofi/rofi-filter system,media:~/.config/rofi/rofi-filter media,office:~/.config/rofi/rofi-filter office,notifications:~/.config/rofi/rofi-filter notifications,clipboard:~/.config/rofi/rofi-filter clipboard,powermenu:~/.config/rofi/rofi-filter powermenu";
display-drun: "ALL";
display-internet: "NET";
display-dev: "DEV";
display-games: "GMS";
display-system: "SYS";
display-office: "DOC";
display-media: "MED";
display-notifications: "NTF";
display-clipboard: "CLP";
display-powermenu: "PWR";
kb-mode-next: "Alt+l,Shift+Right,Control+Tab";
kb-mode-previous: "Alt+h,Shift+Left,Control+ISO_Left_Tab";
kb-row-down: "Down,Control+n,Alt+j";
kb-row-up: "Up,Control+p,Alt+k";
}
* {
rosewater: #f5e0dc;
flamingo: #f2cdcd;
pink: #f5c2e7;
mauve: #cba6f7;
red: #f38ba8;
maroon: #eba0ac;
peach: #fab387;
yellow: #f9e2af;
green: #a6e3a1;
teal: #94e2d5;
sky: #89dceb;
sapphire: #74c7ec;
blue: #89b4fa;
lavender: #b4befe;
text: #cdd6f4;
subtext1: #bac2de;
subtext0: #a6adc8;
overlay2: #9399b2;
overlay1: #7f849c;
overlay0: #6c7086;
surface2: #585b70;
surface1: #45475a;
surface0: #313244;
base: #1e1e2e;
mantle: #181825;
crust: #11111b;
font: "JetBrains Mono 10";
}
window {
background-color: @base;
border-color: @surface0;
location: center;
anchor: center;
width: 660px;
height: 560px;
x-offset: 0px;
y-offset: 0px;
padding: 0px;
border: 1px;
border-radius: 0px;
children: [ sb-mainbox ];
}
sb-mainbox {
orientation: horizontal;
spacing: 0px;
children: [ left-bar-container, vertibox ];
}
left-bar-container {
background-color: @base;
orientation: vertical;
width: 40px;
expand: false;
children: [ mode-switcher ];
}
mode-switcher {
orientation: vertical;
spacing: 0px;
padding: 0px;
}
button {
text-color: @text;
background-color: transparent;
border-color: transparent;
horizontal-align: 0.5;
vertical-align: 0.5;
padding: 8px 0px;
border: 0px 0px 0px 0px;
}
button selected {
text-color: @text;
background-color: @surface0;
border-color: @lavender;
}
vertibox {
background-color: @base;
orientation: vertical;
spacing: 0px;
padding: 0px;
children: [ inputbar, listview ];
}
inputbar {
background-color: transparent;
expand: false;
children: [ entry ];
}
entry {
text-color: @text;
background-color: transparent;
placeholder-color: @subtext0;
padding: 6px;
placeholder: " [search...]";
}
listview {
background-color: transparent;
margin: 0px;
spacing: 0px;
columns: 1;
lines: 10;
border: 0px;
cycle: false;
dynamic: true;
scrollbar: false;
}
element {
background-color: transparent;
padding: 8px;
children: [ element-icon, element-text ];
}
element normal.normal,
element normal.urgent,
element normal.active {
text-color: @text;
background-color: transparent;
}
element alternate.normal,
element alternate.urgent,
element alternate.active {
text-color: @text;
background-color: transparent;
}
element selected.normal,
element selected.urgent,
element selected.active {
text-color: @text;
background-color: @surface0;
border: 0px 0px 0px 0px;
border-color: @lavender;
}
element-icon {
background-color: transparent;
size: 14px;
margin: 0 8px 0 6px;
}
element-text {
text-color: inherit;
background-color: transparent;
}