rofi size adjustments, add icons

This commit is contained in:
Noah Masur 2022-05-07 09:56:16 -04:00
parent 6b14485632
commit 7dece0be25

View File

@ -23,7 +23,6 @@
foreground-color = mkLiteral config.gui.colorscheme.base07; foreground-color = mkLiteral config.gui.colorscheme.base07;
text-color = mkLiteral config.gui.colorscheme.base07; text-color = mkLiteral config.gui.colorscheme.base07;
border-color = mkLiteral config.gui.colorscheme.base04; border-color = mkLiteral config.gui.colorscheme.base04;
width = 512;
}; };
# Holds the entire window # Holds the entire window
@ -34,9 +33,7 @@
border = mkLiteral "4px"; border = mkLiteral "4px";
border-color = mkLiteral config.gui.colorscheme.base04; border-color = mkLiteral config.gui.colorscheme.base04;
border-radius = mkLiteral "4px"; border-radius = mkLiteral "4px";
width = mkLiteral "600px"; width = mkLiteral "850px";
x-offset = 10;
y-offset = 40;
padding = mkLiteral "15px"; padding = mkLiteral "15px";
}; };
@ -85,7 +82,7 @@
background-color = mkLiteral config.gui.colorscheme.base00; background-color = mkLiteral config.gui.colorscheme.base00;
padding = mkLiteral "0px"; padding = mkLiteral "0px";
columns = 1; columns = 1;
lines = 8; lines = 12;
spacing = "5px"; spacing = "5px";
cycle = true; cycle = true;
dynamic = true; dynamic = true;
@ -119,8 +116,9 @@
# Not sure how to get icons # Not sure how to get icons
"#element-icon" = { "#element-icon" = {
size = mkLiteral "64px"; size = mkLiteral "18px";
border = mkLiteral "0px"; border = mkLiteral "0px";
padding = mkLiteral "2px 5px 2px 2px";
background-color = mkLiteral config.gui.colorscheme.base00; background-color = mkLiteral config.gui.colorscheme.base00;
}; };
"#element-icon.selected" = { "#element-icon.selected" = {
@ -130,8 +128,11 @@
}; };
xoffset = 0; xoffset = 0;
yoffset = 0; yoffset = -20;
extraConfig = { kb-cancel = "Escape,Super+space"; }; extraConfig = {
show-icons = true;
kb-cancel = "Escape,Super+space";
};
}; };
gui.launcherCommand = "${pkgs.rofi}/bin/rofi -show run"; gui.launcherCommand = "${pkgs.rofi}/bin/rofi -show run";