Skip to content

Commit

Permalink
rofi: Switch to non-Xresources config
Browse files Browse the repository at this point in the history
This currently does not yet migrate the theme.
  • Loading branch information
TLATER committed Dec 8, 2021
1 parent 596c66f commit 7a152b8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dotfiles/Xresources
Expand Up @@ -42,11 +42,3 @@ XTerm*color12: #8cf3ff
XTerm*color13: #6c71c4
XTerm*color14: cyan
XTerm*color15: #fdf6e3

rofi.color-normal: #0f0f0f, #99d1ce, #0f0f0f, #091f2e, #268bd2
rofi.color-window: #0f0f0f, #0f0f0f
rofi.font: mono 11
rofi.modi: drun
rofi.show-icons: true
rofi.drun-display-format: {name}
rofi.terminal: alacritty
11 changes: 11 additions & 0 deletions nixpkgs/configurations/graphical-programs/default.nix
Expand Up @@ -13,6 +13,17 @@
local.cap
];

programs.rofi = {
enable = true;
font = "mono 11";
terminal = "${pkgs.alacritty}";
extraConfig = {
modi = "drun";
drun-display-format = "{name}";
show-icons = true;
};
};

xdg.configFile = {
"alacritty/alacritty.yml".source =
"${dotroot}/dotfiles/alacritty/alacritty.yml";
Expand Down

0 comments on commit 7a152b8

Please sign in to comment.