2019-11-26 14:04:14 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
environment = {
|
|
|
|
systemPackages = with pkgs; [
|
|
|
|
(writeScriptBin "rofi" ''
|
|
|
|
#!${stdenv.shell}
|
2019-12-08 13:44:35 -08:00
|
|
|
exec ${rofi}/bin/rofi -terminal xst -m -1 "$@"
|
2019-11-26 14:04:14 -08:00
|
|
|
'')
|
|
|
|
rofi
|
2019-12-08 13:44:35 -08:00
|
|
|
|
|
|
|
(makeDesktopItem {
|
|
|
|
name = "browsermenu";
|
|
|
|
desktopName = "Open Bookmark in Firefox";
|
|
|
|
icon = "firefox";
|
2019-12-08 14:02:41 -08:00
|
|
|
exec = "rofi-browsermenu";
|
2019-12-08 13:44:35 -08:00
|
|
|
categories = "Network";
|
|
|
|
})
|
2019-11-26 14:04:14 -08:00
|
|
|
];
|
|
|
|
|
|
|
|
# shellAliases = {};
|
|
|
|
};
|
|
|
|
|
|
|
|
home-manager.users.hlissner.xdg.configFile = {
|
|
|
|
# link recursively so other modules can link files in its folder
|
|
|
|
"rofi" = { source = <config/rofi>; recursive = true; };
|
|
|
|
};
|
|
|
|
}
|